Bug 957329

Summary: [abrt] hplip-3.13.3-2.fc18: models.py:424:read_section:TypeError: coercing to Unicode: need string or buffer, NoneType found
Product: [Fedora] Fedora Reporter: Michael <sojasau>
Component: hplipAssignee: Tim Waugh <twaugh>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: alexander.naumann, jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:51b7a45027bd7cacce64dd86d39e573ee985d973
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-29 13:46:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: environ
none
File: smolt_data none

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. ***