You are not logged in.

#1 2016-08-09 18:27:13

mazhar
Member
From: Sanandaj
Registered: 2016-07-12
Posts: 60

[SOLVED] HPLIP doesn't run due to some qt problem

Hi i was setting up my HP LaserJet pro P1102 with cups i did steps and now in libreoffice i've got my printer showing up but not printing anything sent to, so i decided installing hplip to see if it works or not, then i faced this problem:

clicking on HP Device Manager (installed by hplip) causes nothing
running hp-toolbox in terminal:

 error: No module named 'PyQt5' 

running hp-setup in terminal:

 warning: GUI Modules PyQt4 and PyQt5 are not installed
error: hp-setup requires GUI support (try running with --qt3). Also, try using interactive (-i) mode. 

i tried installing python2-pyqt5 which was useless and did nothing.
i also had qt4 installed before attempting to install hplip

Last edited by mazhar (2016-08-09 19:27:51)


We are archers, we live in dark to serve the light.

Offline

#2 2016-08-09 18:33:34

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: [SOLVED] HPLIP doesn't run due to some qt problem

$ pacman -Si hplip
Repository      : extra
Name            : hplip
Version         : 3.16.7-1
Description     : Drivers for HP DeskJet, OfficeJet, Photosmart, Business Inkjet
                  and some LaserJet
Architecture    : x86_64
URL             : http://hplipopensource.com
Licenses        : GPL
Groups          : None
Provides        : None
Depends On      : python-dbus  ghostscript  net-snmp  wget  foomatic-db-engine
Optional Deps   : cups: for printing support
                  sane: for scanner support
                  xsane: sane scanner frontend
                  python-pillow: for commandline scanning support
                  python-reportlab: for pdf output in hp-scan
                  rpcbind: for network support
                  python-pyqt5: for running GUI and hp-toolbox
                  python-gobject: for running hp-toolbox
                  hplip-plugin: binary blobs for specific devices (AUR) or run
                  hp-setup to download the plugin
                  libusb: for advanced usb support
Conflicts With  : None
Replaces        : None
Download Size   : 16.55 MiB
Installed Size  : 27.59 MiB
Packager        : Andreas Radke <andyrtr@archlinux.org>
Build Date      : Fri 22 Jul 2016 17:31:09 BST
Validated By    : MD5 Sum  SHA-256 Sum  Signature
                  python-pyqt5: for running GUI and hp-toolbox

python-pyqt5 is not python2-pyqt5

Offline

#3 2016-08-09 19:06:58

mazhar
Member
From: Sanandaj
Registered: 2016-07-12
Posts: 60

Re: [SOLVED] HPLIP doesn't run due to some qt problem

loqs wrote:
                  python-pyqt5: for running GUI and hp-toolbox

python-pyqt5 is not python2-pyqt5

oh i see smile thanks. now another error !

hp-setup

HP Linux Imaging and Printing System (ver. 3.16.7)
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 958, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 665, in exec_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "/usr/share/hplip/ui5/setupdialog.py", line 31, in <module>
    from base import device, utils, models, pkit
  File "/usr/share/hplip/base/pkit.py", line 38, in <module>
    from gi import _gobject as gobject
ImportError: No module named 'gi'

i'm so cofused with this. sad


We are archers, we live in dark to serve the light.

Offline

#4 2016-08-09 19:11:06

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: [SOLVED] HPLIP doesn't run due to some qt problem

                  python-gobject: for running hp-toolbox

Offline

#5 2016-08-09 19:23:01

mazhar
Member
From: Sanandaj
Registered: 2016-07-12
Posts: 60

Re: [SOLVED] HPLIP doesn't run due to some qt problem

loqs wrote:
                  python-gobject: for running hp-toolbox

well i can't thank you enough. you made my day. thanks. big_smile


We are archers, we live in dark to serve the light.

Offline

Board footer

Powered by FluxBB