[hardy] hplip toolbox / hp-setup hangs on AttributeError NoneType

Bug #201752 reported by Schmirrwurst
2
Affects Status Importance Assigned to Milestone
hplip (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: hplip

When trying to add a printer, from hplip toolbox or strating hp-setup from command line, the first step detects my printer, and then when I try to click next it hangs... here is the output :

#hp-setup

HP Linux Imaging and Printing System (ver. 2.8.2)
Printer/Fax Setup Utility ver. 7.0

Copyright (c) 2001-7 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Traceback (most recent call last):
  File "/usr/share/hplip/ui/setupform.py", line 258, in showPage
    self.updatePPDPage()
  File "/usr/share/hplip/ui/setupform.py", line 541, in updatePPDPage
    ppds = cups.getSystemPPDs()
  File "/usr/share/hplip/prnt/cups.py", line 243, in getSystemPPDs
    path = os.path.join(cups_ppd_path, ppd)
  File "/usr/lib/python2.5/posixpath.py", line 62, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'

Revision history for this message
Pascal De Vuyst (pascal-devuyst) wrote :

Confirmed by duplicate.

Changed in hplip:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.