[Bug 335116] Re: FFE Request: HPLIP 3.9.2 released one day after FF
Checked with hp-levels: hp:/net/Photosmart_C8100_series?ip=192.168.2.101: OK hp:/net/Photosmart_Pro_B9100_series?ip=192.168.2.108: Gives Traceback "ValueError: invalid literal for long() with base 16: ''", with 2.8,12 it showed the ink levels correctly hp:/usb/Photosmart_A710_series?serial=CN6B92118304R4: Printer not connected, gives "Unable to communicate with device" OK hp:/usb/Officejet_H470?serial=CN7BU18154: Printer not connected, gives "Unable to communicate with device" OK hp:/usb/HP_LaserJet_3390?serial=00CNMJP81545: OK hp:/net/HP_Color_LaserJet_3600?ip=192.168.2.103: OK hp:/usb/Photosmart_C5200_series?serial=MY7C3FD0XZ0559: Printer not connected, gives "Unable to communicate with device" OK hp-systray gives the "ValueError: invalid literal for long() with base 16: ''" on startup, but I do not know which device triggers it. The right click menu of the hp-systray shows correct status for all devices before the HP PhotoSmart B9100 and beginning from this printer to the end of the list no status is shown. Seems that the B9100 crashes the status reporting process with said segfault. Note that the B9100 is not officially supported, but it reported status and ink levels correctly with HPLIP 2.8.12. In general an unsupported device should not crash the whole framework but at least give a decent error message. Within the hp-toolbox the Supplies tab says "Supplies information not available for this device." and the Status tab says "Status information not available for this device.", independent which printer I choose (but no traceback appears). Perhaps this is caused due to the crashed status reporting process in hp-systray. When I start the hp-toolbox I am on the "Action" tab of the HP Color LaserJet 3600 and the tab stays empty. It gets only filled if I go to another printer and then back to the HP Color LaserJet 3600. Seems that it gets only filled by changing between printers but not by starting hp- toolbox. The same happens even with the B9100 not plugged in. So the traceback happens already before communicating with the B9100. If I remove the print queue for the B9100 all problems disappear. -- FFE Request: HPLIP 3.9.2 released one day after FF https://bugs.launchpad.net/bugs/335116 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 335116] Re: FFE Request: HPLIP 3.9.2 released one day after FF
What device was used to get this error? We have not seen this in our testing, AFAIK. On Mon, Mar 9, 2009 at 10:28 AM, Till Kamppeter wrote: > Don, I have another problem which should get fixed in Ubuntu Jaunty: > Whenever I do an operation involving status (starting hp-toolbox, > starting hp-systray, using hp-levels, ...) I get a traceback like > > Traceback (most recent call last): > File "/usr/bin/hp-systray", line 141, in >hpdio.run(r2, w3) > File "/usr/share/hplip/hpdio.py", line 140, in run >dev.queryDevice() > File "/usr/share/hplip/base/device.py", line 1673, in queryDevice >status_block = status.parseStatus(self.deviceID) > File "/usr/share/hplip/base/status.py", line 321, in parseStatus >return parseSStatus(DeviceID['S'], DeviceID.get('Z', '')) > File "/usr/share/hplip/base/status.py", line 172, in parseSStatus >info = long(s[c : c + pen_data_size], 16) > ValueError: invalid literal for long() with base 16: '' > > This is perhaps the cause of the hp-toolbox not showing ink levels any > more for most devices and also not showing status for many devices. > > Ubuntu has switched from Python 2.5 to 2.6 in the last days. Perhaps > there is an incompatible change which leads to this > > ValueError: invalid literal for long() with base 16: '' > > Can you provide a patch to fix this? Thanks. > > -- > FFE Request: HPLIP 3.9.2 released one day after FF > https://bugs.launchpad.net/bugs/335116 > You received this bug notification because you are a direct subscriber > of the bug. > -- FFE Request: HPLIP 3.9.2 released one day after FF https://bugs.launchpad.net/bugs/335116 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 335116] Re: FFE Request: HPLIP 3.9.2 released one day after FF
Don, I have another problem which should get fixed in Ubuntu Jaunty: Whenever I do an operation involving status (starting hp-toolbox, starting hp-systray, using hp-levels, ...) I get a traceback like Traceback (most recent call last): File "/usr/bin/hp-systray", line 141, in hpdio.run(r2, w3) File "/usr/share/hplip/hpdio.py", line 140, in run dev.queryDevice() File "/usr/share/hplip/base/device.py", line 1673, in queryDevice status_block = status.parseStatus(self.deviceID) File "/usr/share/hplip/base/status.py", line 321, in parseStatus return parseSStatus(DeviceID['S'], DeviceID.get('Z', '')) File "/usr/share/hplip/base/status.py", line 172, in parseSStatus info = long(s[c : c + pen_data_size], 16) ValueError: invalid literal for long() with base 16: '' This is perhaps the cause of the hp-toolbox not showing ink levels any more for most devices and also not showing status for many devices. Ubuntu has switched from Python 2.5 to 2.6 in the last days. Perhaps there is an incompatible change which leads to this ValueError: invalid literal for long() with base 16: '' Can you provide a patch to fix this? Thanks. -- FFE Request: HPLIP 3.9.2 released one day after FF https://bugs.launchpad.net/bugs/335116 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 335116] Re: FFE Request: HPLIP 3.9.2 released one day after FF
Thank yo for the patch. I have applied it now. -- FFE Request: HPLIP 3.9.2 released one day after FF https://bugs.launchpad.net/bugs/335116 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 335116] Re: FFE Request: HPLIP 3.9.2 released one day after FF
There are 2 important defect patches for 3.9.2 that should be applied for 9.04. The patch to hpdio fixes an issue that causes 100% CPU utilization when the user logs out or switches to another user. The issue with settingsdialog is a traceback in the UI code due to a syntax error in the code. Both of these fixes have been tested by HP. Index: hpdio.py === --- hpdio.py(revision 10469) +++ hpdio.py(working copy) @@ -85,12 +85,20 @@ r, w, e = select.select([r2], [], [r2], 1.0) except KeyboardInterrupt: break +except select.error, e: +if e[0] == errno.EINTR: +continue +else: +break if not r: continue if e: break m = ''.join([m, os.read(r2, fmt_size)]) +if not m: +break + while len(m) >= fmt_size: response.clear() event = device.Event(*struct.unpack(fmt, m[:fmt_size])) Index: ui4/settingsdialog.py === --- ui4/settingsdialog.py(revision 10469) +++ ui4/settingsdialog.py(working copy) @@ -55,7 +55,7 @@ if self.user_settings.auto_refresh_type == 1: self.RefreshCurrentRadioButton.setChecked(True) else: -RefreshAllRadioButton.setChecked(True) +self.RefreshAllRadioButton.setChecked(True) self.ScanCommandLineEdit.setText(self.user_settings.cmd_scan) self.SystemTraySettings.systray_visible = self.user_settings.systray_visible On 3/9/09, Till Kamppeter wrote: > > Tested also faxing on the HP LaserJet 3390 as it is the most bug-prone. > Works. > > Uploaded 3.9.2 to Ubuntu. > > > ** Changed in: hplip (Ubuntu) >Status: Confirmed => Fix Released > > > -- > FFE Request: HPLIP 3.9.2 released one day after FF > https://bugs.launchpad.net/bugs/335116 > You received this bug notification because you are a direct subscriber > of the bug. > ** Attachment added: "hplip-3.9.2.hpdio_settings.patch" http://launchpadlibrarian.net/23659763/hplip-3.9.2.hpdio_settings.patch -- FFE Request: HPLIP 3.9.2 released one day after FF https://bugs.launchpad.net/bugs/335116 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 335116] Re: FFE Request: HPLIP 3.9.2 released one day after FF
Tested also faxing on the HP LaserJet 3390 as it is the most bug-prone. Works. Uploaded 3.9.2 to Ubuntu. ** Changed in: hplip (Ubuntu) Status: Confirmed => Fix Released -- FFE Request: HPLIP 3.9.2 released one day after FF https://bugs.launchpad.net/bugs/335116 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 335116] Re: FFE Request: HPLIP 3.9.2 released one day after FF
I have tested the GUIs of HPLIP and the Qt4 versions seem to work as well. -- FFE Request: HPLIP 3.9.2 released one day after FF https://bugs.launchpad.net/bugs/335116 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 335116] Re: FFE Request: HPLIP 3.9.2 released one day after FF
Till tells me on IRC that he's tested that the GUI apps do still work correctly, so this FFe is approved. Please mind the milestone freeze (tomorrow through Thursday) when uploading. ** Changed in: hplip (Ubuntu) Status: New => Confirmed -- FFE Request: HPLIP 3.9.2 released one day after FF https://bugs.launchpad.net/bugs/335116 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 335116] Re: FFE Request: HPLIP 3.9.2 released one day after FF
PPA is updated to a version (...~ppa2) built with Python 2.6 now. -- FFE Request: HPLIP 3.9.2 released one day after FF https://bugs.launchpad.net/bugs/335116 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 335116] Re: FFE Request: HPLIP 3.9.2 released one day after FF
Linux. if you have a Jaunty Desktop-CD-only environment, which means that no Qt packages and no hplip-gui package is installed. Do all non- GUI functions work, like checking ink levels with hp-levels, sending faxes via command line with hp-sendfax via command line, ... I have found out that on a system with python-qt4-dbus not installed (but python-qt4 installed) all utilities except hp-toolbox can be started in GUI mode. The hplip-gui package requires both python-qt4 and python-qt4-dbus in its dependencies. The systray patch is not needed any more as Qt4 is the default now, so forcing use of Qt4 with "--qt4" should not be needed any more. Testing: Please test whether all non-GUI functionality is working on a pure Desktop CD (live CD of Jaunty alpha 5 with only the HPLIP packages updated): hp-levels, hp-sendfax, ... If something does not work, did it work with the HPLIP 2.8.12 packages? If there are no regressions against the 2.8.12 package we are OK. Install hplip-gui (which pulls the mentioned two python-qt4 packages). Do all GUI tools now work with their GUIs? -- FFE Request: HPLIP 3.9.2 released one day after FF https://bugs.launchpad.net/bugs/335116 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 335116] Re: FFE Request: HPLIP 3.9.2 released one day after FF
Hi Till, Are the dependency issues that Linus mentions addressed? I'm ok with granting an FFe for the upstream changes, but would like to know what testing the package has had since there are dependency questions. -- FFE Request: HPLIP 3.9.2 released one day after FF https://bugs.launchpad.net/bugs/335116 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 335116] Re: FFE Request: HPLIP 3.9.2 released one day after FF
I tested the package today in Jaunty. I found that the following packages need to be installed for HPLIP to work properly: python-qt4 python-qt4-dbus We talked about the freeze exception at our meeting this morning. The only remaining concern is that the most recent patches (particularly Don's fix for the qt4 systray) get picked by the 3.9.2 package which will be included in Jaunty. -- FFE Request: HPLIP 3.9.2 released one day after FF https://bugs.launchpad.net/bugs/335116 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 335116] Re: FFE Request: HPLIP 3.9.2 released one day after FF
The upload to my PPA shows that the package correctly builds. Everyone who sees this, please test the package, preferably by adding my PPA to your package download repositories for apt (see instructions on the PPA page). Report here whether it installs and whether it works correctly. There are no other packages depending on HPLIP. So it should not break other packages. -- FFE Request: HPLIP 3.9.2 released one day after FF https://bugs.launchpad.net/bugs/335116 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 335116] Re: FFE Request: HPLIP 3.9.2 released one day after FF
Link to my PPA: https://launchpad.net/~till-kamppeter/+archive/ppa -- FFE Request: HPLIP 3.9.2 released one day after FF https://bugs.launchpad.net/bugs/335116 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs