problème hp-toolbox

Bonjour,

J’ai une imprimant HP avec debian 7.1. J’ai installé hplip et hplip-gui.
L’imprimante fonctionne mais pas l’interface graphique d’hplip. Une icone existe bien dans gnome mais rien ne se passe lorsque je clique.
Et en terminal la commande hp-toolbox me renvoi un message d’erreur que je ne comprend pas

franck@debian:~$ hp-toolbox Traceback (most recent call last): File "/usr/bin/hp-toolbox", line 39, in <module> from base import status, tui, module File "/usr/share/hplip/base/status.py", line 59, in <module> import hpmudext ImportError: /usr/lib/python2.7/dist-packages/hpmudext.so: undefined symbol: hpmud_make_par_uri
Merci d’avance de vos lumières

Çà n’a pas l’air de passionner les foules :laughing: bon je me lance.

:~$ hp-check sera peut-être plus bavard sur les erreurs. Mais si ton imprimante fonctionne, c’est bien l’essentiel.
As-tu essayé jeté un œil sur les dernières versions d’ hplip sur leur site ? ils en sont à la 3.13.9.
http://hplipopensource.com/hplip-web/install_wizard/index.html.

Bon dimanche.

bonjour

pour vérifier python pointe bien sur python2.7 et non python3

Désinstalle et réinstalle hplip, qui réinstallera peut être un paquet manquant python.

Merci de vos réponses.

J’ai bien python 2.7

ls -l /usr/bin/python renvoit

lrwxrwxrwx 1 root root 9 févr. 8 2013 /usr/bin/python -> python2.7

hp-check
M’indique que hplip n’est pas compatible avec debian 7.1 et propose de mettre la version 6.
Ceci dit je comprends pas tout ce que renvoi cette commande.

[code]HP Linux Imaging and Printing System (ver. 3.13.9)
Dependency/Version Check Utility ver. 15

Copyright © 2001-14 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).

Check types:
a. EXTERNALDEP - External Dependencies
b. GENERALDEP - General Dependencies (required both at compile and run time)
c. COMPILEDEP - Compile time Dependencies
d. [All are run-time checks]
PYEXT SCANCONF QUEUES PERMISSION

Status Types:
OK
MISSING - Missing Dependency or Permission or Plug-in
INCOMPAT - Incompatible dependency-version or Plugin-version

Saving output in log file: /home/franck/hp-check.log

Initializing. Please wait…
warning: debian-7.1 version is not supported. Using debian-6.0.5 versions dependencies to verify and install…


SYSTEM INFO

Kernel: 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1+deb7u1 GNU/Linux
Host: debian
Proc: 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1+deb7u1 GNU/Linux
Distribution: debian 7.1


HPLIP CONFIGURATION

HPLIP-Version: HPLIP 3.13.9
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for debian distro 7.1 version

Current contents of ‘/etc/hp/hplip.conf’ file:

hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.13.9

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

Following values are determined at configure time and cannot be changed.

[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.13.9
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
lite-build=no
udev-acl-rules=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no

Current contents of ‘/var/lib/hp/hplip.state’ file:
Plugins are not installed. Could not access file: Aucun fichier ou dossier de ce type

Current contents of ‘~/.hplip/hplip.conf’ file:
[upgrade]
notify_upgrade = true
last_upgraded_time = 1380347006
pending_upgrade_time = 0

[installation]
date_time = 29/09/2013 13:00:08
version = 3.13.9

<Required/Optional>


External Dependencies

gs Ghostscript REQUIRED 7.05 9.05 OK -
network Network-wget OPTIONAL - 1.13.4 OK -
dbus DBus REQUIRED - 1.6.8 OK -
scanimage Shell-Scanning OPTIONAL 1.0 1.0.22 OK -
policykit Admin-Policy-framework OPTIONAL - 0.105 OK -
xsane SANE-GUI OPTIONAL 0.9 0.998 OK -
cups CUPS REQUIRED 1.1 1.5.3 OK ‘CUPS Scheduler is running’


General Dependencies

reportlab Python-PDF-Lib OPTIONAL 2.0 2.5 OK -
libcrypto OpenSSL-Crypto-Lib REQUIRED - 1.0.1 OK -
pil Python-Image-Lib OPTIONAL - 1.1.7 OK -
pyqt4-dbus PyQt4-DBUS REQUIRED 4.0 4.9.3 OK -
libjpeg JPEG-Lib REQUIRED - - OK -
libpthread POSIX-Threads-Lib REQUIRED - 2.13 OK -
python-dbus Python-DBUS REQUIRED 0.80.0 1.1.1 OK -
python-devel Python-SDK REQUIRED 2.2 2.7.3 OK -
pyqt4 Python-Qt4 REQUIRED 4.0 4.9.3 OK -
cups-devel CUPS-SDK REQUIRED - 1.5.3 OK -
sane-devel SANE-SDK REQUIRED - 1.0.22 OK -
libusb USB-Lib REQUIRED - 1.0 OK -
sane Scan-Lib REQUIRED - 1.0.22 OK -
cups-image CUPS-Image-Lib REQUIRED - 1.5.3 OK -
libnetsnmp-devel SNMP-Networking-SDK REQUIRED 5.0.9 5.4.3 OK -
python-xml Python-XML-Lib REQUIRED - 2.1.0 OK -
python-notify Desktop-notifications OPTIONAL - - OK -


Compile Time Dependencies

gcc gcc-Compiler REQUIRED - 4.7.2 OK -
libtool Build-tools REQUIRED - 2.4.2 OK -
make GNU-Build-tools REQUIRED 3.0 3.81 OK -


Python Extentions

cupsext CUPS-Extension REQUIRED - 3.13.9 OK -
pcardext PhotoCard-Extension REQUIRED - 3.13.9 OK -
error: NOT FOUND OR FAILED TO LOAD! Please reinstall HPLIP and check for the proper installation of hpmudext.
error: hpmudext IO-Extension REQUIRED - 3.13.9 MISSING ‘Not Found or Failed to load, Please reinstall HPLIP’


Scan Configuration

hpaio HPLIP-SANE-Backend REQUIRED - 3.13.9 OK 'hpaio found in /etc/sane.d/dll.conf’
scanext Scan-SANE-Extension REQUIRED - 3.13.9 OK -


DISCOVERED SCANNER DEVICES

No Scanner found.


INSTALLED CUPS PRINTER QUEUES

Photosmart_Premium_C309g-m

Type: Printer
Device URI: hp:/usb/Photosmart_Premium_C309g-m?serial=MY9BP5706K05D7
PPD: /etc/cups/ppd/Photosmart_Premium_C309g-m.ppd
PPD Description: HP Photosmart Premium c309g-m, hpcups 3.12.6
Printer status: printer Photosmart_Premium_C309g-m is idle. enabled since sam. 28 sept. 2013 06:51:48 CEST

Photosmart_Premium_C309g-m_2

Type: Printer
Device URI: hp:/usb/Photosmart_Premium_C309g-m?serial=MY9BP5706K05D7
PPD: /etc/cups/ppd/Photosmart_Premium_C309g-m_2.ppd
PPD Description: HP Photosmart Premium c309g-m, hpcups 3.13.9
Printer status: printer Photosmart_Premium_C309g-m_2 is idle. enabled since sam. 28 sept. 2013 07:44:48 CEST


PERMISSION

groups user-groups Required - - OK franck lp cdrom floppy audio dip video plugdev scanner lpadmin bluetooth netdev


SUMMARY

Missing Required Dependencies

error: ‘hpmudext’ package is missing/incompatible

Missing Optional Dependencies

None

Total Errors: 1
Total Warnings: 0

Re-run ‘hp-check --fix’ command to prompt and fix the issues.

Done.
franck@debian:~$ ^C
franck@debian:~$
[/code]

Je crois avoir compris qu’il faudrait la dernière version de hplip la 3.13.9. Je l’avais bien installé en suivant les instruction du site HP mais lorsque j’installe hplip-gui avec synaptic il n’installe d’office la version précédente d’hplip.

Les deux versions restent installées comme le montre (je crois)

gedit /etc/cups/printers.conf

[code]# Printer configuration file for CUPS v1.5.3

Written by cupsd

DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING

UUID urn:uuid:ee5fffe5-d0b9-3bac-55f8-1b4f54915c79 Info Photosmart_Premium_C309g-m MakeModel HP Photosmart Premium c309g-m, hpcups 3.12.6 DeviceURI hp:/usb/Photosmart_Premium_C309g-m?serial=MY9BP5706K05D7 State Idle StateTime 1380343908 Type 36876 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy stop-printer UUID urn:uuid:71f63fd7-3bbc-32a3-692d-61c1e5326bc2 Info Photosmart_Premium_C309g-m_2 MakeModel HP Photosmart Premium c309g-m, hpcups 3.13.9 DeviceURI hp:/usb/Photosmart_Premium_C309g-m?serial=MY9BP5706K05D7 State Idle StateTime 1380347088 Type 36892 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy stop-printer [/code] Peut-être que quelqu'un d'expérimenté peut y voir une amorce de solution...

Je te conseillerai de suivre le lien que j’ai placé dans mon premier message > hplip http://hplipopensource.com/hplip-web/install_wizard/index.html, et de bien suivre l’installation , à un moment on te demande si tu veux désinstaller la précédente version, pour la remplacer par la dernière afin d’éviter les conflits. Rep:Yes. Pour mon imprimante, le hplip des dépôts ne suffit pas, par contre la version 9, ne m’apporte rien, j’ai conservé la version 8. Mais celà dépend de ton modèle d’imprimante.
Tout est dans la sélection.

bon dimanche.

Après réinstallation correcte çà marche ??

Les paquets hplip et libhpmud0 sont-ils bien installés ?
Dans la même version ?