error: dbus failed to load (python-dbus ver. 0.80+ required). Exiting...

Asked by harry

I have an hp Deskjet D4260 printer.
My RHEL v5.1 didn't recognize it .

So i decided to search the appropriate drivers for my printer
under hp official site . There i found the hplip-2.8.12.
I downloaded and installed it via Automatic_Installer_HPLIP_Self_Extracting_Installer

But when linux starts hpssd doesn't start
so i manually restart the hpssd

[root@localhost init.d]# hplip restart
bash: hplip: command not found
[root@localhost init.d]# sh hplip restart
Stopping hpiod: [ OK ]
Stopping hpssd: [FAILED]
Starting hpiod: [ OK ]
Starting hpssd: warning: python-dbus not installed.
error: dbus failed to load (python-dbus ver. 0.80+ required). Exiting...
                                                           [FAILED]
i found the dbus-python-0.83.0.tar.gz

I extracted and installed it with the following commands

# ./configure
# make
# make install

But when i made manually restart of the hplip the same results appears

Starting hpssd: warning: python-dbus not installed.
error: dbus failed to load (python-dbus ver. 0.80+ required). Exiting...
                                                           [FAILED]
Is there anything else that i must do except from the three commands

# ./configure
# make
# make install

in order to install the python-dbus ver. 0.80+ ????

Please help me....

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
harry (hillscrawley) said :
#1

hp-check[21898]: info: :
Initializing. Please wait...
RedHatEnterpriseClient

5.2

scheduler is running

1.2.4

Linux tda2020.ibm.com 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686 i686 i386 GNU/Linux

warning: Invalid ppd_dir value: None
hp-check[21898]: info: :
hp-check[21898]: info: :---------------
hp-check[21898]: info: :| SYSTEM INFO |
hp-check[21898]: info: :---------------
hp-check[21898]: info: :
hp-check[21898]: info: :Basic system information:
hp-check[21898]: info: :Linux tda2020.ibm.com 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686 i686 i386 GNU/Linux

hp-check[21898]: info: :
hp-check[21898]: info: :Distribution:
hp-check[21898]: info: :redhat 5.2
hp-check[21898]: info: :
HPOJ running?
hp-check[21898]: info: :No, HPOJ is not running (OK).
hp-check[21898]: info: :
hp-check[21898]: info: :Checking Python version...
hp-check[21898]: info: :OK, version 2.4.3 installed
hp-check[21898]: info: :
hp-check[21898]: info: :Checking PyQt version...
hp-check[21898]: info: :OK, version 3.16 installed.
hp-check[21898]: info: :
hp-check[21898]: info: :Checking SIP version...
hp-check[21898]: info: :OK, Version 4.4.5 installed
hp-check[21898]: info: :
hp-check[21898]: info: :Checking for CUPS...
hp-check[21898]: info: :Status: scheduler is running
hp-check[21898]: info: :Version: 1.2.4
warning: /etc/cups/cupsd.conf file not found or not accessible.
hp-check[21898]: info: :
hp-check[21898]: info: :Checking for dbus/python-dbus...
hp-check[21898]: info: :dbus daemon is running.
hp-check[21898]: info: :python-dbus version: 0.70.0
hp-check[21898]: info: :
hp-check[21898]: info: :
hp-check[21898]: info: :------------------------------------
hp-check[21898]: info: :| COMPILE AND RUNTIME DEPENDENCIES |
hp-check[21898]: info: :------------------------------------
hp-check[21898]: info: :
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).
hp-check[21898]: info: :
hp-check[21898]: info: :Checking for dependency: cups - Common Unix Printing System...
hp-check[21898]: info: :OK, found.
hp-check[21898]: info: :
hp-check[21898]: info: :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.
hp-check[21898]: info: :
hp-check[21898]: info: :Checking for dependency: cups-devel- Common Unix Printing System development files...
hp-check[21898]: info: :OK, found.
hp-check[21898]: info: :
hp-check[21898]: info: :Checking for dependency: dbus - Message bus system...
hp-check[21898]: info: :OK, found.
hp-check[21898]: info: :
hp-check[21898]: info: :Checking for dependency: gcc - GNU Project C and C++ Compiler...
hp-check[21898]: info: :OK, found.
hp-check[21898]: info: :
hp-check[21898]: info: :Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
hp-check[21898]: info: :OK, found.
hp-check[21898]: info: :
hp-check[21898]: info: :Checking for dependency: libcrypto - OpenSSL cryptographic library...
hp-check[21898]: info: :OK, found.
hp-check[21898]: info: :
hp-check[21898]: info: :Checking for dependency: libjpeg - JPEG library...
hp-check[21898]: info: :OK, found.
hp-check[21898]: info: :
hp-check[21898]: info: :Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
hp-check[21898]: info: :OK, found.
hp-check[21898]: info: :
hp-check[21898]: info: :Checking for dependency: libpthread - POSIX threads library...
hp-check[21898]: info: :OK, found.
hp-check[21898]: info: :
hp-check[21898]: info: :Checking for dependency: libtool - Library building support services...
hp-check[21898]: info: :OK, found.
hp-check[21898]: info: :
hp-check[21898]: info: :Checking for dependency: libusb - USB library...
hp-check[21898]: info: :OK, found.
hp-check[21898]: info: :
hp-check[21898]: info: :Checking for dependency: make - GNU make utility to maintain groups of programs...
hp-check[21898]: info: :OK, found.
hp-check[21898]: info: :
hp-check[21898]: info: :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.
hp-check[21898]: info: :
hp-check[21898]: info: :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.
hp-check[21898]: info: :
hp-check[21898]: info: :Checking for dependency: PyQt - Qt interface for Python...
hp-check[21898]: info: :OK, found.
hp-check[21898]: info: :
hp-check[21898]: info: :Checking for dependency: python-ctypes - A foreign function library for Python...
hp-check[21898]: info: :OK, found.
hp-check[21898]: info: :
hp-check[21898]: info: :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.
hp-check[21898]: info: :
hp-check[21898]: info: :Checking for dependency: python-devel - Python development files...
hp-check[21898]: info: :OK, found.
hp-check[21898]: info: :
hp-check[21898]: info: :Checking for dependency: Python 2.3 or greater - Required for fax functionality...
hp-check[21898]: info: :OK, found.
hp-check[21898]: info: :
hp-check[21898]: info: :Checking for dependency: Python 2.2 or greater - Python programming language...
hp-check[21898]: info: :OK, found.
hp-check[21898]: info: :
hp-check[21898]: info: :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.
hp-check[21898]: info: :
hp-check[21898]: info: :Checking for dependency: SANE - Scanning library...
hp-check[21898]: info: :OK, found.
hp-check[21898]: info: :
hp-check[21898]: info: :Checking for dependency: SANE - Scanning library development files...
hp-check[21898]: info: :OK, found.
hp-check[21898]: info: :
hp-check[21898]: info: :Checking for dependency: scanimage - Shell scanning program...
hp-check[21898]: info: :OK, found.
hp-check[21898]: info: :
hp-check[21898]: info: :Checking for dependency: xsane - Graphical scanner frontend for SANE...
hp-check[21898]: info: :OK, found.
hp-check[21898]: info: :
hp-check[21898]: info: :
hp-check[21898]: info: :----------------------
hp-check[21898]: info: :| HPLIP INSTALLATION |
hp-check[21898]: info: :----------------------
hp-check[21898]: info: :
hp-check[21898]: info: :
hp-check[21898]: info: :Currently installed HPLIP version...
hp-check[21898]: info: :HPLIP 2.8.7 currently installed in '/usr/share/hplip'.
hp-check[21898]: info: :
hp-check[21898]: info: :Current contents of '/etc/hp/hplip.conf' file:
hp-check[21898]: info: :# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=2.8.7

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/cups/model/hplip-ppds
ppdbase=/usr/share/cups/model
doc=/usr/share/doc/hplip-2.8.7
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=yes
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=no
foomatic-ppd-install=yes
foomatic-rip-hplip-install=yes
internal-tag=2.8.7.3
restricted-build=no

hp-check[21898]: info: :
hp-check[21898]: info: :--------------------------
hp-check[21898]: info: :| DISCOVERED USB DEVICES |
hp-check[21898]: info: :--------------------------
hp-check[21898]: info: :
hp-check[21898]: info: :No devices found.
hp-check[21898]: info: :
hp-check[21898]: info: :---------------------------------
hp-check[21898]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[21898]: info: :---------------------------------
hp-check[21898]: info: :
hp-check[21898]: info: :
hp-check[21898]: info: :Cups-PDF
hp-check[21898]: info: :--------
hp-check[21898]: info: :Type: Unknown
hp-check[21898]: info: :Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
hp-check[21898]: info: :Device URI: cups-pdf:/
hp-check[21898]: info: :PPD: /etc/cups/ppd/Cups-PDF.ppd
hp-check[21898]: info: :PPD Description: Generic postscript color printer rev4
hp-check[21898]: info: :Printer status: printer Cups-PDF is idle. enabled since Mon 28 Jul 2008 02:53:07 PM EDT

warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
hp-check[21898]: info: :HPprinter
hp-check[21898]: info: :---------
hp-check[21898]: info: :Type: Unknown
hp-check[21898]: info: :Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
hp-check[21898]: info: :Device URI: socket://hpprinter:9100
hp-check[21898]: info: :PPD: /etc/cups/ppd/HPprinter.ppd
hp-check[21898]: info: :PPD Description: HP OfficeJet Pro L7500 Foomatic/hpijs (recommended)
hp-check[21898]: info: :Printer status: printer HPprinter is idle. enabled since Fri 22 Aug 2008 02:19:32 PM EDT

warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
hp-check[21898]: info: :Officejet_Pro_L7500
hp-check[21898]: info: :-------------------
hp-check[21898]: info: :Type: Printer
hp-check[21898]: info: :Installed in HPLIP?: Yes, using the hp: CUPS backend.
hp-check[21898]: info: :Device URI: hp:/net/Officejet_Pro_L7500?ip=192.168.0.181
hp-check[21898]: info: :PPD: /etc/cups/ppd/Officejet_Pro_L7500.ppd
hp-check[21898]: info: :PPD Description: HP Officejet Pro l7500 Foomatic/hpijs, hpijs 2.8.7.3
hp-check[21898]: info: :Printer status: printer Officejet_Pro_L7500 is idle. enabled since Fri 22 Aug 2008 04:23:41 PM EDT

hp-check[21898]: info: :Communication status: Good
hp-check[21898]: info: :
hp-check[21898]: info: :Officejet_Pro_L7500_fax
hp-check[21898]: info: :-----------------------
hp-check[21898]: info: :Type: Fax
hp-check[21898]: info: :Installed in HPLIP?: Yes, using the hpfax: CUPS backend.
hp-check[21898]: info: :Device URI: hpfax:/net/Officejet_Pro_L7500?ip=192.168.0.181
hp-check[21898]: info: :PPD: /etc/cups/ppd/Officejet_Pro_L7500_fax.ppd
hp-check[21898]: info: :PPD Description: HP Fax
hp-check[21898]: info: :Printer status: printer Officejet_Pro_L7500_fax disabled since Fri 22 Aug 2008 05:25:58 PM EDT -
 /usr/lib/cups/backend/hpfax failed

hp-check[21898]: info: :Communication status: Good
hp-check[21898]: info: :
hp-check[21898]: info: :PostScript
hp-check[21898]: info: :----------
hp-check[21898]: info: :Type: Unknown
hp-check[21898]: info: :Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
hp-check[21898]: info: :Device URI: ps:/tmp
hp-check[21898]: info: :PPD: /etc/cups/ppd/PostScript.ppd
hp-check[21898]: info: :PPD Description: Generic postscript printer
hp-check[21898]: info: :Printer status: printer PostScript is idle. enabled since Mon 28 Jul 2008 02:33:00 PM EDT

warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
hp-check[21898]: info: :ustpal08
hp-check[21898]: info: :--------
hp-check[21898]: info: :Type: Unknown
hp-check[21898]: info: :Installed in HPLIP?: No, not using the hp: or hpfax: CUPS backend.
hp-check[21898]: info: :Device URI: ipselect://usrtpprt10.raleigh.ibm.com:6874/ustpal08
hp-check[21898]: info: :PPD: /etc/cups/ppd/ustpal08.ppd
hp-check[21898]: info: :PPD Description: IBM US Infoprint 1145 MFP PS3
hp-check[21898]: info: :Printer status: printer ustpal08 is idle. enabled since Mon 28 Jul 2008 04:04:14 PM EDT

warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.
hp-check[21898]: info: :
hp-check[21898]: info: :----------------------
hp-check[21898]: info: :| SANE CONFIGURATION |
hp-check[21898]: info: :----------------------
hp-check[21898]: info: :
hp-check[21898]: info: :'hpaio' in '/etc/sane.d/dll.conf'...
hp-check[21898]: info: :OK, found. SANE backend 'hpaio' is properly set up.
hp-check[21898]: info: :
hp-check[21898]: info: :Checking output of 'scanimage -L'...
hp-check[21898]: info: :device `hpaio:/net/Officejet_Pro_L7500?ip=192.168.0.181' is a Hewlett-Packard Officejet_Pro_L7500 all-in-one

hp-check[21898]: info: :
hp-check[21898]: info: :---------------------
hp-check[21898]: info: :| PYTHON EXTENSIONS |
hp-check[21898]: info: :---------------------
hp-check[21898]: info: :
hp-check[21898]: info: :Checking 'cupsext' CUPS extension...
hp-check[21898]: info: :OK, found.
hp-check[21898]: info: :
hp-check[21898]: info: :Checking 'pcardext' Photocard extension...
hp-check[21898]: info: :OK, found.
hp-check[21898]: info: :
hp-check[21898]: info: :Checking 'hpmudext' I/O extension...
hp-check[21898]: info: :OK, found.
hp-check[21898]: info: :
hp-check[21898]: info: :Checking 'scanext' SANE scanning extension...
hp-check[21898]: info: :OK, found.
hp-check[21898]: info: :
hp-check[21898]: info: :
hp-check[21898]: info: :-----------------
hp-check[21898]: info: :| USB I/O SETUP |
hp-check[21898]: info: :-----------------
hp-check[21898]: info: :
hp-check[21898]: info: :
hp-check[21898]: info: :Checking for permissions of USB attached printers...
hp-check[21898]: info: :
hp-check[21898]: info: :-----------
hp-check[21898]: info: :| SUMMARY |
hp-check[21898]: info: :-----------
hp-check[21898]: info: :
error: 9 errors and/or warnings.
hp-check[21898]: info: :
hp-check[21898]: info: :Please refer to the installation instructions at:
hp-check[21898]: info: :http://hplip.sourceforge.net/install/index.html

hp-check[21898]: info: :
hp-check[21898]: info: :Done.

Revision history for this message
harry (hillscrawley) said :
#2

RHEL 5
$ uname -a
Linux tda2020.ibm.com 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686 i686 i386 GNU/Linux

occasionally /var/log/messages has this

Aug 22 17:46:39 tda2020 python: hp-toolbox(init)[23395]: error: Unable to load dbus - Automatic status updates in HPLIP Device Manager will be disabled.
Aug 22 17:49:29 tda2020 python: hp-toolbox(init)[24274]: error: Unable to load dbus - Automatic status updates in HPLIP Device Manager will be disabled.
Aug 22 17:49:53 tda2020 python: hp-sendfax[24401]: warning: Pre-2.0 version of Reportlab installed. Fax coverpages disabled.
Aug 22 17:49:53 tda2020 python: hp-sendfax[24401]: warning: Please install version 2.0+ of Reportlab for coverpage support.
Aug 22 17:50:47 tda2020 python: hp-sendfax[24401]: error: Printer 'Officejet_Pro_L7500_fax' is in a stopped or error state. Check the printer queue in CUPS and try again.
Aug 22 17:51:18 tda2020 python: hpfax[24849]: error: HPLIP pc send fax requires dbus and python-dbus

I happen to have dbus and dbus-python installed
$ rpm -qa dbus dbus-python
dbus-python-0.70-7.el5
dbus-1.0.0-7.el5

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#3

The problem is the version of python-dbus. You are using .70. and it requires .80+...

Hope this points you in the right direction.

Aaron

Revision history for this message
harry (hillscrawley) said :
#4

I downloaded and built dbus-python-0.82.4 and ran make install
I still am unable to fax and get the following message in the error log

Sep 13 12:22:20 tda2020 python: hpfax[24613]: error: HPLIP pc send fax requires dbus and python-dbus

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#5

It looks like you are still missing dbus...although python-dbus is one of the reqs.

A

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

check your /etc/hp/hplip.conf file, make sure it says:

[configure]
...
fax-build=yes
...
dbus-build=yes
...

On Sat, Sep 13, 2008 at 9:27 AM, harry
<email address hidden>wrote:

> Question #42919 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/42919
>
> Status: Answered => Open
>
> harry is still having a problem:
> I downloaded and built dbus-python-0.82.4 and ran make install
> I still am unable to fax and get the following message in the error log
>
> Sep 13 12:22:20 tda2020 python: hpfax[24613]: error: HPLIP pc send fax
> requires dbus and python-dbus
>
> --
> 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 harry for more information if necessary.

To post a message you must log in.