hplip-3.9.2.run fails to install

Asked by Eric B

Hello,
Some days ago i have installed the hplip-3.9.2.run library to have printer acces (for HP Photosmart 7655) on Ubunto 8.2 server (without any grapical interface X11 , just console mode)
First installation went well.. so far so good

After a time i tried to install Samba (via Webmin) to share printer service to a windows client
after some troubles with user authentication i got in trouble

I am not able to use the printer any more.... even not via linux itself

After reinstalling hplip-3.9.2.run the script assumes that the server runs X11 .. so install script failes
-----------------------------------------------------------------------------------------------------------------------------------------------------------

POST-BUILD COMMANDS
------------------- Sending close message to hp-systray...
Traceback (most recent call last):
  File "./install.py", line 233, in <module>
    text_install.start(language, auto, test_depends, test_unknown, assume_network, max_retries, enable, disable)
  File "/home/eric/hplip-3.9.2/installer/text_install.py", line 802, in start
    SessionBus().send_message(msg)
  File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 217, in __new__
    mainloop=mainloop)
  File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 106, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/var/lib/python-support/python2.5/dbus/bus.py", line 125, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: dbus-launch failed to autolaunch D-Bus session: Autolaunch error: X11 initialization failed.

----------------------------------------------------------------------------------------------------------------------------------------------------------------
Disable qt3 / qt4 in the install options won't work.
Don't know what to do to now :(

Gtz Eric

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

By the time this error occurs (which I will now fix, thanks for the report),
the software is fully installed. So, you should be able to safely ignore
this issue. If you now run "hp-setup -i" as root, does it work?

On Tue, Mar 17, 2009 at 5:34 AM, Eric B <<email address hidden>
> wrote:

> New question #64417 on HPLIP:
> https://answers.launchpad.net/hplip/+question/64417
>
> Hello,
> Some days ago i have installed the hplip-3.9.2.run library to have printer
> acces (for HP Photosmart 7655) on Ubunto 8.2 server (without any grapical
> interface X11 , just console mode)
> First installation went well.. so far so good
>
> After a time i tried to install Samba (via Webmin) to share printer service
> to a windows client
> after some troubles with user authentication i got in trouble
>
> I am not able to use the printer any more.... even not via linux itself
>
> After reinstalling hplip-3.9.2.run the script assumes that the server runs
> X11 .. so install script failes
>
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
> POST-BUILD COMMANDS
> -------------------
> Sending close message to hp-systray...
> Traceback (most recent call last):
> File "./install.py", line 233, in <module>
> text_install.start(language, auto, test_depends, test_unknown,
> assume_network, max_retries, enable, disable)
> File "/home/eric/hplip-3.9.2/installer/text_install.py", line 802, in
> start
> SessionBus().send_message(msg)
> File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 217, in
> __new__
> mainloop=mainloop)
> File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 106, in
> __new__
> bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
> File "/var/lib/python-support/python2.5/dbus/bus.py", line 125, in __new__
> bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
> dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed:
> dbus-launch failed to autolaunch D-Bus session: Autolaunch error: X11
> initialization failed.
>
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
> Disable qt3 / qt4 in the install options won't work.
> Don't know what to do to now :(
>
> Gtz Eric
>
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

Revision history for this message
Eric B (epbakker) said :
#2

Hello,
Thanks for your fast reply.
The suggested option to run hp-setup -i does not work. :(

Screen output :
___________________________________________________________________
Enter number 0...1 for connection type (q=quit, enter=usb*) ? 0

Using connection type: usb
error: No device selected/specified or that supports this functionality.

___________________________________________________________________
----- Original Message -----
From: "dwelch91" <email address hidden>
To: <email address hidden>
Sent: Tuesday, March 17, 2009 4:42 PM
Subject: Re: [Question #64417]: hplip-3.9.2.run fails to install

Your question #64417 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/64417

    Status: Open => Answered

dwelch91 proposed the following answer:
By the time this error occurs (which I will now fix, thanks for the report),
the software is fully installed. So, you should be able to safely ignore
this issue. If you now run "hp-setup -i" as root, does it work?

On Tue, Mar 17, 2009 at 5:34 AM, Eric B <<email address hidden>
> wrote:

> New question #64417 on HPLIP:
> https://answers.launchpad.net/hplip/+question/64417
>
> Hello,
> Some days ago i have installed the hplip-3.9.2.run library to have
> printer
> acces (for HP Photosmart 7655) on Ubunto 8.2 server (without any grapical
> interface X11 , just console mode)
> First installation went well.. so far so good
>
> After a time i tried to install Samba (via Webmin) to share printer
> service
> to a windows client
> after some troubles with user authentication i got in trouble
>
> I am not able to use the printer any more.... even not via linux itself
>
> After reinstalling hplip-3.9.2.run the script assumes that the server
> runs
> X11 .. so install script failes
>
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
> POST-BUILD COMMANDS
> -------------------
> Sending close message to hp-systray...
> Traceback (most recent call last):
> File "./install.py", line 233, in <module>
> text_install.start(language, auto, test_depends, test_unknown,
> assume_network, max_retries, enable, disable)
> File "/home/eric/hplip-3.9.2/installer/text_install.py", line 802, in
> start
> SessionBus().send_message(msg)
> File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 217, in
> __new__
> mainloop=mainloop)
> File "/var/lib/python-support/python2.5/dbus/_dbus.py", line 106, in
> __new__
> bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
> File "/var/lib/python-support/python2.5/dbus/bus.py", line 125, in
> __new__
> bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
> dbus.exceptions.DBusException:
> org.freedesktop.DBus.Error.Spawn.ExecFailed:
> dbus-launch failed to autolaunch D-Bus session: Autolaunch error: X11
> initialization failed.
>
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
> Disable qt3 / qt4 in the install options won't work.
> Don't know what to do to now :(
>
> Gtz Eric
>
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/hplip/+question/64417/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/hplip/+question/64417

You received this question notification because you are a direct
subscriber of the question.

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

Please run:

/usr/lib/cups/backend/hp

and post the output.

Thanks.

Aaron

Revision history for this message
Eric B (epbakker) said :
#4

Hello Aaron,
As requested the screen output:
eric@ubuntu:/usr/lib/cups/backend$ ls
beh hp http lpd scsi smb socket
dnssd hpfax ipp parallel serial snmp usb
eric@ubuntu:/usr/lib/cups/backend$ ./hp
direct hp "Unknown" "HP Printer (HPLIP)"
Regards,
Eric
----- Original Message -----
From: "Aaron Albright" <email address hidden>
To: <email address hidden>
Sent: Tuesday, March 17, 2009 8:49 PM
Subject: Re: [Question #64417]: hplip-3.9.2.run fails to install

Your question #64417 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/64417

    Status: Open => Needs information

Aaron Albright requested for more information:
Please run:

/usr/lib/cups/backend/hp

and post the output.

Thanks.

Aaron

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/hplip/+question/64417

You received this question notification because you are a direct
subscriber of the question.

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

Please run hp-check -t and post the output.

Also run:

sudo /usr/lib/cups/backend/usb

and post that output.

Also:

lsusb

Thanks.

Aaron

Revision history for this message
Eric B (epbakker) said :
#6

Hi Aaron,
In reply of your request ...
hp-check -t
------------------------------------------------------------------------------
Checking for CUPS...
Status: taakplanner is actief
Version: 1.3.9
error_log is set to level: warn

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

------------------------------------
| 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...
OK, found.

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...
OK, found.

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)...
OK, found.

Checking for dependency: ppdev - Parallel port support kernel module....
OK, found.

Checking for dependency: PyQt 4- Qt interface for Python (for Qt version
4.x)...
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python ctypes - A foreign function library for
Python...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

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...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: SANE - Scanning library development files...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.

----------------------
| 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/hpijs/HP
ppdbase=/usr/share/ppd/hpijs
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=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=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
internal-tag=3.9.2.49
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes

Current contents of '~/.hplip/hplip.conf' file:
[installation]
version = 3.9.2.49
date_time = 03/18/09 08:17:03

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

   No devices found.

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

warning: No queues found.

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

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

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

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

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

Checking 'scanext' SANE scanning extension...
OK, found.

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

Checking for permissions of USB attached printers...
-----------
| SUMMARY |
-----------

No errors or warnings.

Done.
eric@ubuntu:~$
----------------------------------------------------------------------------------------------------------------
 sudo /usr/lib/cups/backend/usb
(no screen output
-----------------------------------------------------------------------------------------------------------------
eric@ubuntu:~$ lsusb
Bus 005 Device 002: ID 0bda:0158 Realtek Semiconductor Corp. Mass Stroage
Device
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
eric@ubuntu:~$

-----------------------------------------------------------------------------------------------------------------
Regards,
Eric

----- Original Message -----
From: "Aaron Albright" <email address hidden>
To: <email address hidden>
Sent: Tuesday, March 17, 2009 9:56 PM
Subject: Re: [Question #64417]: hplip-3.9.2.run fails to install

Your question #64417 on HPLIP changed:
https://answers.launchpad.net/hplip/+question/64417

    Status: Open => Needs information

Aaron Albright requested for more information:
Please run hp-check -t and post the output.

Also run:

sudo /usr/lib/cups/backend/usb

and post that output.

Also:

lsusb

Thanks.

Aaron

--
To answer this request for more information, you can either reply to
this email or enter your reply at the following page:
https://answers.launchpad.net/hplip/+question/64417

You received this question notification because you are a direct
subscriber of the question.

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

lsusb indicates that the printer is not being detected by the USB subsystem. Either:

The printer is not connected correctly
There is a USB kernel problem
There is a problem with your USB hardware
There is a problem with the USB cable

or it's even possible there is a hardware problem with the printer.

Try a different usb cable?
Does the printer work on a windows system?
Does the printer work on another linux system?

These are just some ideas...either way at this point it seems to be a hardware problem of some sort unrelated to HPLIP.

Hope this points you in the right direction.

Aaron

Can you help with this problem?

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

To post a message you must log in.