Bug 957329 - [abrt] hplip-3.13.3-2.fc18: models.py:424:read_section:TypeError: coercing to Unicode: need string or buffer, NoneType found
Summary: [abrt] hplip-3.13.3-2.fc18: models.py:424:read_section:TypeError: coercing to...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:51b7a45027bd7cacce64dd86d39...
: 1002440 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-27 08:07 UTC by Michael
Modified: 2013-08-29 13:14 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-07-29 13:46:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.02 KB, text/plain)
2013-04-27 08:08 UTC, Michael
no flags Details
File: core_backtrace (544 bytes, text/plain)
2013-04-27 08:08 UTC, Michael
no flags Details
File: environ (2.98 KB, text/plain)
2013-04-27 08:08 UTC, Michael
no flags Details
File: smolt_data (3.05 KB, text/plain)
2013-04-27 08:08 UTC, Michael
no flags Details


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

Description Michael 2013-04-27 08:07:57 UTC
Version-Release number of selected component:
hplip-3.13.3-2.fc18

Additional info:
cmdline:        /usr/bin/python /bin/hp-setup 192.168.178.21
executable:     /bin/hp-setup
kernel:         3.8.8-203.fc18.x86_64
uid:            1000
ureports_counter: 1

Truncated backtrace:
models.py:424:read_section:TypeError: coercing to Unicode: need string or buffer, NoneType found

Traceback (most recent call last):
  File "/bin/hp-setup", line 318, in <module>
    device_uri, sane_uri, fax_uri = device.makeURI(param, jd_port)
  File "/usr/share/hplip/base/device.py", line 404, in makeURI
    mq = queryModelByURI(cups_uri)
  File "/usr/share/hplip/base/device.py", line 445, in queryModelByURI
    return queryModelByModel(model)
  File "/usr/share/hplip/base/device.py", line 434, in queryModelByModel
    return model_dat[model]
  File "/usr/share/hplip/base/models.py", line 514, in __getitem__
    if self.read_section(self.released_dat, model):
  File "/usr/share/hplip/base/models.py", line 424, in read_section
    fd = file(filename)
TypeError: coercing to Unicode: need string or buffer, NoneType found

Local variables in innermost frame:
in_section: False
is_include: False
section: 'hp_laserjet_professional_m1212nf_mfp'
cache: {}
filename: None
found: False
self: <base.models.ModelData instance at 0x145c638>

Comment 1 Michael 2013-04-27 08:08:01 UTC
Created attachment 740738 [details]
File: backtrace

Comment 2 Michael 2013-04-27 08:08:03 UTC
Created attachment 740739 [details]
File: core_backtrace

Comment 3 Michael 2013-04-27 08:08:05 UTC
Created attachment 740740 [details]
File: environ

Comment 4 Michael 2013-04-27 08:08:07 UTC
Created attachment 740741 [details]
File: smolt_data

Comment 5 Jiri Popelka 2013-04-30 12:37:56 UTC
Reported upstream as
https://bugs.launchpad.net/hplip/+bug/1174736

Comment 6 Jiri Popelka 2013-05-02 07:27:14 UTC
Michael,

upstream asks for more information.
https://bugs.launchpad.net/hplip/+bug/1174736
Could you provide it there ?

Comment 8 Jaromír Končický 2013-08-29 13:14:02 UTC
*** Bug 1002440 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.