FS#49656 - hplip does not start due from python errors

Attached to Project: Arch Linux
Opened by Marzio (maofree) - Friday, 10 June 2016, 22:46 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 11 June 2016, 12:08 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

If I push on hplip icon it doesn't start, if I pass the command
hp-setup
I get the follow errors:

HP Linux Imaging and Printing System (ver. 3.16.5)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-15 HP 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/bin/hp-setup", line 313, in <module>
ui = import_module(ui_package + ".setupdialog")
File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 986, in _gcd_import
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 944, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 986, in _gcd_import
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 956, in _find_and_load_unlocked
ImportError: No module named 'ui4'




Additional info:

the version of hoplip is hplip 3.16.5-3
I use gnome 3.20.2

   1.png (137.6 KiB)
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Saturday, 11 June 2016, 12:08 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Friday, 10 June 2016, 23:19 GMT
Are the necessary optional deps installed? /etc/hplip.conf current?
Comment by Marzio (maofree) - Saturday, 11 June 2016, 11:54 GMT
Hi
that file is into /etc/hp/
the problem is due from that file, using the .pacnew file all works well

ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes

before it was

ui-toolkit=qt4
qt3=no
qt4=yes
qt5=no

thanks you can close this topic

bye

Loading...