FS#18768 - hplip missing dependency

Attached to Project: Arch Linux
Opened by Mario Costa (lolloso) - Sunday, 21 March 2010, 00:29 GMT
Last edited by Aaron Griffin (phrakture) - Sunday, 21 March 2010, 01:56 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Package hplip is missing a required dependency, pygobject.
After installation, if you try to run hp-toolbox, the GUI to manage printers, you'll have the following output:

[CODE]

[mario@archlinux ~]$ hp-toolbox

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

Copyright (c) 2001-9 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 246, in <module>
from ui4.devmgr5 import DevMgr5
File "/usr/share/hplip/ui4/devmgr5.py", line 34, in <module>
from base import device, utils, pml, maint, models, pkit
File "/usr/share/hplip/base/pkit.py", line 42, in <module>
import gobject
ImportError: No module named gobject

[/CODE]

After installing pygobject from [extra], hp-toolbox will run normally.

Additional info:
* package version(s): hplip hplip 3.9.12-5

Steps to reproduce:

Install hplip without having pygobject installed.
This task depends upon

Closed by  Aaron Griffin (phrakture)
Sunday, 21 March 2010, 01:56 GMT
Reason for closing:  None
Additional comments about closing:  See last comment
Comment by xduugu (xduugu) - Sunday, 21 March 2010, 00:59 GMT
It's an optional dependency:

Name : hplip
Version : 3.9.12-5
[...]
Optional Deps : cups: for printing support
dbus-python: for dbus support
sane: for scanner support
rpcbind: for network support
pyqt: for running hp-toolbox
pygobject: for running hp-toolbox
Comment by Mario Costa (lolloso) - Sunday, 21 March 2010, 01:03 GMT
For some reason pacman didn't show the opt. dependencies two times, it does now.

Loading...