Bug 445955 - Configuring an HP printer appears to work but doesn't print
Summary: Configuring an HP printer appears to work but doesn't print
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: PackageKit
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Robin Norwood
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-10 12:48 UTC by Leslie Brooks
Modified: 2008-06-03 14:49 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-06-03 14:49:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Printer debug log (6.20 KB, text/plain)
2008-05-10 12:48 UTC, Leslie Brooks
no flags Details

Description Leslie Brooks 2008-05-10 12:48:23 UTC
Description of problem:
 I installed Fedora 9 Preview and ran system-config-printer; it found my HP6800
printer on the network and installed the driver but:

 1) did not install HPIJS.  

Attempting to print generated a troubleshooting dialog that quickly diagnosed
the problem and gave me an 'Install' option.  However, 

 2) clicking 'Install' gave no feedback at all that HPIJS had been installed or
had failed to install.  I think it failed because 'rpm -qa | grep -i hpijs'
returns nothing and because PackageKit says:
   "Null
    Waiting for other tasks to complete: HPIJS
    Waiting for other tasks to complete"

At the 'Install' step I believe I:
 a) Clicked 'Install'
 b) Clicked 'Forward'
 c) Clicked 'Back'
 d) Clicked 'Install' again
 e) Finally clicked 'Forward' all the way through to the end.

Version-Release number of selected component (if applicable):
0.7.82.2

How reproducible:
 I will delete the printer, reboot, try it again, and update this bug report.

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:
 Installing the printer should automatically install the required packages (in
this case HPIJS) along with the driver.  I really thought that it did install
HPIJS in a previous version; maybe I am wrong.

 In addition, clicking 'Install' should provide some feedback for success or
failure.

Additional info:

Comment 1 Leslie Brooks 2008-05-10 12:48:24 UTC
Created attachment 305020 [details]
Printer debug log

Comment 2 Leslie Brooks 2008-05-11 01:35:58 UTC
I rebooted and tried again and it worked fine.  I tried every abnormal
combination I could think of at the 'Install' button, but every time I clicked
it, regardless of what I did before or after, it prompted me for the root
password (which it did NOT do yesterday).

So, perhaps this bug really belongs to Packagekit, and should be marked
'Intermittent' or 'Rare'.

Comment 3 Tim Waugh 2008-05-12 09:01:26 UTC
system-config-printer just runs system-install-packages to install drivers, and
that's now part of PackageKit.  Reassigning.

Comment 4 Robin Norwood 2008-05-12 16:54:02 UTC
One possibility is that if you were doing something else with the packaging
system (like running yum from the commandline, or something else to lock yum or
the rpmdb), PackageKit may have been waiting until it could get a lock.  Of
course we should be handling that case smoothly, but there might be some cases
where we aren't.

Comment 5 Leslie Brooks 2008-05-12 23:00:15 UTC
I am quite sure that I wasn't running yum; I know that yum and PackageKit
conflict and I would have known what was causing the problem.  Also, that system
has Beta installed on it and I am planning to install Preview over the top of
it; I wouldn't bother installing or updating any programs on it.

Comment 6 Bug Zapper 2008-05-14 10:57:39 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 7 Richard Hughes 2008-05-15 07:20:26 UTC
system-config-printer runs as the root user, right? If so,
http://fedoraproject.org/wiki/PackageKitFaq might be coming into effect.

Comment 8 Tim Waugh 2008-05-15 07:42:08 UTC
(In reply to comment #7)
> system-config-printer runs as the root user, right?

No, it doesn't.

Comment 9 Richard Hughes 2008-05-28 09:28:50 UTC
Leslie, did you try to install the printer initially when logged in as the root
user?

Comment 10 Leslie Brooks 2008-05-31 14:09:10 UTC
I doubt it, but I can't categorically deny it.  My usual procedure is to login
as me and then su to root if I need to do some terminal stuff with full rights,
so it is very, very rare that I would login as root at the login screen. 
However, it isn't impossible, and it is somewhat more possible in the context of
configuring a new system.

Comment 11 Richard Hughes 2008-06-03 13:37:51 UTC
Leslie, can you reproduce this? I can't - my HP printer installed just fine when
logged in non-root. Could you verify it works by manually removing the packages,
and replugging the printer. Thanks.

Comment 12 Leslie Brooks 2008-06-03 14:19:33 UTC
As noted above, I wasn't able to reproduce it; it should be marked
'Intermittent' or 'Rare'.

I will have an opportunity to try it again soon and will add more notes if it
happens again.

Comment 13 Richard Hughes 2008-06-03 14:49:33 UTC
Okay, if you can reproduce then please re-open, thanks.


Note You need to log in before you can comment on or make changes to this bug.