error with hp-setup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
hplib-3.14.1.run
O/S: ubuntu 12.04
printer HP3520
running hp-setup
select 802.11/wireless
connect usb cable
desired printer displayed in selection box.
click next and receive following error: Unicode Error
Traceback (most recent call last):
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
self.
File "/usr/share/
name = self.networks[
KeyError: 'ssid-7'
below is the results for hp-doctor:
HP Linux Imaging and Printing System (ver. 3.14.1)
Self Diagnse Utility and Healing Utility ver. 1.0
Copyright (c) 2001-13 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.
Checking for Deprecated items....
No Deprecated items are found
Checking for HPLIP updates....
Latest version of HPLIP is already installed.
Checking for Dependencies....
---------------
| SYSTEM INFO |
---------------
Kernel: 3.8.0-35-generic #50~precise1-Ubuntu SMP Wed Dec 4 17:25:51 UTC 2013 GNU/Linux
Host: ubuntu
Proc: 3.8.0-35-generic #50~precise1-Ubuntu SMP Wed Dec 4 17:25:51 UTC 2013 GNU/Linux
Distribution: ubuntu 12.04
Bitness: 64 bit
-------
| HPLIP CONFIGURATION |
-------
HPLIP-Version: HPLIP 3.14.1
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for ubuntu distro 12.04 version
Current contents of '/etc/hp/
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.14.1
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
html=/usr/
icon=/usr/
cupsbackend=
cupsfilter=
drv=/usr/
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-
foomatic-
foomatic-
hpcups-install=yes
cups-drv-
cups-ppd-install=no
internal-tag=3.14.1
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
lite-build=no
udev-acl-rules=yes
udev_sysfs_rules=no
hpcups-
hpijs-only-build=no
Current contents of '/var/lib/
Plugins are not installed. Could not access file: No such file or directory
Current contents of '~/.hplip/
[upgrade]
notify_upgrade = true
last_upgraded_time = 1390792945
pending_
latest_
[installation]
date_time = 01/26/2014 23:11:19
version = 3.14.1
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
-------
| External Dependencies |
-------
policykit Admin-Policy-
gs Ghostscript REQUIRED 7.05 9.05 OK -
network Network-wget OPTIONAL - 1.13.4 OK -
scanimage Shell-Scanning OPTIONAL 1.0 1.0.22 OK -
avahi-utils avahi-utils OPTIONAL - 0.6.30 OK -
dbus DBus REQUIRED - 1.4.18 OK -
cups CUPS REQUIRED 1.1 1.5.3 OK 'CUPS Scheduler is running'
xsane SANE-GUI OPTIONAL 0.9 0.998 OK -
-------
| 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.1 OK -
libjpeg JPEG-Lib REQUIRED - - OK -
libpthread POSIX-Threads-Lib REQUIRED - 2.15 OK -
python-dbus Python-DBUS REQUIRED 0.80.0 1.0.0 OK -
python-devel Python-SDK REQUIRED 2.2 2.7.3 OK -
pyqt4 Python-Qt4 REQUIRED 4.0 4.9.1 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.0.1 OK -
python-notify Desktop-
-------
| Compile Time Dependencies |
-------
gcc gcc-Compiler REQUIRED - 4.6.3 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.14.1 OK -
pcardext PhotoCard-Extension REQUIRED - 3.14.1 OK -
hpmudext IO-Extension REQUIRED - 3.14.1 OK -
-------
| Scan Configuration |
-------
hpaio HPLIP-SANE-Backend REQUIRED - 3.14.1 OK 'hpaio found in /etc/sane.
scanext Scan-SANE-Extension REQUIRED - 3.14.1 OK -
-------
| DISCOVERED SCANNER DEVICES |
-------
device `hpaio:
-------
| DISCOVERED USB DEVICES |
-------
Device URI Model
-----
hp:/usb/
al=CN2761388M05SY
-------
| INSTALLED CUPS PRINTER QUEUES |
-------
lpstat
------
Type: Unknown
Device URI: No destinations added.
--------------
| PERMISSION |
--------------
USB None Required - - OK Node:'/
Checking for Configured Queues....
No Queue added
warning: No Queue(s) configured.
Checking for HP Properitery Plugin's....
HP Properitery Plugin's are not required as no plug-in printer is present.
Diagnose completed...
More information on Troubleshooting
jeff@ubuntu:~$ error: Unicode Error
error:: command not found
jeff@ubuntu:~$ Traceback (most recent call last):
bash: syntax error near unexpected token `most'
jeff@ubuntu:~$ File "/usr/share/
No command 'File' found, did you mean:
Command 'vile' from package 'vile' (universe)
Command 'zile' from package 'zile' (universe)
Command 'kile' from package 'kile' (universe)
Command 'file' from package 'file' (main)
File: command not found
jeff@ubuntu:~$ self.showNetwor
> File "/usr/share/
bash: syntax error near unexpected token `File'
jeff@ubuntu:~$ self.performScan()
> File "/usr/share/
bash: syntax error near unexpected token `File'
jeff@ubuntu:~$ self.loadNetwor
> File "/usr/share/
bash: syntax error near unexpected token `File'
jeff@ubuntu:~$ name = self.networks[
No command 'name' found, did you mean:
Command 'named' from package 'bind9' (main)
Command 'namei' from package 'util-linux' (main)
Command 'lame' from package 'lame' (universe)
Command 'uname' from package 'coreutils' (main)
Command 'nama' from package 'nama' (universe)
Command 'mame' from package 'mame' (multiverse)
Command 'nam' from package 'nam' (universe)
name: command not found
jeff@ubuntu:~$ KeyError: 'ssid-7'
KeyError:: command not found
jeff@ubuntu:~$
jeff@ubuntu:~$ error: Unicode Error
error:: command not found
jeff@ubuntu:~$ Traceback (most recent call last):
bash: syntax error near unexpected token `most'
jeff@ubuntu:~$ File "/usr/share/
No command 'File' found, did you mean:
Command 'vile' from package 'vile' (universe)
Command 'zile' from package 'zile' (universe)
Command 'kile' from package 'kile' (universe)
Command 'file' from package 'file' (main)
File: command not found
jeff@ubuntu:~$ self.showNetwor
> File "/usr/share/
bash: syntax error near unexpected token `File'
jeff@ubuntu:~$ self.performScan()
> File "/usr/share/
bash: syntax error near unexpected token `File'
jeff@ubuntu:~$ self.loadNetwor
> File "/usr/share/
bash: syntax error near unexpected token `File'
jeff@ubuntu:~$ name = self.networks[
No command 'name' found, did you mean:
Command 'named' from package 'bind9' (main)
Command 'namei' from package 'util-linux' (main)
Command 'lame' from package 'lame' (universe)
Command 'uname' from package 'coreutils' (main)
Command 'nama' from package 'nama' (universe)
Command 'mame' from package 'mame' (multiverse)
Command 'nam' from package 'nam' (universe)
name: command not found
jeff@ubuntu:~$ KeyError: 'ssid-7'
KeyError:: command not found
jeff@ubuntu:~$
jeff@ubuntu:~$ error: Unicode Error
error:: command not found
jeff@ubuntu:~$ Traceback (most recent call last):
bash: syntax error near unexpected token `most'
jeff@ubuntu:~$ File "/usr/share/
No command 'File' found, did you mean:
Command 'vile' from package 'vile' (universe)
Command 'zile' from package 'zile' (universe)
Command 'kile' from package 'kile' (universe)
Command 'file' from package 'file' (main)
File: command not found
jeff@ubuntu:~$ self.showNetwor
> File "/usr/share/
bash: syntax error near unexpected token `File'
jeff@ubuntu:~$ self.performScan()
> File "/usr/share/
bash: syntax error near unexpected token `File'
jeff@ubuntu:~$ self.loadNetwor
> File "/usr/share/
bash: syntax error near unexpected token `File'
jeff@ubuntu:~$ name = self.networks[
No command 'name' found, did you mean:
Command 'named' from package 'bind9' (main)
Command 'namei' from package 'util-linux' (main)
Command 'lame' from package 'lame' (universe)
Command 'uname' from package 'coreutils' (main)
Command 'nama' from package 'nama' (universe)
Command 'mame' from package 'mame' (multiverse)
Command 'nam' from package 'nam' (universe)
name: command not found
jeff@ubuntu:~$ KeyError: 'ssid-7'
KeyError:: command not found
jeff@ubuntu:~$
jeff@ubuntu:~$ error: Unicode Error
error:: command not found
jeff@ubuntu:~$ Traceback (most recent call last):
bash: syntax error near unexpected token `most'
jeff@ubuntu:~$ File "/usr/share/
No command 'File' found, did you mean:
Command 'vile' from package 'vile' (universe)
Command 'zile' from package 'zile' (universe)
Command 'kile' from package 'kile' (universe)
Command 'file' from package 'file' (main)
File: command not found
jeff@ubuntu:~$ self.showNetwor
> File "/usr/share/
bash: syntax error near unexpected token `File'
jeff@ubuntu:~$ self.performScan()
> File "/usr/share/
bash: syntax error near unexpected token `File'
jeff@ubuntu:~$ self.loadNetwor
> File "/usr/share/
bash: syntax error near unexpected token `File'
jeff@ubuntu:~$ name = self.networks[
No command 'name' found, did you mean:
Command 'named' from package 'bind9' (main)
Command 'namei' from package 'util-linux' (main)
Command 'lame' from package 'lame' (universe)
Command 'uname' from package 'coreutils' (main)
Command 'nama' from package 'nama' (universe)
Command 'mame' from package 'mame' (multiverse)
Command 'nam' from package 'nam' (universe)
name: command not found
jeff@ubuntu:~$ KeyError: 'ssid-7'
KeyError:: command not found
jeff@ubuntu:~$
jeff@ubuntu:~$ error: Unicode Error
error:: command not found
jeff@ubuntu:~$ Traceback (most recent call last):
bash: syntax error near unexpected token `most'
jeff@ubuntu:~$ File "/usr/share/
No command 'File' found, did you mean:
Command 'vile' from package 'vile' (universe)
Command 'zile' from package 'zile' (universe)
Command 'kile' from package 'kile' (universe)
Command 'file' from package 'file' (main)
File: command not found
jeff@ubuntu:~$ self.showNetwor
> File "/usr/share/
bash: syntax error near unexpected token `File'
jeff@ubuntu:~$ self.performScan()
> File "/usr/share/
bash: syntax error near unexpected token `File'
jeff@ubuntu:~$ self.loadNetwor
> File "/usr/share/
bash: syntax error near unexpected token `File'
jeff@ubuntu:~$ name = self.networks[
No command 'name' found, did you mean:
Command 'named' from package 'bind9' (main)
Command 'namei' from package 'util-linux' (main)
Command 'lame' from package 'lame' (universe)
Command 'uname' from package 'coreutils' (main)
Command 'nama' from package 'nama' (universe)
Command 'mame' from package 'mame' (multiverse)
Command 'nam' from package 'nam' (universe)
name: command not found
jeff@ubuntu:~$ KeyError: 'ssid-7'
KeyError:: command not found
Below are the resutls of the hp-check:
hp-check[3231]: info: :
hp-check[3231]: info: :HP Linux Imaging and Printing System (ver. 3.14.1)
hp-check[3231]: info: :Dependency/Version Check Utility ver. 15.1
hp-check[3231]: info: :
hp-check[3231]: info: :Copyright (c) 2001-13 Hewlett-Packard Development Company, LP
hp-check[3231]: info: :This software comes with ABSOLUTELY NO WARRANTY.
hp-check[3231]: info: :This is free software, and you are welcome to distribute it
hp-check[3231]: info: :under certain conditions. See COPYING file for more details.
hp-check[3231]: info: :
hp-check[3231]: info: :Note: hp-check can be run in three modes:
hp-check[3231]: info: :1. Compile-time check mode (-c or --compile): Use this mode before compiling the
hp-check[3231]: info: :HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
hp-check[3231]: info: :are installed to successfully compile HPLIP.
hp-check[3231]: info: :2. Run-time check mode (-r or --run): Use this mode to determine if a distro
hp-check[3231]: info: :supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball
hp-check[3231]: info: :has the proper dependencies installed to successfully run.
hp-check[3231]: info: :3. Both compile- and run-time check mode (-b or --both) (Default): This mode
hp-check[3231]: info: :will check both of the above cases (both compile- and run-time dependencies).
hp-check[3231]: info: :
hp-check[3231]: info: :Check types:
hp-check[3231]: info: :a. EXTERNALDEP - External Dependencies
hp-check[3231]: info: :b. GENERALDEP - General Dependencies (required both at compile and run time)
hp-check[3231]: info: :c. COMPILEDEP - Compile time Dependencies
hp-check[3231]: info: :d. [All are run-time checks]
hp-check[3231]: info: :PYEXT SCANCONF QUEUES PERMISSION
hp-check[3231]: info: :
hp-check[3231]: info: :Status Types:
hp-check[3231]: info: : OK
hp-check[3231]: info: : MISSING - Missing Dependency or Permission or Plug-in
hp-check[3231]: info: : INCOMPAT - Incompatible dependency-version or Plugin-version
hp-check[3231]: info: :
hp-check[3231]: info: :
hp-check[3231]: info: :---------------
hp-check[3231]: info: :| SYSTEM INFO |
hp-check[3231]: info: :---------------
hp-check[3231]: info: :
hp-check[3231]: info: : Kernel: 3.8.0-35-generic #50~precise1-Ubuntu SMP Wed Dec 4 17:25:51 UTC 2013 GNU/Linux
Host: ubuntu
Proc: 3.8.0-35-generic #50~precise1-Ubuntu SMP Wed Dec 4 17:25:51 UTC 2013 GNU/Linux
Distribution: ubuntu 12.04
hp-check[3231]: info: : Bitness: 64 bit
hp-check[3231]: info: :
hp-check[3231]: info: :------
hp-check[3231]: info: :| HPLIP CONFIGURATION |
hp-check[3231]: info: :------
hp-check[3231]: info: :
hp-check[3231]: info: :HPLIP-Version: HPLIP 3.14.1
hp-check[3231]: info: :HPLIP-Home: /usr/share/hplip
hp-check[3231]: info: :HPLIP-
hp-check[3231]: info: :
hp-check[3231]: info: :Current contents of '/etc/hp/
hp-check[3231]: info: :# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.14.1
[dirs]
home=/usr/
run=/var/run
ppd=/usr/
ppdbase=
doc=/usr/
html=/usr/
icon=/usr/
cupsbackend=
cupsfilter=
drv=/usr/
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-
foomatic-
foomatic-
hpcups-install=yes
cups-drv-
cups-ppd-install=no
internal-tag=3.14.1
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
lite-build=no
udev-acl-rules=yes
udev_sysfs_rules=no
hpcups-
hpijs-only-build=no
hp-check[3231]: info: :
hp-check[3231]: info: :Current contents of '/var/lib/
hp-check[3231]: info: :Plugins are not installed. Could not access file: No such file or directory
hp-check[3231]: info: :
hp-check[3231]: info: :Current contents of '~/.hplip/
hp-check[3231]: info: :[upgrade]
notify_upgrade = true
last_upgraded_time = 1390792945
pending_
latest_
[installation]
date_time = 01/26/2014 23:01:57
version = 3.14.1
hp-check[3231]: info: : <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
hp-check[3231]: info: :
hp-check[3231]: info: :------
hp-check[3231]: info: :| External Dependencies |
hp-check[3231]: info: :------
hp-check[3231]: info: :
hp-check[3231]: info: : policykit Admin-Policy-
hp-check[3231]: info: : gs Ghostscript REQUIRED 7.05 9.05 OK -
hp-check[3231]: info: : network Network-wget OPTIONAL - 1.13.4 OK -
hp-check[3231]: info: : scanimage Shell-Scanning OPTIONAL 1.0 1.0.22 OK -
hp-check[3231]: info: : avahi-utils avahi-utils OPTIONAL - 0.6.30 OK -
hp-check[3231]: info: : dbus DBus REQUIRED - 1.4.18 OK -
hp-check[3231]: info: : cups CUPS REQUIRED 1.1 1.5.3 OK 'CUPS Scheduler is running'
hp-check[3231]: info: : xsane SANE-GUI OPTIONAL 0.9 0.998 OK -
hp-check[3231]: info: :
hp-check[3231]: info: :------
hp-check[3231]: info: :| General Dependencies |
hp-check[3231]: info: :------
hp-check[3231]: info: :
hp-check[3231]: info: : reportlab Python-PDF-Lib OPTIONAL 2.0 2.5 OK -
hp-check[3231]: info: : libcrypto OpenSSL-Crypto-Lib REQUIRED - 1.0.1 OK -
hp-check[3231]: info: : pil Python-Image-Lib OPTIONAL - 1.1.7 OK -
hp-check[3231]: info: : pyqt4-dbus PyQt4-DBUS REQUIRED 4.0 4.9.1 OK -
hp-check[3231]: info: : libjpeg JPEG-Lib REQUIRED - - OK -
hp-check[3231]: info: : libpthread POSIX-Threads-Lib REQUIRED - 2.15 OK -
hp-check[3231]: info: : python-dbus Python-DBUS REQUIRED 0.80.0 1.0.0 OK -
hp-check[3231]: info: : python-devel Python-SDK REQUIRED 2.2 2.7.3 OK -
hp-check[3231]: info: : pyqt4 Python-Qt4 REQUIRED 4.0 4.9.1 OK -
hp-check[3231]: info: : cups-devel CUPS-SDK REQUIRED - 1.5.3 OK -
hp-check[3231]: info: : sane-devel SANE-SDK REQUIRED - 1.0.22 OK -
hp-check[3231]: info: : libusb USB-Lib REQUIRED - 1.0 OK -
hp-check[3231]: info: : sane Scan-Lib REQUIRED - 1.0.22 OK -
hp-check[3231]: info: : cups-image CUPS-Image-Lib REQUIRED - 1.5.3 OK -
hp-check[3231]: info: : libnetsnmp-devel SNMP-Networking-SDK REQUIRED 5.0.9 5.4.3 OK -
hp-check[3231]: info: : python-xml Python-XML-Lib REQUIRED - 2.0.1 OK -
hp-check[3231]: info: : python-notify Desktop-
hp-check[3231]: info: :
hp-check[3231]: info: :------
hp-check[3231]: info: :| Compile Time Dependencies |
hp-check[3231]: info: :------
hp-check[3231]: info: :
hp-check[3231]: info: : gcc gcc-Compiler REQUIRED - 4.6.3 OK -
hp-check[3231]: info: : libtool Build-tools REQUIRED - 2.4.2 OK -
hp-check[3231]: info: : make GNU-Build-tools REQUIRED 3.0 3.81 OK -
hp-check[3231]: info: :
hp-check[3231]: info: :------
hp-check[3231]: info: :| Python Extentions |
hp-check[3231]: info: :------
hp-check[3231]: info: :
hp-check[3231]: info: : cupsext CUPS-Extension REQUIRED - 3.14.1 OK -
hp-check[3231]: info: : pcardext PhotoCard-Extension REQUIRED - 3.14.1 OK -
hp-check[3231]: info: : hpmudext IO-Extension REQUIRED - 3.14.1 OK -
hp-check[3231]: info: :
hp-check[3231]: info: :------
hp-check[3231]: info: :| Scan Configuration |
hp-check[3231]: info: :------
hp-check[3231]: info: :
hp-check[3231]: info: : hpaio HPLIP-SANE-Backend REQUIRED - 3.14.1 OK 'hpaio found in /etc/sane.
hp-check[3231]: info: : scanext Scan-SANE-Extension REQUIRED - 3.14.1 OK -
hp-check[3231]: info: :
hp-check[3231]: info: :------
hp-check[3231]: info: :| DISCOVERED SCANNER DEVICES |
hp-check[3231]: info: :------
hp-check[3231]: info: :
hp-check[3231]: info: :device `hpaio:
hp-check[3231]: info: :
hp-check[3231]: info: :------
hp-check[3231]: info: :| DISCOVERED USB DEVICES |
hp-check[3231]: info: :------
hp-check[3231]: info: :
hp-check[3231]: info: : Device URI Model
hp-check[3231]: info: : -------
hp-check[3231]: info: : hp:/usb/
al=CN2761388M05SY
hp-check[3231]: info: :
hp-check[3231]: info: :------
hp-check[3231]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[3231]: info: :------
hp-check[3231]: info: :
hp-check[3231]: info: :
hp-check[3231]: info: :lpstat
hp-check[3231]: info: :------
hp-check[3231]: info: :Type: Unknown
hp-check[3231]: info: :Device URI: No destinations added.
hp-check[3231]: info: :
hp-check[3231]: info: :
hp-check[3231]: info: :--------------
hp-check[3231]: info: :| PERMISSION |
hp-check[3231]: info: :--------------
hp-check[3231]: info: :
hp-check[3231]: info: :USB None Required - - OK Node:'/
hp-check[3231]: info: :No errors or warnings.
hp-check[3231]: info: :
hp-check[3231]: info: :Done.
I've seen the same backtrace in https:/ /bugzilla. redhat. com/show_ bug.cgi? id=915067