Xeno
Ehemalige
(Themenstarter)
Anmeldungsdatum: 6. April 2005
Beiträge: 2554
|
Kellerkind_2009 schrieb: Alles i.O. Mein letzter Versuch
hp-doctor
macht Traceback (most recent call last):
File "/usr/bin/hp-doctor", line 42, in <module>
check_extension_module_env('cupsext')
File "/usr/share/hplip/base/g.py", line 339, in check_extension_module_env
python_ver = xint((sys.version).split(' ')[0]) #find the current python version ; xint() to convert string to int, returns a list
File "/usr/share/hplip/base/g.py", line 331, in xint
return l
UnboundLocalError: local variable 'l' referenced before assignment
und
/usr/bin/hp-toolbox
macht HP Linux Imaging and Printing System (ver. 3.17.10)
HP Device Manager ver. 15.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. Da bleibt übrigens der Cursor im Terminal stehen, nachdem das grafische HP-Programm geöffnet wurde. Lg X.
|
Kellerkind_2009
Anmeldungsdatum: 26. November 2009
Beiträge: 19527
|
Ist echt Verrückt bei dir 😀 python -V zeigt?
|
Xeno
Ehemalige
(Themenstarter)
Anmeldungsdatum: 6. April 2005
Beiträge: 2554
|
Kellerkind_2009 schrieb: Ist echt Verrückt bei dir 😀 python -V zeigt?
Python 2.7.15rc1 Lg X.
|
Kellerkind_2009
Anmeldungsdatum: 26. November 2009
Beiträge: 19527
|
So wie es Aussieht findet Hp diese Version (oder eine andere) wohl nicht oder kann damit nicht Arbeiten 😇 python_ver = xint((sys.version).split(' ')[0]) #find the current python version ; xint() to convert string to int, returns a list Keine Ahnung – Doch den Exorzist beauftragen 😬
|
Kellerkind_2009
Anmeldungsdatum: 26. November 2009
Beiträge: 19527
|
Möchte das mal gerne Abgleichen,dazu dpkg -l | grep python
|
Xeno
Ehemalige
(Themenstarter)
Anmeldungsdatum: 6. April 2005
Beiträge: 2554
|
Kellerkind_2009 schrieb: So wie es Aussieht findet Hp diese Version (oder eine andere) wohl nicht oder kann damit nicht Arbeiten 😇 python_ver = xint((sys.version).split(' ')[0]) #find the current python version ; xint() to convert string to int, returns a list Keine Ahnung – Doch den Exorzist beauftragen 😬
hp-exorzist Nein ist a Spässle. Da es zwar spukt, aber funktioniert, lassen wir es mal? Ich schliesse aber den Thread noch nicht. Vielleicht kommt noch ein HP-Gott vorbei. Lg X.
|
Xeno
Ehemalige
(Themenstarter)
Anmeldungsdatum: 6. April 2005
Beiträge: 2554
|
Kellerkind_2009 schrieb: Möchte das mal gerne Abgleichen,dazu dpkg -l | grep python
gibt ii dh-python 3.20180325ubuntu2 all Debian helper tools for packaging Python libraries and applications
ii hexchat-python3:amd64 2.14.1-2 amd64 Python 3 plugin for HexChat
ii libpython-dev:amd64 2.7.15~rc1-1 amd64 header files and a static library for Python (default)
ii libpython-stdlib:amd64 2.7.15~rc1-1 amd64 interactive high-level object-oriented language (default python version)
ii libpython2.7:amd64 2.7.15~rc1-1 amd64 Shared Python runtime library (version 2.7)
ii libpython2.7-dev:amd64 2.7.15~rc1-1 amd64 Header files and a static library for Python (v2.7)
ii libpython2.7-minimal:amd64 2.7.15~rc1-1 amd64 Minimal subset of the Python language (version 2.7)
ii libpython2.7-stdlib:amd64 2.7.15~rc1-1 amd64 Interactive high-level object-oriented language (standard library, version 2.7)
ii libpython3-dev:amd64 3.6.5-3 amd64 header files and a static library for Python (default)
ii libpython3-stdlib:amd64 3.6.5-3 amd64 interactive high-level object-oriented language (default python3 version)
ii libpython3.6:amd64 3.6.5-3 amd64 Shared Python runtime library (version 3.6)
ii libpython3.6-dev:amd64 3.6.5-3 amd64 Header files and a static library for Python (v3.6)
ii libpython3.6-minimal:amd64 3.6.5-3 amd64 Minimal subset of the Python language (version 3.6)
ii libpython3.6-stdlib:amd64 3.6.5-3 amd64 Interactive high-level object-oriented language (standard library, version 3.6)
ii python 2.7.15~rc1-1 amd64 interactive high-level object-oriented language (default version)
ii python-apt-common 1.6.0 all Python interface to libapt-pkg (locales)
ii python-cairo:amd64 1.16.2-1 amd64 Python bindings for the Cairo vector graphics library
ii python-chardet 3.0.4-1 all universal character encoding detector for Python2
ii python-dbus 1.2.6-1 amd64 simple interprocess messaging system (Python interface)
ii python-dev 2.7.15~rc1-1 amd64 header files and a static library for Python (default)
ii python-gi 3.26.1-2 amd64 Python 2.x bindings for gobject-introspection libraries
ii python-gobject 3.26.1-2 all Python 2.x bindings for GObject - transitional package
ii python-gobject-2 2.28.6-12ubuntu3 amd64 deprecated static Python bindings for the GObject library
ii python-gtk2 2.24.0-5.1ubuntu2 amd64 Python bindings for the GTK+ widget set
ii python-midiutil 1.1.3-1 all Python 2 library to write multi-track MIDI files
ii python-minimal 2.7.15~rc1-1 amd64 minimal subset of the Python language (default version)
ii python-notify 0.1.1-4 amd64 Python bindings for libnotify
ii python-olefile 0.45.1-1 all Python module to read/write MS OLE2 files
ii python-pil:amd64 5.1.0-1 amd64 Python Imaging Library (Pillow fork)
ii python-pkg-resources 39.0.1-2 all Package Discovery and Resource Access using pkg_resources
ii python-qt4 4.12.1+dfsg-2 amd64 Python bindings for Qt4
ii python-qt4-dbus 4.12.1+dfsg-2 amd64 D-Bus Support for PyQt4
ii python-renderpm:amd64 3.4.0-3build1 amd64 python low level render interface
ii python-reportlab 3.4.0-3build1 all ReportLab library to create PDF documents using Python
ii python-reportlab-accel:amd64 3.4.0-3build1 amd64 C coded extension accelerator for the ReportLab Toolkit
ii python-sip 4.19.7+dfsg-1 amd64 Python/C++ bindings generator runtime library
ii python-talloc 2.1.10-2ubuntu1 amd64 hierarchical pool based memory allocator - Python bindings
ii python2.7 2.7.15~rc1-1 amd64 Interactive high-level object-oriented language (version 2.7)
ii python2.7-dev 2.7.15~rc1-1 amd64 Header files and a static library for Python (v2.7)
ii python2.7-minimal 2.7.15~rc1-1 amd64 Minimal subset of the Python language (version 2.7)
ii python3 3.6.5-3 amd64 interactive high-level object-oriented language (default python3 version)
ii python3-apport 2.20.9-0ubuntu7 all Python 3 library for Apport crash report handling
ii python3-apt 1.6.0 amd64 Python 3 interface to libapt-pkg
ii python3-aptdaemon 1.1.1+bzr982-0ubuntu19 all Python 3 module for the server and client of aptdaemon
ii python3-aptdaemon.gtk3widgets 1.1.1+bzr982-0ubuntu19 all Python 3 GTK+ 3 widgets to run an aptdaemon client
ii python3-asn1crypto 0.24.0-1 all Fast ASN.1 parser and serializer (Python 3)
ii python3-brlapi 5.5-4ubuntu2 amd64 Braille display access via BRLTTY - Python3 bindings
ii python3-cairo:amd64 1.16.2-1 amd64 Python3 bindings for the Cairo vector graphics library
ii python3-certifi 2018.1.18-2 all root certificates for validating SSL certs and verifying TLS hosts (python3)
ii python3-cffi-backend 1.11.5-1 amd64 Foreign Function Interface for Python 3 calling C code - runtime
ii python3-chardet 3.0.4-1 all universal character encoding detector for Python3
ii python3-commandnotfound 18.04.4 all Python 3 bindings for command-not-found.
ii python3-crypto 2.6.1-8ubuntu2 amd64 cryptographic algorithms and protocols for Python 3
ii python3-cryptography 2.1.4-1ubuntu1.1 amd64 Python library exposing cryptographic recipes and primitives (Python 3)
ii python3-cups 1.9.73-2 amd64 Python3 bindings for CUPS
ii python3-cupshelpers 1.5.11-1ubuntu2 all Python utility modules around the CUPS printing system
ii python3-dbus 1.2.6-1 amd64 simple interprocess messaging system (Python 3 interface)
ii python3-dbus.mainloop.pyqt5 5.10.1+dfsg-1ubuntu2 amd64 D-Bus Qt main loop support for Python 3
ii python3-dbus.mainloop.qt 4.12.1+dfsg-2 amd64 D-Bus Support for PyQt4 with Python 3
ii python3-debconf 1.5.66 all interact with debconf from Python 3
ii python3-debian 0.1.32 all Python 3 modules to work with Debian-related data formats
ii python3-defer 1.0.6-2build1 all Small framework for asynchronous programming (Python 3)
ii python3-dev 3.6.5-3 amd64 header files and a static library for Python (default)
ii python3-distro-info 0.18 all information about distributions' releases (Python 3 module)
ii python3-distupgrade 1:18.04.17 all manage release upgrades
ii python3-distutils 3.6.5-3 all distutils package for Python 3.x
ii python3-gdbm:amd64 3.6.5-3 amd64 GNU dbm database support for Python 3.x
ii python3-gi 3.26.1-2 amd64 Python 3 bindings for gobject-introspection libraries
ii python3-gi-cairo 3.26.1-2 amd64 Python 3 Cairo bindings for the GObject library
ii python3-httplib2 0.9.2+dfsg-1 all comprehensive HTTP client library written for Python3
ii python3-idna 2.6-1 all Python IDNA2008 (RFC 5891) handling (Python 3)
ii python3-keyring 10.6.0-1 all store and access your passwords safely - Python 3 version of the package
ii python3-keyrings.alt 3.0-1 all alternate backend implementations for python3-keyring
ii python3-launchpadlib 1.10.6-1 all Launchpad web services client library (Python 3)
ii python3-lazr.restfulclient 0.13.5-1 all client for lazr.restful-based web services (Python 3)
ii python3-lazr.uri 1.0.3-2build1 all library for parsing, manipulating, and generating URIs
ii python3-lib2to3 3.6.5-3 all Interactive high-level object-oriented language (2to3, version 3.6)
ii python3-louis 3.5.0-1 all Python bindings for liblouis
ii python3-macaroonbakery 1.1.3-1 all Higher-level macaroon operations for Python 3
ii python3-mako 1.0.7+ds1-1 all fast and lightweight templating for the Python 3 platform
ii python3-markupsafe 1.0-1build1 amd64 HTML/XHTML/XML string library for Python 3
ii python3-minimal 3.6.5-3 amd64 minimal subset of the Python language (default python3 version)
ii python3-nacl 1.1.2-1build1 amd64 Python bindings to libsodium (Python 3)
ii python3-notify2 0.3-3 all desktop notifications API for Python 3
ii python3-oauth 1.0.1-5 all Python 3 library implementing of the OAuth protocol
ii python3-olefile 0.45.1-1 all Python module to read/write MS OLE2 files
ii python3-pexpect 4.2.1-1 all Python 3 module for automating interactive applications
ii python3-pil:amd64 5.1.0-1 amd64 Python Imaging Library (Python3)
ii python3-pkg-resources 39.0.1-2 all Package Discovery and Resource Access using pkg_resources
ii python3-problem-report 2.20.9-0ubuntu7 all Python 3 library to handle problem reports
ii python3-protobuf 3.0.0-9.1ubuntu1 amd64 Python 3 bindings for protocol buffers
ii python3-psutil 5.4.2-1 amd64 module providing convenience functions for managing processes (Python3)
ii python3-ptyprocess 0.5.2-1 all Run a subprocess in a pseudo terminal from Python 3
ii python3-pyatspi 2.26.0+dfsg-1 all Assistive Technology Service Provider Interface - Python3 bindings
ii python3-pymacaroons 0.13.0-1 all Macaroon library for Python 3
ii python3-pyqt4 4.12.1+dfsg-2 amd64 Python3 bindings for Qt4
ii python3-pyqt5 5.10.1+dfsg-1ubuntu2 amd64 Python 3 bindings for Qt5
ii python3-renderpm:amd64 3.4.0-3build1 amd64 python low level render interface
ii python3-reportlab 3.4.0-3build1 all ReportLab library to create PDF documents using Python3
ii python3-reportlab-accel:amd64 3.4.0-3build1 amd64 C coded extension accelerator for the ReportLab Toolkit
ii python3-requests 2.18.4-2 all elegant and simple HTTP library for Python3, built for human beings
ii python3-requests-unixsocket 0.1.5-3 all Use requests to talk HTTP via a UNIX domain socket - Python 3.x
ii python3-rfc3339 1.0-4 all parser and generator of RFC 3339-compliant timestamps (Python 3)
ii python3-secretstorage 2.3.1-2 all Python module for storing secrets - Python 3.x version
ii python3-simplejson 3.13.2-1 amd64 simple, fast, extensible JSON encoder/decoder for Python 3.x
ii python3-sip 4.19.7+dfsg-1 amd64 Python 3/C++ bindings generator runtime library
ii python3-six 1.11.0-2 all Python 2 and 3 compatibility library (Python 3 interface)
ii python3-software-properties 0.96.24.32.2 all manage the repositories that you install software from
ii python3-speechd 0.8.8-1ubuntu1 all Python interface to Speech Dispatcher
ii python3-systemd 234-1build1 amd64 Python 3 bindings for systemd
ii python3-tz 2018.3-2 all Python3 version of the Olson timezone database
ii python3-uno 1:6.0.3-0ubuntu1 amd64 Python-UNO bridge
ii python3-update-manager 1:18.04.11 all python 3.x module for update-manager
ii python3-urllib3 1.22-1 all HTTP library with thread-safe connection pooling for Python3
ii python3-wadllib 1.3.2-3 all Python 3 library for navigating WADL files
ii python3-xdg 0.25-4ubuntu1 all Python 3 library to access freedesktop.org standards
ii python3-xkit 0.5.0ubuntu2 all library for the manipulation of xorg.conf files (Python 3)
ii python3-yaml 3.12-1build2 amd64 YAML parser and emitter for Python3
ii python3-zope.interface 4.3.2-1build2 amd64 Interfaces for Python3
ii python3.6 3.6.5-3 amd64 Interactive high-level object-oriented language (version 3.6)
ii python3.6-dev 3.6.5-3 amd64 Header files and a static library for Python (v3.6)
ii python3.6-minimal 3.6.5-3 amd64 Minimal subset of the Python language (version 3.6) Lg X.
|
Kellerkind_2009
Anmeldungsdatum: 26. November 2009
Beiträge: 19527
|
Zeige mal folgendes python3 /usr/bin/hp-doctor python /usr/bin/hp-doctor python2 /usr/bin/hp-doctor sudo systemctl status avahi-daemon.service sudo locate cupsext
|
Kellerkind_2009
Anmeldungsdatum: 26. November 2009
Beiträge: 19527
|
Siehe mal was HP schreibt wegen dem Fehler check_extension_module_env('cupsext') Antwort Dies geschieht, wenn HPLIP mit einer Python-Version installiert ist und Sie HPLIP mit einer anderen Python-Version ausführen.
Beispielsweise wurde HPLIP mit python2.x installiert und die Tools mit python3.x ausgeführt. 😉 https://developers.hp.com/hp-linux-imaging-and-printing/KnowledgeBase/Troubleshooting/TroubleshootErrors
|
Xeno
Ehemalige
(Themenstarter)
Anmeldungsdatum: 6. April 2005
Beiträge: 2554
|
Kellerkind_2009 schrieb: python3 /usr/bin/hp-doctor
ergibt HP Linux Imaging and Printing System (ver. 3.17.10)
Self Diagnse Utility and Healing Utility ver. 1.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.
HP Linux Imaging and Printing System (ver. 3.17.10)
Self Diagnse Utility and Healing Utility ver. 1.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.
\Gtk-Message: 10:45:23.632: Failed to load module "canberra-gtk-module"
Checking for Deprecated items....
error: This distro (i.e ubuntu 18.04) is either deprecated or not yet supported.
The diagnosis is limited on unsupported platforms. Do you want to continue?(y=yes*, n=no): Eingaben würden zur Neuinstallation von hplip führen, was ja schon mehrfach durchgespielt wurde. Lg X.
|
Xeno
Ehemalige
(Themenstarter)
Anmeldungsdatum: 6. April 2005
Beiträge: 2554
|
Kellerkind_2009 schrieb: python /usr/bin/hp-doctor
gibt Traceback (most recent call last):
File "/usr/bin/hp-doctor", line 42, in <module>
check_extension_module_env('cupsext')
File "/usr/share/hplip/base/g.py", line 339, in check_extension_module_env
python_ver = xint((sys.version).split(' ')[0]) #find the current python version ; xint() to convert string to int, returns a list
File "/usr/share/hplip/base/g.py", line 331, in xint
return l
UnboundLocalError: local variable 'l' referenced before assignment Lg X.
|
Xeno
Ehemalige
(Themenstarter)
Anmeldungsdatum: 6. April 2005
Beiträge: 2554
|
Kellerkind_2009 schrieb: python2 /usr/bin/hp-doctor
gibt Traceback (most recent call last):
File "/usr/bin/hp-doctor", line 42, in <module>
check_extension_module_env('cupsext')
File "/usr/share/hplip/base/g.py", line 339, in check_extension_module_env
python_ver = xint((sys.version).split(' ')[0]) #find the current python version ; xint() to convert string to int, returns a list
File "/usr/share/hplip/base/g.py", line 331, in xint
return l
UnboundLocalError: local variable 'l' referenced before assignment Lg X.
|
Xeno
Ehemalige
(Themenstarter)
Anmeldungsdatum: 6. April 2005
Beiträge: 2554
|
Kellerkind_2009 schrieb: sudo systemctl status avahi-daemon.service
ergibt
avahi-daemon.service - Avahi mDNS/DNS-SD Stack
Loaded: loaded (/lib/systemd/system/avahi-daemon.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2018-05-22 10:42:50 CEST; 6min ago
Main PID: 923 (avahi-daemon)
Status: "avahi-daemon 0.7 starting up."
Tasks: 2 (limit: 4915)
CGroup: /system.slice/avahi-daemon.service
├─923 avahi-daemon: running [BENUTZERNAME-desktop.local]
└─931 avahi-daemon: chroot helper
Mai 22 10:42:50 BENUTZERNAME-desktop avahi-daemon[923]: Registering new address record for ::1 on lo.*.
Mai 22 10:42:50 BENUTZERNAME-desktop avahi-daemon[923]: Registering new address record for 127.0.0.1 on lo.IPv4.
Mai 22 10:42:50 BENUTZERNAME-desktop systemd[1]: Started Avahi mDNS/DNS-SD Stack.
Mai 22 10:42:51 BENUTZERNAME-desktop avahi-daemon[923]: Server startup complete. Host name is BENUTZERNAME-desktop.local. Local service cookie is 3339933794.
Mai 22 10:42:54 BENUTZERNAME-desktop avahi-daemon[923]: Joining mDNS multicast group on interface enp0s25.IPv4 with address 192.168.178.41.
Mai 22 10:42:54 BENUTZERNAME-desktop avahi-daemon[923]: New relevant interface enp0s25.IPv4 for mDNS.
Mai 22 10:42:54 BENUTZERNAME-desktop avahi-daemon[923]: Registering new address record for 192.168.178.41 on enp0s25.IPv4.
Mai 22 10:42:56 BENUTZERNAME-desktop avahi-daemon[923]: Joining mDNS multicast group on interface enp0s25.IPv6 with address fe80::def5:b650:55ea:8432.
Mai 22 10:42:56 BENUTZERNAME-desktop avahi-daemon[923]: New relevant interface enp0s25.IPv6 for mDNS.
Mai 22 10:42:56 BENUTZERNAME-desktop avahi-daemon[923]: Registering new address record for fe80::def5:b650:55ea:8432 on enp0s25.*. Lg X.
|
Xeno
Ehemalige
(Themenstarter)
Anmeldungsdatum: 6. April 2005
Beiträge: 2554
|
Kellerkind_2009 schrieb: sudo locate cupsext
ist /home/BENUTZERNAME/hplip/hplip-3.18.4/cupsext.la
/home/BENUTZERNAME/hplip/hplip-3.18.4/cupsext_la-cupsext.lo
/home/BENUTZERNAME/hplip/hplip-3.18.4/.deps/cupsext_la-cupsext.Plo
/home/BENUTZERNAME/hplip/hplip-3.18.4/.libs/cupsext.la
/home/BENUTZERNAME/hplip/hplip-3.18.4/.libs/cupsext.lai
/home/BENUTZERNAME/hplip/hplip-3.18.4/.libs/cupsext.so
/home/BENUTZERNAME/hplip/hplip-3.18.4/.libs/cupsext.soT
/home/BENUTZERNAME/hplip/hplip-3.18.4/.libs/cupsext_la-cupsext.o
/home/BENUTZERNAME/hplip/hplip-3.18.4/prnt/cupsext
/home/BENUTZERNAME/hplip/hplip-3.18.4/prnt/cupsext/cupsext.c
/home/BENUTZERNAME/hplip/hplip-3.18.4/prnt/cupsext/cupsext.h
/home/BENUTZERNAME/hplip-3.18.4/cupsext.la
/home/BENUTZERNAME/hplip-3.18.4/cupsext_la-cupsext.lo
/home/BENUTZERNAME/hplip-3.18.4/.deps/cupsext_la-cupsext.Plo
/home/BENUTZERNAME/hplip-3.18.4/.libs/cupsext.la
/home/BENUTZERNAME/hplip-3.18.4/.libs/cupsext.lai
/home/BENUTZERNAME/hplip-3.18.4/.libs/cupsext.so
/home/BENUTZERNAME/hplip-3.18.4/.libs/cupsext.soT
/home/BENUTZERNAME/hplip-3.18.4/.libs/cupsext_la-cupsext.o
/home/BENUTZERNAME/hplip-3.18.4/prnt/cupsext
/home/BENUTZERNAME/hplip-3.18.4/prnt/cupsext/cupsext.c
/home/BENUTZERNAME/hplip-3.18.4/prnt/cupsext/cupsext.h
/usr/lib/python3/dist-packages/cupsext.cpython-36m-x86_64-linux-gnu.so
Lg X.
|
Kellerkind_2009
Anmeldungsdatum: 26. November 2009
Beiträge: 19527
|
Xeno schrieb:
python3 /usr/bin/hp-doctor Checking for Deprecated items....
error: This distro (i.e ubuntu 18.04) is either deprecated or not yet supported.
The diagnosis is limited on unsupported platforms. Do you want to continue?(y=yes*, n=no):
}}} Eingaben würden zur Neuinstallation von hplip führen, was ja schon mehrfach durchgespielt wurde. Lg X.
Richtig,das ist das Merkwürdige 😕 Letzten endes hat Ubuntu 18.04 eine HPlip Version in den Quellen die nicht Supportet ist.
|