[Pkg-hpijs-devel] Bug#697024: hplip-gui: hp-toolbox won't start : NameError: global name 'HPLIP_WEB_SITE' is not defined

Olivier Berger oberger at ouvaton.org
Sun Dec 30 21:47:24 UTC 2012


Package: hplip-gui
Version: 3.12.6-3
Severity: normal

Hi.

hp-toolbox won't start :

$ hp-toolbox 

HP Linux Imaging and Printing System (ver. 3.12.6)
HP Device Manager ver. 15.0

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

Traceback (most recent call last):
  File "/usr/bin/hp-toolbox", line 257, in <module>
    toolbox = DevMgr5(__version__, device_uri,  None)
  File "/usr/share/hplip/ui4/devmgr5.py", line 204, in __init__
    if not utils.Is_HPLIP_older_version( installed_version,  self.user_settings.latest_available_version):
  File "/usr/share/hplip/base/utils.py", line 1869, in Is_HPLIP_older_version
    log.error("Failed to get the latest version. Check out %s for manually installing latest version of HPLIP."%HPLIP_WEB_SITE)
NameError: global name 'HPLIP_WEB_SITE' is not defined

Hope this helps.

Best regards,

-- Package-specific info:

HP Linux Imaging and Printing System (ver. 3.12.6)
Dependency/Version Check Utility ver. 15

Copyright (c) 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/olivier/hp-check.log

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

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

 Kernel: 3.2.0-4-686-pae #1 SMP Debian 3.2.35-2 GNU/Linux
 Host: asustour
 Proc: 3.2.0-4-686-pae #1 SMP Debian 3.2.35-2 GNU/Linux
 Distribution: debian 7.0

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

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

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

[hplip]
version=3.12.6

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

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.12.6
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
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: No such file or directory

Current contents of '~/.hplip/hplip.conf' file:
[upgrade]
latest_available_version = 3.12.11 Public Release</a><br />')
notify_upgrade = false
last_upgraded_time = 1356894541.38155
pending_upgrade_time = 0

[last_used]
device_uri = "hp:/usb/Photosmart_C4700_series?serial=CN98OH927Z05CN"
printer_name = 
working_dir = .

[settings]
systray_visible = 0
systray_messages = 0

[commands]
scan = /usr/bin/simple-scan %SANE_URI%

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

[polling]
enable = false
interval = 5
device_list = 

[fax]
voice_phone = 
email_address = 

[installation]
date_time = 12/30/12 22:46:00
version = 3.12.6


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

--------------------------
|  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         -
 error: libnetsnmp-devel SNMP-Networking-SDK       REQUIRED        5.0.9           5.4.3           MISSING    'libnetsnmp-devel needs to be installed'
 python-xml           Python-XML-Lib            REQUIRED        -               2.1.0           OK         -
 python-notify        Desktop-notifications     OPTIONAL        -               -               OK         -

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

 cupsext              CUPS-Extension            REQUIRED        -               3.12.6          OK         -
 pcardext             PhotoCard-Extension       REQUIRED        -               3.12.6          OK         -
 hpmudext             IO-Extension              REQUIRED        -               3.12.6          OK         -

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

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

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

device `hpaio:/usb/Photosmart_C4700_series?serial=CN98OH927Z05CN' is a Hewlett-Packard Photosmart_C4700_series all-in-one
device `hpaio:/net/Photosmart_6510_series?ip=192.168.3.150' is a Hewlett-Packard Photosmart_6510_series all-in-one


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

  Device URI                                             Model                         
  -----------------------------------------------------  ------------------------------
  hp:/usb/Photosmart_C4700_series?serial=CN98OH927Z05CN  HP Photosmart C4700 series    

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


Photosmart_6510
---------------
Type: Printer
Device URI: hp:/net/Photosmart_6510_series?ip=192.168.3.150
PPD: /etc/cups/ppd/Photosmart_6510.ppd
PPD Description: HP Photosmart 6510 Series, hpcups 3.12.10a
Printer status: printer Photosmart_6510 is idle.  enabled since Sat 17 Nov 2012 02:51:13 PM CET
Communication status: Good

Photosmart_C4700
----------------
Type: Printer
Device URI: hp:/usb/Photosmart_C4700_series?serial=CN98OH927Z05CN
PPD: /etc/cups/ppd/Photosmart_C4700.ppd
PPD Description: HP Photosmart c4700 Series, hpcups 3.12.6
Printer status: printer Photosmart_C4700 is idle.  enabled since Sun 30 Dec 2012 08:09:52 PM CET
	ready to print
Communication status: Good


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

groups          user-groups                    Required        -        -        OK       olivier disk lp dialout cdrom floppy sudo audio video plugdev lpadmin mediatomb

USB             Photosmart_C4700               Required        -        -        OK       Node:'/dev/bus/usb/003/002' Perm:'  root  lp  --t rw- rw- rw- rw- r--'

-----------
| SELINUX |
-----------

SELinux         disabled        Optional   -   -   OK       -

-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
error: 'libsnmp-dev' 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.

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (650, 'testing'), (500, 'testing-proposed-updates')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hplip-gui depends on:
ii  dbus-x11         1.6.8-1
ii  gksu             2.0.2-6
ii  hplip            3.12.6-3
ii  kde-runtime      4:4.8.4-2
ii  kdebase-bin      4:4.8.4-2
ii  kdebase-runtime  4:4.8.4-2
ii  python-qt4       4.9.3-4
ii  python-qt4-dbus  4.9.3-4

Versions of packages hplip-gui recommends:
ii  python-notify  0.1.1-3
ii  simple-scan    3.4.2-1
ii  xsane          0.998-3+b1

hplip-gui suggests no packages.

-- no debconf information



More information about the Pkg-hpijs-devel mailing list