hplip-3.16.10: python exception when trying to scan from hp-toolbox

Bug #1647866 reported by Martin Wilck on 2016-12-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
Undecided
Unassigned

Bug Description

1 Open hp-toolbox
2 Right-click on Printer Icon (in my case: "HP Envy 5530 Series") -> "Scan..."

=> nothing happens, except hourglass spinning

hp-toolbox --debug shows:

hp-toolbox(UI)[9026]: debug: Run: ******************** /usr/bin/xsane -V
%SANE_URI% (hp:/net/ENVY_5530_series?zc=HP3464A9E628B4)
********************
hp-toolbox(UI)[9026]: debug: /usr/bin/xsane -V %SANE_URI%
Traceback (most recent call last):
  File "/usr/share/hplip/ui4/devmgr5.py", line 907, in <lambda>
    popup.addAction(self.__tr("Scan..."), lambda:
self.contextMenuFunc(self.user_settings.cmd_scan))
  File "/usr/share/hplip/ui4/devmgr5.py", line 946, in contextMenuFunc
    self.runExternalCommand(f)
  File "/usr/share/hplip/ui4/devmgr5.py", line 2166, in
runExternalCommand
    for x in cmd.split(macro_char)])
TypeError: sequence item 0: expected string, QString found

Martin Wilck (mwilck) wrote :
description: updated
kritika arora (kritika-arora1) wrote :

Hi,

We will review the changes and will make the required modification in the up coming release.

thanks,
Kritika

Changed in hplip:
status: New → In Progress
Martin Wilck (mwilck) wrote :

I haven't been able to reproduce this with the latest hplip version. The type inconsistency seems to be solved.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers