You are not logged in.

#1 2015-02-10 22:01:45

hwm
Member
From: Iserlohn, Germany
Registered: 2015-02-10
Posts: 21

[SOLVED] hplip 3.15.2-2 breaks GUI tools

Hi! I hope this is the right place to post this question.

The latest hplip upgrade appears to break the GUI tools. After pacman -Suy I've also added python-dbus python-gobject2 and python-pyqt4 to satisfy the optional dependencies, but the GUI tools don't start. This is the result when started from a shell:

$ hp-systray

HP Linux Imaging and Printing System (ver. 3.15.2)
System Tray Status Service ver. 2.0

Copyright (c) 2001-15 Hewlett-Packard 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.

error: dbus failed to load (python-dbus ver. 0.80+ required). Exiting...
error: HPLIP upgrade is disabled by Archlinux for security reasons, see https://bugs.archlinux.org/task/38083 - if you like to upgrade HPLIP, use the Archlinux software package manager pacman.

Done.

$ hp-toolbox 

HP Linux Imaging and Printing System (ver. 3.15.2)
HP Device Manager ver. 15.0

Copyright (c) 2001-15 Hewlett-Packard 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-toolbox", line 250, in <module>
    from ui4.devmgr5 import DevMgr5
  File "/usr/share/hplip/ui4/devmgr5.py", line 35, in <module>
    from base import device, utils, pml, maint, models, pkit, os_utils
  File "/usr/share/hplip/base/pkit.py", line 38, in <module>
    from gi import _gobject as gobject
ImportError: No module named 'gi'

Rebooting and reinstalling hplip doesn't help, so I've reverted to 3.15.2-1 and everything works just fine again.

Hartmut

Last edited by hwm (2015-02-11 16:28:35)

Offline

#2 2015-02-10 23:15:36

arsham
Member
Registered: 2015-02-10
Posts: 1

Re: [SOLVED] hplip 3.15.2-2 breaks GUI tools

Thanks mate

Offline

#3 2015-02-11 09:59:04

satanselbow
Member
Registered: 2011-06-15
Posts: 538

Re: [SOLVED] hplip 3.15.2-2 breaks GUI tools

Upgrade to 3.15.2-2 here applied without error... you are most likely missing "python-gobject" wink

Offline

#4 2015-02-11 16:27:48

hwm
Member
From: Iserlohn, Germany
Registered: 2015-02-10
Posts: 21

Re: [SOLVED] hplip 3.15.2-2 breaks GUI tools

satanselbow wrote:

Upgrade to 3.15.2-2 here applied without error... you are most likely missing "python-gobject" wink

Yup, this fixes it! Thanks!

Offline

#5 2015-02-18 00:21:16

zuken
Member
Registered: 2015-02-18
Posts: 1

Re: [SOLVED] hplip 3.15.2-2 breaks GUI tools

hwm wrote:
satanselbow wrote:

Upgrade to 3.15.2-2 here applied without error... you are most likely missing "python-gobject" wink

Yup, this fixes it! Thanks!

Same issue same solution Thanks wink

Offline

#6 2015-05-03 18:32:28

fero
Member
Registered: 2015-05-03
Posts: 2

Re: [SOLVED] hplip 3.15.2-2 breaks GUI tools

Same issue same solution also for me thanks smile

Would it be the case to set a dependency to python-gobject for the hplip package?

(Hello! I'm a newbie in this forum wink thank you all guys!)

Last edited by fero (2015-05-03 18:33:14)

Offline

#7 2015-05-04 06:46:27

satanselbow
Member
Registered: 2011-06-15
Posts: 538

Re: [SOLVED] hplip 3.15.2-2 breaks GUI tools

It is listed as an "optional" for hp-toolbox but it not required by the base package itself so a change to that would not be warranted. It is down to the user to ensure that any optional dependencies are installed prior to using optional or additional features beyond the base package.

Last edited by satanselbow (2015-05-04 06:46:58)

Offline

Board footer

Powered by FluxBB