Bug 1185495 - [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 DUPLICATE of bug 1159161
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 19
Hardware: x86_64
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...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-23 22:38 UTC by Don Allen
Modified: 2015-01-26 10:55 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-26 10:55:54 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.94 KB, text/plain)
2015-01-23 22:38 UTC, Don Allen
no flags Details
File: environ (667 bytes, text/plain)
2015-01-23 22:38 UTC, Don Allen
no flags Details

Description Don Allen 2015-01-23 22:38:12 UTC
Description of problem:
While trying to add a new network printer (Epson WF-3620).  This occurs when I selet the printer from the list of available printers.  The UI hangs at this point and must be killed.

Version-Release number of selected component:
hplip-3.14.10-1.fc19

Additional info:
reporter:       libreport-2.2.2
cmdline:        /usr/bin/python /bin/hp-makeuri -c wf3620
executable:     /bin/hp-makeuri
kernel:         3.14.27-100.fc19.x86_64
runlevel:       unknown
type:           Python
uid:            0

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

Traceback (most recent call last):
  File "/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/DESKJET_950C?device=/dev/parport0'
sane_uri: ''
bus: 'par'
uri: ''
fax_uri: ''
is_hp: True
devices: {'hp:/par/DESKJET_950C?device=/dev/parport0': ('HP DESKJET 950C', 'HP DESKJET 950C LPT parport0 HPLIP', 'MFG:HEWLETT-PACKARD;MDL:DESKJET 950C;CMD:MLC,PCL,PML;CLASS:PRINTER;DESCRIPTION:Hewlett-Packard DeskJet 950C;SERN:CN0CP1Q06VJP;VSTATUS:$HB0$NC0,ff,DN,IDLE,CUT,K0,C0,DP,NR,KP088,CP094;VP:0800,FL,B0;VJ:                    ;')}
zc: ''
port: 1
host: ''
back_end: 'hp'
mq: {'copy-type': 0, 'scan-type': 0, 'fax-type': 0, 'support-released': True, 'model1': 'HP Deskjet 950c Printer', 'tech-type': 2, '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, 'r0-agent2-sku': '78 (C6578DN/C6578AN)', 'fw-download': False, 'r0-agent1-sku': '45 (51645A)', 'panel-check-type': 0, 'tech-class': ['DJ9xx'], 'r0-agent2-type': 2, 'support-type': 2, 'pq-diag-type': 0, 'wifi-config': 0, 'align-type': 1, 'support-subtype': 2202411, 'r-type': 0, 'icon': 'DESKJET_960C.png', 'tech-subclass': ['Normal'], 'status-dynamic-counters': 0, 'status-battery-check': 0, 'r0-agent1-type': 1, 'plugin-reason': 0, 'usb-pid': 4356, 'linefeed-cal-type': 0, 'status-type': 0, 'io-mfp-mode': 6, 'power-settings': 0, 'embedded-server-type': 0, 'r0-agent2-kind': 3, 'clean-type': 1, 'r0-agent1-kind': 3, 'plugin': 0}
param: 'wf3620'
found: False
model: 'DESKJET_950C'
serial: ''
result_code: 45

Potential duplicate: bug 1159161

Comment 1 Don Allen 2015-01-23 22:38:14 UTC
Created attachment 983581 [details]
File: backtrace

Comment 2 Don Allen 2015-01-23 22:38:15 UTC
Created attachment 983582 [details]
File: environ

Comment 3 Jiri Popelka 2015-01-26 10:55:54 UTC
(In reply to Don Allen from comment #0)
> Version-Release number of selected component:
> hplip-3.14.10-1.fc19

There won't be any more updates for Fedora 19, please upgrade to something newer (F20/21).

> Potential duplicate: bug 1159161

Yes, it's been already fixed in F20/21 as a bug #1159161.

*** This bug has been marked as a duplicate of bug 1159161 ***


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