No System tray detected on this system

Demande d'aide : c'est ici.
Répondre
jandelalune
Membre
Membre
Messages : 157
Inscription : 29 janv. 2018, 19:01
Status : Hors-ligne

Un ordinateur HP Victus, environnement gnome, serveur d’affichage xorg, en dual boot avec W11

Une Imprimante HP, series 4528, 3 en 1: initialement equipée du pilote HPLIP-3212 (version figurant dans le dépot Debian

Après une réinstallation compléte de Debian 11 au lancement de l’imprimante Branchée en USB j’ai un message :

“No System tray detected on this system
unable to start, exiting”

Après quelques recherches sur Internet, des échanges trouvés trop anciens (au mieus 2018) je suis allé chez HP où j’ai trouvé une version HPLIP-3.21.10.run (mise à jour debian 11) que j’ai installée sur mon debian

Le résultat de mon installation laisse apparaitre des messages d’erreurs que je ne sais interpréter :
RE-CHECKING DEPENDENCIES
------------------------
\Gtk-Message: 18:17:06.006: Failed to load module "canberra-gtk-module"


RUNNING SCANJET DEPENDENCY COMMANDS
-----------------------------------
su -c "apt-get install --force-yes -y python3-pip" (Scanjet-depend step 1)
su -c "pip3 install --upgrade pip" (Scanjet-depend step 2)
su -c "apt-get install --force-yes -y libleptonica-dev" (Scanjet-depend step 3)
su -c "apt-get install --force-yes -y tesseract-ocr" (Scanjet-depend step 4)
su -c "apt-get install --force-yes -y libtesseract-dev" (Scanjet-depend step 5)
su -c "pip3 install tesserocr" (Scanjet-depend step 6)
su -c "pip3 install opencv-python" (Scanjet-depend step 7)
su -c "pip3 install PyPDF2" (Scanjet-depend step 8)
su -c "pip3 install imutils (Scanjet-depend step 9)
su -c "pip3 install ocrmypdf" (Scanjet-depend step 10)
su -c "pip3 install scikit-image" (Scanjet-depend step 11)
su -c "pip3 install scipy" (Scanjet-depend step 12)
OK


PRE-BUILD COMMANDS
------------------
OK


BUILD AND INSTALL
-----------------
Running './configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --enable-network-build --enable-scan-build --enable-fax-build --enable-dbus-build --disable-qt4 --enable-qt5 --disable-class-driver --enable-doc-build --disable-policykit --disable-libusb01_build --disable-udev_sysfs_rules --enable-hpcups-install --disable-hpijs-install --disable-foomatic-ppd-install --disable-foomatic-drv-install --disable-cups-ppd-install --enable-cups-drv-install --enable-apparmor_build'
Please wait, this may take several minutes...
Command completed successfully.

Running 'make clean'
Please wait, this may take several minutes...
Command completed successfully.

Running 'make'
Please wait, this may take several minutes...
Command completed successfully.

Running 'su -c "make install"'
Please wait, this may take several minutes...
Command completed successfully.


Build complete.



POST-BUILD COMMANDS
-------------------
OK


HPLIP UPDATE NOTIFICATION
-------------------------
Do you want to check for HPLIP updates?. (y=yes*, n=no) : y


RESTART OR RE-PLUG IS REQUIRED
------------------------------
If you are installing a USB connected printer, and the printer was plugged in
when you started this installer, you will need to either restart your PC or
unplug and re-plug in your printer (USB cable only). If you choose to restart,
run this command after restarting: hp-setup (Note: If you are using a parallel
connection, you will have to restart your PC. If you are using network/wireless,
you can ignore and continue).

Restart or re-plug in your printer (r=restart, p=re-plug in*, i=ignore/continue, q=quit) : r
note:
note: IMPORTANT! Make sure to save all work in all open applications before restarting!
Restart now (y=yes, n=no*, q=quit) ?
J’ai repéré un message d’erreurs (en gras) mais je ne suis pas sur de tous les avoir repérés

Aprés cette installation j’ai bien l’affichage de la fenêtre HPLIP au démarrage mais toujours mon message d’erreur et pas d’accès à l’imprimante

A partir de cette fenêtre, don’t je n’ai pas su utiliser les différents onglets (pour mon malheur en anglais) dans l’onglet “device”, j’ai lancé “diagnose”, dont résultats ci-dessous :
HPLIP Diagnostic du Pilote le 23/01/2022


/usr/share/hplip/check.py:685: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if 'getfacl' not in g and '' is not g and 'file' not in g:

HP Linux Imaging and Printing System (ver. 3.21.10)
Self Diagnse Utility and Healing Utility ver. 1.0

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


HP Linux Imaging and Printing System (ver. 3.21.10)
Self Diagnse Utility and Healing Utility ver. 1.0

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

|Gtk-Message: 15:15:52.555: Failed to load module "canberra-gtk-module"


Checking for Deprecated items....
No Deprecated items are found


Checking for HPLIP updates....

HP Linux Imaging and Printing System (ver. 3.21.10)
HPLIP upgrade latest version ver. 1.0

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

error: Failed to connect to HPLIP site. Error code = 8
error: Failed to connect to HPLIP site. Error code = 8
error: Failed to get latest version of HPLIP.
error: Failed to upgrade latest HPLIP. Is hp-upgrade already running (i.e. foreground or background)?


Checking for Dependencies....

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

Kernel: 5.10.0-20-amd64 #1 SMP Debian 5.10.158-2 (2022-12-13) GNU/Linux
Host: VICTUSG
Proc: 5.10.0-20-amd64 #1 SMP Debian 5.10.158-2 (2022-12-13) GNU/Linux
Distribution: 2 11
Bitness: 64 bit


-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.21.10
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for debian distro 11 version

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

[hplip]
version=3.21.10

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.21.10
html=/usr/share/doc/hplip-3.21.10
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin
apparmor=/etc/apparmor.d
# 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.21.10
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=yes
class-driver=no


Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: No such file or directory

Current contents of '~/.hplip/hplip.conf' file:
[commands]
scan = /usr/bin/simple-scan %SANE_URI%

[fax]
email_address =
voice_phone =

[last_used]
device_uri = "hp:/usb/ENVY_4520_series?serial=TH63H3H0B90660"
printer_name =
working_dir = .

[polling]
device_list =
enable = false
interval = 5

[refresh]
enable = true
rate = 30
type = 1

[settings]
systray_messages = 0
systray_visible = 0

[upgrade]
last_upgraded_time = 1674408253
notify_upgrade = true
pending_upgrade_time = 0

[installation]
date_time = 01/23/23 15:15:53
version = 3.21.10


<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>

-------------------------
| External Dependencies |
-------------------------

cups CUPS - Common Unix Printing System REQUIRED 1.1 2.3.3 OK 'CUPS Scheduler is running'
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.53.3 OK -
Gtk-Message: 15:16:04.963: Failed to load module "canberra-gtk-module"
Gtk-Message: 15:16:04.999: Failed to load module "canberra-gtk-module"
xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 0.999 OK -
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.0.31 OK -
dbus DBus - Message bus system REQUIRED - 1.12.24 OK -
policykit PolicyKit - Administrative policy framework OPTIONAL - 0.105 OK -
network network -wget OPTIONAL - 1.21 OK -
avahi-utils avahi-utils OPTIONAL - 0.8 OK -

------------------------
| General Dependencies |
------------------------

libjpeg libjpeg - JPEG library REQUIRED - - OK -
cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - 2.3.3 OK -
cups-image CUPS image - CUPS image development files REQUIRED - 2.3.3 OK -
libpthread libpthread - POSIX threads library REQUIRED - b'2.31' OK -
libusb libusb - USB library REQUIRED - 1.0 OK -
sane SANE - Scanning library REQUIRED - - OK -
sane-devel SANE - Scanning library development files REQUIRED - - OK -
libavahi-dev libavahi-dev REQUIRED - - OK -
libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.9 OK -
libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.1.1 OK -
python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.9.2 OK -
python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
python3-pyqt5-dbus PyQt 5 DBus - DBus Support for PyQt5 OPTIONAL 5.0 5.15.2 OK -
python3-pyqt5 PyQt 5- Qt interface for Python (for Qt version 4.x) REQUIRED 5.0 5.15.2 OK -
python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.16 OK -
python3-xml Python XML libraries REQUIRED - 2.2.10 OK -
python3-devel Python devel - Python development files REQUIRED 2.2 3.9.2 OK -
python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 9.4.0 OK -
python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 3.6.12 OK -

--------------
| COMPILEDEP |
--------------

libtool libtool - Library building support services REQUIRED - 2.4.6 OK -
gcc gcc - GNU Project C and C++ Compiler REQUIRED - 10.2.1 OK -
make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.3 OK -

---------------------
| Python Extentions |
---------------------

cupsext CUPS-Extension REQUIRED - 3.21.10 OK -
hpmudext IO-Extension REQUIRED - 3.21.10 OK -

----------------------
| Scan Configuration |
----------------------

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

------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------

device `hpaio:/usb/ENVY_4520_series?serial=TH63H3H0B90660' is a Hewlett-Packard ENVY_4520_series all-in-one


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

Device URI Model
-------------------------------- -------------------
hp:/usb/ENVY_4520_series?serial= HP ENVY 4520 series
TH63H3H0B90660

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




Type: Printer
Device URI: hp:/usb/ENVY_4520_series?serial=TH63H3H0B90660
Communication status: Good



Type: Printer
Device URI: hp:/usb/ENVY_4520_series?serial=TH63H3H0B90660
Communication status: Good


--------------
| PERMISSION |
--------------

USB ENVY_4520 Required - - OK Node:'/dev/bus/usb/001/004' Perm:' root lp rw- rw- rw- rw- rw- r--'


Checking for Configured Queues....
error: PPD /etc/cups/ppd/.ppd file not found
warning: is not HP Device.
warning: Fail to read ppd=/etc/cups/ppd/.ppd file
warning: Insufficient permission to access file /etc/cups/ppd/.ppd
warning: Could not complete Queue(s) configuration check


Checking for HP Properitery Plugin's....
No plug-in printers are configured.


Diagnose completed...



More information on Troubleshooting,How-To's and Support is available on http://hplipopensource.com/hplip-web/index.html


Please close this terminal manually.
Le Diagnostic semble complet mais pas mal de manques ou d’erreurs (en gras celles que j’ai cru déceler) don’t je ne sais pas s’il faut les corriger ni comment

Pour Infos à Gauche de l’ecran de mon impimante s’affiche un point d’interrogation, à droite une loupiote bleue clignote ???

Merci d’avance à tous ceux ou celles qui voudront bien s’interesser à mon souci

Cordialement
Avatar de l’utilisateur
dezix
Membre hyper actif
Membre hyper actif
Messages : 3548
Inscription : 04 juin 2016, 14:50
Status : Hors-ligne

Bonjour,

Selon "no system tray detected on this system." | AskUbuntu
tu t'es peut-être donné du mal pour rien en installant le pilote provenant directement de HP ;
surtout que éventuellement tu pouvais installer la version 3.22.10 depuis sid

Donc si je comprends ce qui est décrit dans le liens et si cela correspond à ton cas,
c'est un problème de rapidité/ordre de démarrage entre HPLIP et la barre de notification/tableau de bord de l'Environnement Graphique (gnome),
HPLIP voulant y accéder avant que cela soit prêt pour les applications.

Une des réponses (2020) propose :
la suppression du fichier :

/etc/xdg/autostart/hplip-systray.desktop

Tu peux donc commencer par rechercher si ce fichier existe à cette place sur ton installation avec :

ls -l /etc/xdg/autostart/hplip-systray.desktop

ensuite, plutôt que de supprimer, je te conseille de le renommer :

Code : Tout sélectionner

$ su -
# mv  /etc/xdg/autostart/hplip-systray.desktop{,.hs}
ce qui va changer son nom pour : hplip-systray.desktop.hs (hor-service)

Comme cela du le conserve au moins temporairement.

Après cela, fermer puis réouvrir la session utilisateur devrait suffire à voir le résultat.

Ensuite, pour supprimer la version HP et la remplacer par le paquet debian,
c'est une autre histoire et personnellement je n'ai jamais eu à faire cela,
donc je n'ai pas idée de la procédure.
**Simple Utilisateur** -- Debian stable - XFCE
Avatar de l’utilisateur
dezix
Membre hyper actif
Membre hyper actif
Messages : 3548
Inscription : 04 juin 2016, 14:50
Status : Hors-ligne

Et je ne suis pas certain que l'installation directe se soit totalement bien terminée vu les erreurs mentionnées.

Donc j'opterais pour un retour à la version native debian... en premier lieu.
**Simple Utilisateur** -- Debian stable - XFCE
Avatar de l’utilisateur
piratebab
Site Admin
Site Admin
Messages : 5858
Inscription : 24 avr. 2016, 18:41
Localisation : sud ouest
Status : En ligne

La seule vrai erreur que j'ai repéré, c'est l'absence du module camberra. Je ne connais pas, mais ça doit exister en paquet debian.
Les erreurs erreurs sont par exemple l'impossibilité d'accéder aux serveur de hplip, officiellement pour rechercher les mises à jour.
Avatar de l’utilisateur
dezix
Membre hyper actif
Membre hyper actif
Messages : 3548
Inscription : 04 juin 2016, 14:50
Status : Hors-ligne

Salut!
piratebab a écrit : 26 janv. 2023, 08:09 La seule vrai erreur que j'ai repéré, c'est l'absence du module camberra.

D'accord, mais le problème initial c'est tout de même :
jandelalune a écrit : 23 janv. 2023, 17:37 “No System tray detected on this system unable to start, exiting”

si cela avait été résolu, l'installation de la version HP de hplip n'aurait pas été faite,
et cette nouvelle erreur ne serait jamais survenue.
**Simple Utilisateur** -- Debian stable - XFCE
jandelalune
Membre
Membre
Messages : 157
Inscription : 29 janv. 2018, 19:01
Status : Hors-ligne

Salut à tous et merci pour vos réponses

Toutes mes excuses mais j’ai complètement oublier de terminer ce post

Pour résoudre ma difficulté j’ai essayer la proposition de desix :
“Donc j'opterai pour un retour à la version native debian... en premier lieu.”

1 / J’ai supprimé la version HP de HPLIP (3.21.10)

2 / Je l’ai remplacé par la version du dépot Debian 3.21.2

du coup je suis parvenu à la conclusion que mon imprimante a un problème technique :
je ne peux pas utiliser la cartouche Noir, par contre si j’utilise la cartouche Couleur j’obtiens l’impression en Couleur, et ceci bien que le message d’erreur soit toujours présent

Si je veux imprimer d’autres textes que les miens je devrai donc changer d’imprimante

Je pense que je vais pouvoir marquer “Résolu” ???

Merci pour votre aide

Cordialement
Avatar de l’utilisateur
dezix
Membre hyper actif
Membre hyper actif
Messages : 3548
Inscription : 04 juin 2016, 14:50
Status : Hors-ligne

Salut !
jandelalune a écrit : 14 févr. 2023, 19:05 Je pense que je vais pouvoir marquer “Résolu” ???

C'est à toi d'en juger.

De toutes façons, si tu as des remarques ultérieures pour compléter ....
... ici les règles sont assez souples tant qu'on reste raisonnable :wink:
**Simple Utilisateur** -- Debian stable - XFCE
jandelalune
Membre
Membre
Messages : 157
Inscription : 29 janv. 2018, 19:01
Status : Hors-ligne

Salut dezix et merci

A+
Répondre