Bug 1159161 - [abrt] hplip: device.py:403:makeURI:AttributeError: 'module' object has no attribute 'device_open'
Summary: [abrt] hplip: device.py:403:makeURI:AttributeError: 'module' object has no at...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 20
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:e6e5faeadb3d22ed0de5f5327cd...
: 1185495 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-31 05:53 UTC by weisz
Modified: 2015-01-26 10:55 UTC (History)
3 users (show)

Fixed In Version: hplip-3.14.10-3.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-06 06:14:02 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.87 KB, text/plain)
2014-10-31 05:53 UTC, weisz
no flags Details
File: environ (3.25 KB, text/plain)
2014-10-31 05:53 UTC, weisz
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1388007 0 None None None Never

Description weisz 2014-10-31 05:53:21 UTC
Description of problem:
change printer config

Version-Release number of selected component:
hplip-3.14.6-5.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python /usr/bin/hp-makeuri -c ''
executable:     /usr/bin/hp-makeuri
kernel:         3.16.6-203.fc20.i686
runlevel:       3 5
type:           Python
uid:            1000

Truncated backtrace:
device.py:403:makeURI:AttributeError: 'module' object has no attribute 'device_open'

Traceback (most recent call last):
  File "/usr/bin/hp-makeuri", line 123, in <module>
    cups_uri, sane_uri, fax_uri = device.makeURI(param, jd_port)
  File "/usr/share/hplip/base/device.py", line 403, in makeURI
    hpmudext.device_open(d, mq.get('io-mode', hpmudext.HPMUD_UNI_MODE))
AttributeError: 'module' object has no attribute 'device_open'

Local variables in innermost frame:
cups_uri: ''
dev_file: '/dev/parport0'
d: 'hp:/par/HP_LaserJet_5000_Series?device=/dev/parport0'
sane_uri: ''
bus: 'par'
uri: ''
fax_uri: ''
is_hp: True
devices: {'hp:/par/HP_LaserJet_5000_Series?device=/dev/parport0': ('HP LaserJet 5000 Series', 'HP LaserJet 5000 Series LPT parport0 HPLIP', 'MANUFACTURER:Hewlett-Packard;COMMAND SET:PJL,MLC,PCL,PCLXL,POSTSCRIPT;MODEL:HP LaserJet 5000 Series;CLASS:PRINTER;DESCRIPTION:Hewlett-Packard LaserJet 5000 Series')}
zc: ''
port: 1
host: ''
back_end: 'hp'
mq: {'copy-type': 0, 'scan-type': 0, 'fax-type': 0, 'support-released': True, 'model1': 'HP LaserJet 5000 Series Printer', 'tech-type': 3, 'support-ver': '0.9.5', 'monitor-type': 0, 'io-support': 2, 'pcard-type': 0, 'io-mode': 1, 'usb-vid': 1008, 'job-storage': 0, 'scan-src': 0, 'color-cal-type': 0, 'fw-download': False, 'r0-agent1-sku': 'C4129X', 'panel-check-type': 1, 'tech-class': ['LJMono', 'Postscript'], 'status-dynamic-counters': 0, 'support-type': 2, 'pq-diag-type': 0, 'wifi-config': 0, 'align-type': 0, 'support-subtype': 2202411, 'r-type': 0, 'icon': 'hp_LaserJet_5000.png', 'tech-subclass': ['Normal'], 'status-battery-check': 0, 'r0-agent1-type': 1, 'plugin-reason': 0, 'usb-pid': 0, 'linefeed-cal-type': 0, 'status-type': 9, 'io-mfp-mode': 6, 'power-settings': 0, 'embedded-server-type': 1, 'clean-type': 0, 'r0-agent1-kind': 4, 'plugin': 0}
param: ''
found: False
model: 'HP_LaserJet_5000_Series'
serial: ''
result_code: 45

Comment 1 weisz 2014-10-31 05:53:24 UTC
Created attachment 952400 [details]
File: backtrace

Comment 2 weisz 2014-10-31 05:53:26 UTC
Created attachment 952401 [details]
File: environ

Comment 3 Fedora Update System 2014-11-26 07:56:51 UTC
hplip-3.14.10-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/hplip-3.14.10-3.fc21

Comment 4 Fedora Update System 2014-11-26 07:57:14 UTC
hplip-3.14.10-3.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/hplip-3.14.10-3.fc20

Comment 5 Fedora Update System 2014-11-27 08:35:53 UTC
Package hplip-3.14.10-3.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing hplip-3.14.10-3.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-15818/hplip-3.14.10-3.fc20
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2015-01-06 06:14:02 UTC
hplip-3.14.10-3.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2015-01-06 06:17:21 UTC
hplip-3.14.10-3.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Jiri Popelka 2015-01-26 10:55:54 UTC
*** Bug 1185495 has been marked as a duplicate of this bug. ***


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