| Summary: | Automatic package installation problem (tries to install older package) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | dario <dario.soto> |
| Component: | hplip | Assignee: | Tim Waugh <twaugh> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | jpopelka, twaugh |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-10-21 15:02:10 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
dario
2011-10-04 23:45:52 UTC
priorty is not high... What does this command say?: rpm -qa | egrep '^libsane|hp(lip|ijs)' I also need to see the output of 'lpinfo -l -v' (as root) when you have the printer plugged in and powered on. Thanks. $ rpm -qa | egrep '^libsane|hp(lip|ijs)'
hplip-libs-3.11.7-2.fc15.x86_64
hplip-common-3.11.7-2.fc15.x86_64
libsane-hpaio-3.11.7-2.fc15.x86_64
# lpinfo -l -v
Device: uri = scsi
class = direct
info = SCSI Printer
make-and-model = Unknown
device-id =
location =
Device: uri = socket
class = network
info = AppSocket/HP JetDirect
make-and-model = Unknown
device-id =
location =
Device: uri = lpd
class = network
info = LPD/LPR Host or Printer
make-and-model = Unknown
device-id =
location =
Device: uri = ipp
class = network
info = Internet Printing Protocol (ipp)
make-and-model = Unknown
device-id =
location =
Device: uri = http
class = network
info = Internet Printing Protocol (http)
make-and-model = Unknown
device-id =
location =
Device: uri = usb://HP/PSC%201600%20series?serial=MY57PF41B4L0
class = direct
info = HP PSC 1600 series
make-and-model = HP PSC 1600 series
device-id = MFG:HP;MDL:PSC 1600 series;CMD:MLC,PCL,PML,DW-PCL,DESKJET,DYN;1284.4DL:4d,4e,1;CLS:PRINTER;DES:5740;SN:MY57PF41B4L0;S:038000C484001021002c1780062c288004e;J: ;Z:0102,0503f169015909,0600;
location =
Device: uri = https
class = network
info = Internet Printing Protocol (https)
make-and-model = Unknown
device-id =
location =
Device: uri = serial:/dev/ttyS0?baud=115200
class = serial
info = Serial Port #1
make-and-model = Unknown
device-id =
location =
done...
That Device ID isn't correct in hpcups.drv/hpijs.drv, so I've filed bug #743821 to track that. However, that doesn't seem to be the issue here. In fact, it's surprising that it was trying to install hpijs at all. Is the printer working now that you have hpijs-3.11.7-2.fc15 installed? Did you have to perform any extra steps for that? it never installs, so I'm kinda waiting for a solution here... because after the message is displayed the printer fails to be installed, the fist time I installed it I think i did it before updating but i don't remember cos I redid the installation of F15 cos i needed a windows for my wife's work... Oh, sorry, I'd missed that it was asking for an *older* version of the package. I see what's happened now. In the older package, the "hpijs" driver had the correct Device ID, but the "hpcups" driver had one that was incorrect. Normally it's the other way around, which is why the build process copies the IDs from hpcups to hpijs, overwriting what was there. So in this case, the older package is the one that matches, and the newer one no longer does. When the package install fails, the part of GNOME that deals with adding the printer in Fedora 15 finds no match and so fails. In Fedora 16 this should be a lot better because it utilises smart matching code in system-config-printer and so should find the right driver. Speaking of which: if you use system-config-printer to try to install the printer, does that work better? same result it asks to install the old file After that though, are you able to configure the printer anyway using system-config-printer? no It works fine here on my F-15 system. After closing the dialog saying the package installation failed, the "Searching for drivers" dialog is visible for a little while; then I get the Installable Options screen and can click Forward and then Apply. What happens when you try it? nop it quits... Straight away? (Please describe as much as you can.) Could you please run 'system-config-printer --debug' from the command line, try adding the queue again, and paste the output here? Please also describe what you saw and how you interacted with the application. [oirad@oirad ~]$ system-config-printer --debug
+<NewPrinterGUI object at 0x181ecd0 (newprinter+NewPrinterGUI at 0x18d5a80)>
Connected as user oirad
+<PrinterPropertiesDialog object at 0x182a230 (printerproperties+PrinterPropertiesDialog at 0x1b0ee40)>
<authconn.Connection instance at 0x181a950>: Operation += 'obtaining queue details'
Authentication pass: 1
Authentication: password callback set
Authentication pass: 1
Authentication: password callback set
Authentication pass: 1
Authentication: password callback set
<authconn.Connection instance at 0x181a950>: Operation ended
+<ppdcache.PPDCache instance at 0x182f998>
refresh
Created subscription 11, events=['printer-added', 'printer-deleted', 'printer-state-changed']
Next notifications fetch in 1s
update_jobs
get_notifications
update_jobs
Next notifications fetch in 60s
Connected as user oirad
Authentication pass: 1
Authentication: password callback set
Authentication pass: 1
Authentication: password callback set
Examining firewall
Firewall data obtained
Using cached firewall data
Using cached firewall data
Asking for permission to adjust firewall:
The firewall may need adjusting in order to detect network printers. Adjust the firewall now?
- Allow all incoming IPP Browse packets
- Allow all incoming mDNS traffic
Fetching devices after firewall dialog response
Using polkit-1 connection class
+<asyncipp._IPPAuthOperation instance at 0x1832518>
New IPPConnection
+<_IPPConnectionThread(Thread-1, initial daemon)>
+<asyncipp.IPPAuthConnection instance at 0x18322d8>
Awaiting further instructions
DevicesGet new API: True
+<asyncpk1.PK1Connection instance at 0x18324d0>
+<asyncconn.Connection object at 0x1830850>
fetchDevices
+<asyncconn._AsyncMethodCall instance at 0x1832d40>
Converted ()/{'exclude_schemes': ['dnssd', 'snmp', 'bluetooth'], 'reply_handler': <bound method _AsyncMethodCall.reply_handler of <asyncconn._AsyncMethodCall instance at 0x1832d40>>, 'error_handler': <bound method _AsyncMethodCall.error_handler of <asyncconn._AsyncMethodCall instance at 0x1832d40>>, 'auth_handler': <bound method _AsyncMethodCall.auth_handler of <asyncconn._AsyncMethodCall instance at 0x1832d40>>} to (0, 0, [], ['dnssd', 'snmp', 'bluetooth'])
+_PK1AsyncMethodCall: <asyncpk1._PK1AsyncMethodCall instance at 0x1832d88>
Calling PK method DevicesGet
DESTROY: <asyncconn._AsyncMethodCall instance at 0x1832d40>
fetchDevices
+<asyncconn._AsyncMethodCall instance at 0x1cb7b90>
Converted ()/{'reply_handler': <bound method _AsyncMethodCall.reply_handler of <asyncconn._AsyncMethodCall instance at 0x1cb7b90>>, 'include_schemes': ['dnssd', 'snmp', 'bluetooth'], 'auth_handler': <bound method _AsyncMethodCall.auth_handler of <asyncconn._AsyncMethodCall instance at 0x1cb7b90>>, 'error_handler': <bound method _AsyncMethodCall.error_handler of <asyncconn._AsyncMethodCall instance at 0x1cb7b90>>} to (0, 0, ['dnssd', 'snmp', 'bluetooth'], [])
+_PK1AsyncMethodCall: <asyncpk1._PK1AsyncMethodCall instance at 0x1cb7c20>
Calling PK method DevicesGet
DESTROY: <asyncpk1._PK1AsyncMethodCall instance at 0x1832d88>
-<asyncconn._AsyncMethodCall instance at 0x1832d40>
nextNPTab: need PPDs loaded
+<PPDsLoader object at 0x1cac500 (ppdsloader+PPDsLoader at 0x1c1fb40)>
Asking PackageKit to install drivers
Calling InstallPrinterDrivers (41943268L, ['MFG:HP;MDL:PSC 1600 series;'], 'hide-finished')
D-Bus signal from CUPS... calling update
Next notifications fetch in 200ms (update called)
get_notifications
1 printer-added Printer 'PSC-1600-series' added by directory services.
{'notify-charset': u'utf-8',
'notify-natural-language': u'en-us',
'notify-printer-uri': u'ipp://oirad/printers/PSC-1600-series',
'notify-sequence-number': 1,
'notify-subscribed-event': u'printer-added',
'notify-subscription-id': 11,
'notify-text': u"Printer 'PSC-1600-series' added by directory services.",
'printer-is-accepting-jobs': False,
'printer-name': u'PSC-1600-series',
'printer-state': 5,
'printer-state-reasons': [u'paused'],
'printer-up-time': 1319156386}
Deferred populateList by 200ms
update_jobs
<authconn.Connection instance at 0x181a950>: Operation += 'obtaining queue details'
Authentication pass: 1
Authentication: password callback set
Authentication pass: 1
Authentication: password callback set
Authentication pass: 1
Authentication: password callback set
<authconn.Connection instance at 0x181a950>: Operation ended
DESTROY: <asyncconn._AsyncMethodCall instance at 0x1cb7b90>
DESTROY: <asyncconn.Connection object at 0x1830850>
DESTROY: <asyncpk1.PK1Connection instance at 0x18324d0>
DESTROY: <asyncipp.IPPAuthConnection instance at 0x18322d8>
DESTROY: <asyncpk1._PK1AsyncMethodCall instance at 0x1cb7c20>
-<asyncconn._AsyncMethodCall instance at 0x1cb7b90>
Putting None on the task queue
Next task: None
Thread exiting
-<asyncipp._IPPAuthOperation instance at 0x1832518>
-<asyncconn.Connection object at 0x1830850>
-<asyncpk1.PK1Connection instance at 0x18324d0>
-<asyncipp.IPPAuthConnection instance at 0x18322d8>
-<_IPPConnectionThread(Thread-1, stopped daemon 140090986182400)>
ERROR:dbus.proxies:Introspect error on :1.96:/org/freedesktop/PackageKit: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
DESTROY: <PPDsLoader object at 0x1cac500 (ppdsloader+PPDsLoader at 0x1c1fb40)>
nextNPTab: need PPDs loaded
+<PPDsLoader object at 0x1cac5f0 (ppdsloader+PPDsLoader at 0x1c97560)>
Asking PackageKit to install drivers
Calling InstallPrinterDrivers (41943268L, ['MFG:HP;MDL:PSC 1600 series;'], 'hide-finished')
ERROR:dbus.proxies:Introspect error on :1.96:/org/freedesktop/PackageKit: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
brb on how i interacted later baby calls!
it shows a windows with an add button I pressed it and then the regular add a printer dialog, where i selected from a database, it took hours to show the list of available printers and mine was not there...
finally this morning I pressed the search and entered the model HP PSC 1600 series
the search button got disabled and I waited while on the command line I get this
Asking CUPS for PPDs
Using polkit-1 connection class
+<asyncipp._IPPAuthOperation instance at 0x1cb7b90>
New IPPConnection
+<_IPPConnectionThread(Thread-2, initial daemon)>
+<asyncipp.IPPAuthConnection instance at 0x18322d8>
+<asyncpk1.PK1Connection instance at 0x18324d0>
+<asyncconn.Connection object at 0x1cab790>
Awaiting further instructions
+<asyncconn._AsyncMethodCall instance at 0x1832368>
+_PK1AsyncMethodCall: <asyncpk1._PK1AsyncMethodCall instance at 0x1cbd170>
+<asyncipp._IPPAuthOperation instance at 0x1cbd0e0>
Next task: (<method 'getPPDs2' of 'cups.Connection' objects>, (), {}, <bound method _PK1AsyncMethodCall._ipp_reply_handler of <asyncpk1._PK1AsyncMethodCall instance at 0x1cbd170>>, <bound method _IPPAuthOperation.error_handler of <asyncipp._IPPAuthOperation instance at 0x1cbd0e0>>, <bound method _IPPAuthOperation.auth_handler of <asyncipp._IPPAuthOperation instance at 0x1cbd0e0>>)
-<asyncipp._IPPAuthOperation instance at 0x1cb7b90>
Call <method 'getPPDs2' of 'cups.Connection' objects>
-_PK1AsyncMethodCall: <asyncpk1._PK1AsyncMethodCall instance at 0x1832d88>
-_PK1AsyncMethodCall: <asyncpk1._PK1AsyncMethodCall instance at 0x1cb7c20>
-<PPDsLoader object at 0x1cac500 (ppdsloader+PPDsLoader at 0x1c1fb40)>
...success
Awaiting further instructions
DESTROY: <asyncconn._AsyncMethodCall instance at 0x1832368>
HP PSC 1600 series
Trying make/model names
init_makes: 0.173s
mfgl: hp
mdll: psc 1600 series
make: HP
re-split mdll: psc 1600
Trying best match
PSC 950xi <= PSC 1600 <= PSC 2110
PSC 950xi: match length 4
Searching for model ID '1600', '%d' % 1600
Ignoring 0 of 4 digits, trying 1600
Ignoring 1 of 4 digits, trying 1600
Ignoring 2 of 4 digits, trying 1600
Ignoring 3 of 4 digits, trying 1000
Checking CMD field
Trying best match
text-only <= PCL 3 <= PCL 4
PCL 4: match length 4
Trying best match
PCL 6/PCL XL LF <= PCL Laser <= PCL Laser
PCL 6/PCL XL LF: match length 4
PCL Laser: match length 9
generic: drv:///sample.drv/generpcl.ppd
No ID match for device usb://HP/PSC%201600%20series?serial=MY57PF41B4L0:
MFG:HP;MDL:PSC 1600 series;CMD:MLC,PCL,PML,DW-PCL,DESKJET,DYN;DES:5740;
Asking Jockey to install drivers
Got Jockey error: org.freedesktop.DBus.Error.ServiceUnknown: The name com.ubuntu.DeviceDriver was not provided by any .service files
DESTROY: <asyncconn.Connection object at 0x1cab790>
DESTROY: <asyncpk1.PK1Connection instance at 0x18324d0>
DESTROY: <asyncipp.IPPAuthConnection instance at 0x18322d8>
DESTROY: <PPDsLoader object at 0x1cac5f0 (ppdsloader+PPDsLoader at 0x1c97560)>
Loaded PPDs this time; try nextNPTab again...
HP PSC 1600 series
Trying make/model names
mfgl: hp
mdll: psc 1600 series
make: HP
re-split mdll: psc 1600
Trying best match
PSC 950xi <= PSC 1600 <= PSC 2110
PSC 950xi: match length 4
Searching for model ID '1600', '%d' % 1600
Ignoring 0 of 4 digits, trying 1600
Ignoring 1 of 4 digits, trying 1600
Ignoring 2 of 4 digits, trying 1600
Ignoring 3 of 4 digits, trying 1000
Checking CMD field
Trying best match
text-only <= PCL 3 <= PCL 4
PCL 4: match length 4
Trying best match
PCL 6/PCL XL LF <= PCL Laser <= PCL Laser
PCL 6/PCL XL LF: match length 4
PCL Laser: match length 9
generic: drv:///sample.drv/generpcl.ppd
No ID match for device usb://HP/PSC%201600%20series?serial=MY57PF41B4L0:
MFG:HP;MDL:PSC 1600 series;CMD:MLC,PCL,PML,DW-PCL,DESKJET,DYN;DES:5740;
ID matched PPDs: [u'drv:///sample.drv/generpcl.ppd']
Will fetch ppd? 0
-<PPDsLoader object at 0x1cac5f0 (ppdsloader+PPDsLoader at 0x1c97560)>
-<asyncconn.Connection object at 0x1cab790>
DESTROY: <asyncpk1._PK1AsyncMethodCall instance at 0x1cbd170>
-<asyncconn._AsyncMethodCall instance at 0x1832368>
-<asyncpk1.PK1Connection instance at 0x18324d0>
Putting None on the task queue
Next task: None
Thread exiting
-<asyncipp._IPPAuthOperation instance at 0x1cbd0e0>
-<asyncipp.IPPAuthConnection instance at 0x18322d8>
-_PK1AsyncMethodCall: <asyncpk1._PK1AsyncMethodCall instance at 0x1cbd170>
-<_IPPConnectionThread(Thread-2, stopped daemon 140090760230656)>
D-Bus signal from CUPS... calling update
Next notifications fetch in 200ms (update called)
get_notifications
2 printer-deleted Printer 'PSC-1600-series' deleted by directory services (timeout).
{'notify-charset': u'utf-8',
'notify-natural-language': u'en-us',
'notify-printer-uri': u'ipp://192.168.1.108:631/printers/PSC-1600-series',
'notify-sequence-number': 2,
'notify-subscribed-event': u'printer-deleted',
'notify-subscription-id': 11,
'notify-text': u"Printer 'PSC-1600-series' deleted by directory services (timeout).",
'printer-is-accepting-jobs': True,
'printer-name': u'PSC-1600-series',
'printer-state': 5,
'printer-state-reasons': [u'paused'],
'printer-up-time': 1319178936}
Deferred populateList by 200ms
update_jobs
<authconn.Connection instance at 0x181a950>: Operation += 'obtaining queue details'
Authentication pass: 1
Authentication: password callback set
Authentication pass: 1
Authentication: password callback set
Authentication pass: 1
Authentication: password callback set
<authconn.Connection instance at 0x181a950>: Operation ended
Will fetch ppd? 0
Will fetch ppd? 0
Searching for "HP PSC 1600 series"
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib64/python2.7/threading.py", line 530, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/site-packages/cupshelpers/openprinting.py", line 74, in run
self.callback (status, self.user_data, result)
File "/usr/lib/python2.7/site-packages/cupshelpers/openprinting.py", line 143, in parse_result
callback (status, user_data, result)
File "/usr/share/system-config-printer/newprinter.py", line 2844, in openprinting_printers_found
printers)
File "/usr/share/system-config-printer/newprinter.py", line 2843, in <lambda>
(x, printers[x]),
TypeError: tuple indices must be integers, not NoneType
Will fetch ppd? 0
HP PSC 1600 series
Trying make/model names
mfgl: hp
mdll: psc 1600 series
make: HP
re-split mdll: psc 1600
Trying best match
PSC 950xi <= PSC 1600 <= PSC 2110
PSC 950xi: match length 4
Searching for model ID '1600', '%d' % 1600
Ignoring 0 of 4 digits, trying 1600
Ignoring 1 of 4 digits, trying 1600
Ignoring 2 of 4 digits, trying 1600
Ignoring 3 of 4 digits, trying 1000
Checking CMD field
Trying best match
text-only <= PCL 3 <= PCL 4
PCL 4: match length 4
Trying best match
PCL 6/PCL XL LF <= PCL Laser <= PCL Laser
PCL 6/PCL XL LF: match length 4
PCL Laser: match length 9
generic: drv:///sample.drv/generpcl.ppd
No ID match for device usb://HP/PSC%201600%20series?serial=MY57PF41B4L0:
MFG:HP;MDL:PSC 1600 series;CMD:MLC,PCL,PML,DW-PCL,DESKJET,DYN;DES:5740;
ID matched PPDs: [u'drv:///sample.drv/generpcl.ppd']
Will fetch ppd? 0
Searching for "HP PSC 1600 series"
Exception in thread Thread-4:
Traceback (most recent call last):
File "/usr/lib64/python2.7/threading.py", line 530, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/site-packages/cupshelpers/openprinting.py", line 74, in run
self.callback (status, self.user_data, result)
File "/usr/lib/python2.7/site-packages/cupshelpers/openprinting.py", line 143, in parse_result
callback (status, user_data, result)
File "/usr/share/system-config-printer/newprinter.py", line 2844, in openprinting_printers_found
printers)
File "/usr/share/system-config-printer/newprinter.py", line 2843, in <lambda>
(x, printers[x]),
TypeError: tuple indices must be integers, not NoneType
then I exit and got to go to work... Canceled subscription 11 DESTROY: <PrinterPropertiesDialog object at 0x182a230 (printerproperties+PrinterPropertiesDialog at 0x1b0ee40)> DESTROY: <NewPrinterGUI object at 0x181ecd0 (newprinter+NewPrinterGUI at 0x18d5a80)> Thanks for testing. I think this is another aspect of bug #566437. Asking PackageKit to install drivers Calling InstallPrinterDrivers (41943268L, ['MFG:HP;MDL:PSC 1600 series;'], 'hide-finished') ERROR:dbus.proxies:Introspect error on :1.96:/org/freedesktop/PackageKit: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. The fact that no message is shown after this shows that the call didn't: a) fail b) call the reply callback c) call the error callback *** This bug has been marked as a duplicate of bug 566437 *** |