Comment 5 for bug 1174736

Revision history for this message
In , Michael (michael-redhat-bugs) wrote :

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>