Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: HPLIP probleem  (gelezen 1176 keer)

HPLIP probleem
« Gepost op: 2019/01/29, 09:22:07 »
Ubuntu 18.10
Krijg twee problemen:
1) warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.
2) No systemtrayicon available.

Kan men dit oplossen?
 ???

$ sh hplip-3.19.1.run                 
Creating directory hplip-3.19.1
Verifying archive integrity... All good.
Uncompressing HPLIP 3.19.1 Self Extracting Archive...chown: veranderen van de eigenaar van './.libs/hpmudext.soT': Actie is niet toegestaan
chown: veranderen van de eigenaar van './.libs/libhpmud.so.0.0.6T': Actie is niet toegestaan
chown: veranderen van de eigenaar van './.libs/libsane-hpaio.so.1.0.0T': Actie is niet toegestaan
chown: veranderen van de eigenaar van './.libs/libhpipp.so.0.0.1T': Actie is niet toegestaan
chown: veranderen van de eigenaar van './.libs/cupsext.soT': Actie is niet toegestaan
chgrp: veranderen van de groep van './.libs/hpmudext.soT': Actie is niet toegestaan
chgrp: veranderen van de groep van './.libs/libhpmud.so.0.0.6T': Actie is niet toegestaan
chgrp: veranderen van de groep van './.libs/libsane-hpaio.so.1.0.0T': Actie is niet toegestaan
chgrp: veranderen van de groep van './.libs/libhpipp.so.0.0.1T': Actie is niet toegestaan
chgrp: veranderen van de groep van './.libs/cupsext.soT': Actie is niet toegestaan


HP Linux Imaging and Printing System (ver. 3.19.1)
HPLIP Installer ver. 5.1

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

Installer log saved in: hplip-install_Tue-29-Jan-2019_08:57:41.log

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

INSTALLATION MODE
-----------------
Automatic mode will install the full HPLIP solution with the most common options.
Custom mode allows you to choose installation options to fit specific requirements.

Please choose the installation mode (a=automatic*, c=custom, q=quit) : a


INTRODUCTION
------------
This installer will install HPLIP version 3.19.1 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).


DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Ubuntu 18.10.

Is "Ubuntu 18.10" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y

Initializing. Please wait...


ENTER USER PASSWORD
-------------------
Please enter the sudoer (seghers)'s password:
 

INSTALLATION NOTES
------------------
Enable the universe/multiverse repositories. Also be sure you are using the Ubuntu "Main" Repositories. See: https://help.ubuntu.com/community/Repositories/Ubuntu for more information.  Disable the CD-ROM/DVD source if you do not have the Ubuntu installation media inserted in the drive.

Please read the installation notes. Press <enter> to continue or 'q' to quit:


SECURITY PACKAGES
-----------------
AppArmor is installed.
AppArmor protects the application from external intrusion attempts making the application secure

Would you like to have this installer install the hplip specific policy/profile (y=yes*, n=no, q=quit) ? y


RUNNING PRE-INSTALL COMMANDS
----------------------------
OK


CHECKING FOR NETWORK CONNECTION
-------------------------------
Network connection present.


RUNNING PRE-PACKAGE COMMANDS
----------------------------
sudo dpkg --configure -a (Pre-depend step 1)
sudo apt-get install --yes --force-yes -f (Pre-depend step 2)
sudo apt-get update (Pre-depend step 3)
OK


DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
HPLIP-3.19.1 exists, this may conflict with the new one being installed.
Do you want to ('i'= Remove and Install*, 'q'= Quit)?    :i
Starting uninstallation...
HPLIP uninstallation is completed


RUNNING POST-PACKAGE COMMANDS
-----------------------------
OK


RE-CHECKING DEPENDENCIES
------------------------
OK


RUNNING SCANJET DEPENDENCY COMMANDS
-----------------------------------
sudo apt-get install --assume-yes python-pip (Scanjet-depend step 1)
sudo pip2 install --upgrade pip (Scanjet-depend step 2)
sudo apt-get install --assume-yes libleptonica-dev (Scanjet-depend step 3)
sudo apt-get install --assume-yes tesseract-ocr (Scanjet-depend step 4)
sudo apt-get install --assume-yes libtesseract-dev (Scanjet-depend step 5)
sudo -H pip2 install tesserocr (Scanjet-depend step 6)
[b]warning: Failed to install this Scanjet dependency package. Some Scanjet features will not work.[/b]
sudo apt-get install --assume-yes tesseract-ocr-all (Scanjet-depend step 7)
sudo apt-get install --assume-yes libzbar-dev (Scanjet-depend step 8)
sudo apt-get install --assume-yes python-zbar (Scanjet-depend step 9)
sudo -H pip2 install opencv-python (Scanjet-depend step 10)
sudo -H pip2 install PyPDF2 (Scanjet-depend step 11)
sudo -H pip2 install imutils (Scanjet-depend step 12)
sudo -H pip2 install pypdfocr (Scanjet-depend step 13)
sudo -H pip2 install scikit-image (Scanjet-depend step 14)
OK


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


BUILD AND INSTALL
-----------------
Running './configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib --prefix=/usr --enable-qt4 --disable-qt5 --enable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --disable-libusb01_build --disable-foomatic-ppd-install --disable-hpijs-install --disable-class-driver --disable-udev_sysfs_rules --disable-policykit --enable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build --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 'sudo make install'
Please wait, this may take several minutes...
Command completed successfully.


Build complete.



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

CLOSE HP_SYSTRAY
----------------
Sending close message to hp-systray (if it is currently running)...
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) : i


PRINTER SETUP
-------------
Please make sure your printer is connected and powered on at this time.
Do you want to setup printer in GUI mode? (u=GUI mode*, i=Interactive mode) : u

HP Linux Imaging and Printing System (ver. 3.19.1)
Printer/Fax Setup Utility ver. 9.0

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

Searching... (bus=usb, search=(None), desc=0)
 
Done.


RE-STARTING HP_SYSTRAY
----------------------

HP Linux Imaging and Printing System (ver. 3.19.1)
System Tray Status Service ver. 2.0

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

/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:127: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK
  set_interactive(1)
[b]No systemtrayicon available[/b]

Offline Ron

  • Forumteam
    • r0n
    • Over Tholen
Re: HPLIP probleem
« Reactie #1 Gepost op: 2019/01/29, 09:26:05 »
Waarom gebruik je een pakket buiten de Ubuntu repositries om?
Gewoon in een terminal sudo apt install hplip-gui en alles zou moeten werken........
Openstandaard Evangelist, OpenSource Promotor, OpenData voorstander.
Xubuntu gebruiker en voorstander
Er is ook nog een andere hobby.

Re: HPLIP probleem
« Reactie #2 Gepost op: 2019/01/29, 11:03:38 »
$ sudo apt install hplip-gui
[sudo] wachtwoord voor seghers:
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd       
De statusinformatie wordt gelezen... Klaar
hplip-gui is reeds de nieuwste versie (3.18.7+dfsg1-2ubuntu2).
0 opgewaardeerd, 0 nieuw geïnstalleerd, 0 te verwijderen en 0 niet opgewaardeerd.

Dit geeft nog steeds geen oplossing tot de steeds wederkerende melding :
HPLIP Status Service
No system tray detected on this system
Unable to start, exiting.
 ???

Offline Ron

  • Forumteam
    • r0n
    • Over Tholen
Re: HPLIP probleem
« Reactie #3 Gepost op: 2019/01/29, 11:34:24 »
Heb je wel de printer toegevoegd met het HP programma HPLIP Toolbox?
Openstandaard Evangelist, OpenSource Promotor, OpenData voorstander.
Xubuntu gebruiker en voorstander
Er is ook nog een andere hobby.

Re: HPLIP probleem
« Reactie #4 Gepost op: 2019/01/29, 12:08:19 »
Zie bijlage aub.

Offline Ron

  • Forumteam
    • r0n
    • Over Tholen
Re: HPLIP probleem
« Reactie #5 Gepost op: 2019/01/29, 12:20:32 »
Misschien een keer de printer verwijderen en opnieuw installeren?
Meer ideeën heb ik niet........
Openstandaard Evangelist, OpenSource Promotor, OpenData voorstander.
Xubuntu gebruiker en voorstander
Er is ook nog een andere hobby.

Re: HPLIP probleem
« Reactie #6 Gepost op: 2019/01/29, 17:18:54 »
OK
Bedankt voor de reacties.

Re: HPLIP probleem
« Reactie #7 Gepost op: 2019/02/01, 16:25:58 »
Beetje laat maar ik vond deze oplossing:

Verwijder dit bestandje:

etc/xdg/autostart/hplip-systray.desktop
OS: Ubuntu Gnome 22.04/Xubuntu 22.04; Windows 10 (dualboot) en RPI 2, 3 en 4: Bitwarden en Pihole (rpi2) Bullseye xfce, Retropie en Twister
***Steunpunt***  voor andere steunpunten: https://kaart.ubuntu-nl.org/
                    "Echte wijsheid is weten wat je niet weet"