hp-setup Install Fails

Asked by Chrisbjackson

Centos 5.2 Enterprise - warning: python-dbus not installed. (Even thou in Package manager Python-dbus is TICKED for installed)

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Chrisbjackson (sinxxx) said :
#1

[root@Master ~]# hp-setup
warning: python-dbus not installed.

HP Linux Imaging and Printing System (ver. 3.9.2)
Printer/Fax Setup Utility ver. 8.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.

(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)

Using connection type: usb

error: No device selected/specified or that supports this functionality.
[root@Master ~]#

[root@Master ~]# hp-check -t
warning: python-dbus not installed.

HP Linux Imaging and Printing System (ver. 3.9.2)
Dependency/Version Check Utility ver. 14.1

Copyright (c) 2001-8 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.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode
will check both of the above cases (both compile- and run-time dependencies).

Saving output in log file: hp-check.log

Initializing. Please wait...

---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux Master 2.6.18-92.1.13.el5xen #1 SMP Wed Sep 24 20:44:26 EDT 2008 i686 i686 i386 GNU/Linux

Distribution:
centos 5.2

HPOJ running?
No, HPOJ is not running (OK).

Checking Python version...
OK, version 2.4.3 installed

Checking PyQt 4.x version...
error: NOT FOUND OR FAILED TO LOAD!

Checking for CUPS...
Status: scheduler is running
Version: 1.2.4
error_log is set to level: info

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.70.0

------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------

note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).

Checking for dependency: CUPS - Common Unix Printing System...
OK, found.

Checking for dependency: CUPS DDK - CUPS driver development kit...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

Checking for dependency: CUPS devel- Common Unix Printing System development files...
OK, found.

Checking for dependency: DBus - Message bus system...
OK, found.

Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.

Checking for dependency: libjpeg - JPEG library...
OK, found.

Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
error: NOT FOUND! This is a REQUIRED dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: libpthread - POSIX threads library...
OK, found.

Checking for dependency: libtool - Library building support services...
OK, found.

Checking for dependency: libusb - USB library...
OK, found.

Checking for dependency: make - GNU make utility to maintain groups of programs...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

Checking for dependency: ppdev - Parallel port support kernel module....
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: PyQt 4- Qt interface for Python (for Qt version 4.x)...
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: Python ctypes - A foreign function library for Python...
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: Python DBus - Python bindings for DBus...
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: Python devel - Python development files...
OK, found.

Checking for dependency: Python XML libraries...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

Checking for dependency: SANE - Scanning library...
error: NOT FOUND! This is a REQUIRED/RUNTIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: SANE - Scanning library development files...
error: NOT FOUND! This is a REQUIRED/COMPILE TIME ONLY dependency. Please make sure that this dependency is installed before installing or running HPLIP.

Checking for dependency: scanimage - Shell scanning program...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

----------------------
| HPLIP INSTALLATION |
----------------------

Currently installed HPLIP version...
HPLIP 3.9.2 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.9.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.9.2
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=no
pp-build=no
gui-build=yes
scanner-build=no
fax-build=no
dbus-build=no
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
internal-tag=3.9.2.49
restricted-build=no
ui-toolkit=no
qt3=no
qt4=no

Current contents of '~/.hplip/hplip.conf' file:
error: Could not access file: No such file or directory

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

WB
--
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: ///dev/null
WBADM
-----
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: smb:///192.168.0.65/WBADM
WBINV
-----
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: lpd://192.168.0.60/WBINV
PPD: /etc/cups/ppd/WBINV.ppd
PPD Description: Generic text-only printer
Printer status: printer WBINV is idle. enabled since Mon 23 Feb 2009 12:37:11 PM WAST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
WBMAIN
------
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: smb:///192.168.0.66/WBMAIN
WHK
---
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: ///dev/null
WHKADM
------
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: smb:///192.168.0.10/WHKADM
WHKBUY
------
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: smb:///192.168.0.46/WHKBUY
WHKCR
-----
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: smb://MBTRUCK/PETRA/WHKCR
WHKCSH
------
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: lpd://192.168.0.35/WHKCSH
PPD: /etc/cups/ppd/WHKCSH.ppd
PPD Description: Generic text-only printer
Printer status: printer WHKCSH is idle. enabled since Mon 23 Feb 2009 12:44:22 PM WAST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
WHKINV
------
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: lpd://192.168.0.38/WHKINV
PPD: /etc/cups/ppd/WHKINV.ppd
PPD Description: Generic text-only printer
Printer status: printer WHKINV is idle. enabled since Mon 23 Feb 2009 12:45:29 PM WAST
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
WHKMAIN
-------
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: lpd://192.168.0.39/WHKMAIN
WHKPDF
------
Type: Unknown
Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
Device URI: smb:///192.168.0.40/WHKPDF

---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

-----------------
| USB I/O SETUP |
-----------------

Checking for permissions of USB attached printers...

-----------
| SUMMARY |
-----------

error: 17 errors and/or warnings.

Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html

Done.
[root@Master ~]#

Revision history for this message
IAmDaveMyers (davemyers) said :
#2

How were you attempting to install the printer?

Did you plug it in and then go to the <system - Admin - Printing> dialog? or did you download the required HPLIP and compile / install from that?

I recently (about 2 hours ago) installed an old HP 845C printer. On the first attempt it installed, but printed "junk" ascii characters rather than the "normal" test page.

I then removed an re-installed trying the next print driver option in the list, and it worked (Please bear in mind the first option was the "recomended") - should I report that as a bug?

Otherwise it looks as though you are going to need to install the required dependencies.
I did a quick hunt, and found the project home page (note that if you try http://hplipopensoure.com nothing happens!)
http://hplipopensource.com/hplip-web/index.html
I've tried to navigate to their Howto's and FAQ's sub pages, but no luck!

Maybee one of the project members will see this and be able to "repair" their website also!?

David.

Revision history for this message
Chrisbjackson (sinxxx) said :
#3

The printer is installed on a network Windows XP pc and shared.

I cant even get the program to open in X because it fails before then.
Telling me the python-dbus is not installed even tho their own
check program passes python-dbus ! Very odd........

-ERROR-
[root@Master ~]# hp-setup
warning: python-dbus not installed.

-RESULTS OF HP-CHECK - T-
Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.70.0

Revision history for this message
dwelch91 (dwelch91) said :
#4

It looks like you are running python-dbus version 0.70, and version 0.80 or
later is required.

On Wed, Feb 25, 2009 at 6:40 AM, Chrisbjackson <
<email address hidden>> wrote:

> Question #62032 on HPLIP changed:
> https://answers.edge.launchpad.net/hplip/+question/62032
>
> Status: Answered => Open
>
> Chrisbjackson is still having a problem:
> The printer is installed on a network Windows XP pc and shared.
>
> I cant even get the program to open in X because it fails before then.
> Telling me the python-dbus is not installed even tho their own
> check program passes python-dbus ! Very odd........
>
> -ERROR-
> [root@Master ~]# hp-setup
> warning: python-dbus not installed.
>
> -RESULTS OF HP-CHECK - T-
> Checking for dbus/python-dbus...
> dbus daemon is running.
> python-dbus version: 0.70.0
>
> --
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

Can you help with this problem?

Provide an answer of your own, or ask Chrisbjackson for more information if necessary.

To post a message you must log in.