HPLIP 0.9.4 BUG: hp-toolbox non-functional due to Python incompatibility

Till Kamppeter <[email protected]> Tue, 26 Jul 2005 16:55:16 +0200
Newsgroups gmane.linux.drivers.hpofficejet.devel
Message-ID <[email protected]>
Oi,

I have RPMized HPLIP 0.9.4 for Mandriva and found a problem with the 
hp-toolbox. All printers appear with a read cross and nothing appears on 
the tabs, they all stay completely blank or grayed out.

On the console where I started the toolbox I get frequently (probably
with every auto-refresh of the toolbox display) the following messages:

--------------------------------------------------------------------------
Traceback (most recent call last):
   File "/usr/share/hplip/ui/devmgr4.py", line 399, in
DeviceList_currentChanged
     self.UpdateDevice()
   File "/usr/share/hplip/ui/devmgr4.py", line 454, in UpdateDevice
     self.UpdateHistory()
   File "/usr/share/hplip/ui/devmgr4.py", line 731, in UpdateHistory
     self.cur_device.last_event = self.cur_device.hist[-1]
IndexError: list index out of range
Traceback (most recent call last):
   File "/usr/share/hplip/ui/devmgr4.py", line 361, in TimedRefresh
     self.UpdateDevice()
   File "/usr/share/hplip/ui/devmgr4.py", line 454, in UpdateDevice
     self.UpdateHistory()
   File "/usr/share/hplip/ui/devmgr4.py", line 731, in UpdateHistory
     self.cur_device.last_event = self.cur_device.hist[-1]
IndexError: list index out of range
Traceback (most recent call last):
   File "/usr/share/hplip/ui/devmgr4.py", line 361, in TimedRefresh
     self.UpdateDevice()
   File "/usr/share/hplip/ui/devmgr4.py", line 454, in UpdateDevice
     self.UpdateHistory()
   File "/usr/share/hplip/ui/devmgr4.py", line 731, in UpdateHistory
     self.cur_device.last_event = self.cur_device.hist[-1]
IndexError: list index out of range

[root@majax h]#
--------------------------------------------------------------------------

It seems that for every configured device the "IndexError: list index
out of range" message appears once.

My installes packages:

--------------------------------------------------------------------------
[root@majax h]# rpm -qa | grep PyQt
PyQt-3.14.1-1mdk
[root@majax h]# rpm -qa | grep -i Python
python-base-2.4.1-2mdk
python-2.4.1-2mdk
libpython2.4-2.4.1-2mdk
[root@majax h]# rpm -qa | grep -i sip
sip-4.2.1-2mdk
[root@majax h]#
--------------------------------------------------------------------------

I am on a mixture of LE 2005 and the Cooker of Mandriva.

Someone here has similar problems and perhaps an idea to solve?

    Till


Suffield, David wrote:
> This HPLIP release has the following changes.
> 
>  1. Fixed a bi-di problem with all LIDIL printers in HPIJS. This fixes a
> printing problem which occurred in HPLIP 0.9.3.
> 
>  2. Fixed a 64-bit problem with LJJetReady printers in HPIJS.
> 
>  3. Fixed a KRGB issue in the VIP path in HPIJS. This fixes a problem
> where black text would drop some pixels.
> 
>  4. In order to accommodate 4-sided full bleed, PS320/330/370/380 were
> moved to DJGenericVIP device class.
> 
>  5. Added uni-di device support to "hp" backend.
> 
>  6. Added hplip_api convenience library. Converted HPLIP clients (hp,
> libsane-hpaio, hpijs, ptest) to hplip_api.
> 
>  7. Added device ID mode to hp-info utility (Tim Waugh of Red Hat
> request).
> 
>  8. Added new DeviceOpen() parameters to accommodate different backend
> types.
> 
>  9. Changed and added new "io" support tags to models.xml.
> 
> 10. Added LJ1022 to models.xml file.
> 
> 11. Desensitized model names generated by hpiod. This will eliminate
> leading, trailing and double spaces in the model name.
> 
> 12. Made change to the models.xml file for Photosmart 120 and 240 series
> which had pen 57 mislabeled as black.
> 
> 13. Added LJ 8000 series entry to models.xml.
> 
> 14. Added LJ 1160 series entry to models.xml.
> 
> 15. Removed LJ 3100 from models.xml. There are no plans to support this
> printer.
> 
> 16. Fixed a scanimage problem with OJ d135 and OJ 7110.
> 
> 17. Fixed "Invalid color calibration type" error in hp-colorcal.
> 
> 18. Fixed "Unknown internal error" when executing command "hp-probe
> -bnet".
> 
> 19. Fixed a intermittent SNMP problem reading signed integers in hpiod.
> This will fix some network scanning issues.
> 
> 20. Fixed a problem where bi-di was not turned off correctly in hpijs.
> This caused extra deviceid queries.
> 
> 21. Enhanced hp-info and hp-makeuri as per Red Hat and Suse request.
> 
> 22. Changed SLP detection to detect more devices based on forum
> feedback.
> 
> 23. Fixed postscript PPD file case sensitivity issue. This issue caused
> a problem with kprinter.
> 
> 24. Added support for the following new printers.
> 
> HP Color LaserJet 2800 (see hplip_readme for support details)
> HP Photosmart 8200
> HP Photosmart 330
> HP Photosmart 380
> Deskjet 1280
> Deskjet 3040
> Deskjet 3920
> 
> See hpinkjet.sf.net, hpinkjet.sf.net/hplip_readme.html or
> hpinkjet.sf.net/hpijs_readme.html for more information.
> 




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click