[Pkg-hpijs-devel] Bug#687395: hplip: Unable to communicate with device (code=12) when connected via wlan

Carlo Stemberger carlo.stemberger at gmail.com
Wed Sep 12 12:47:04 UTC 2012


Package: hplip
Version: 3.12.6-3
Severity: normal
Tags: upstream

Hi,
I found this bug also in my Debian Wheezy box:

https://bugs.launchpad.net/hplip/+bug/521909

My workaround:
$ hp-setup

"Network/Ethernet/Wireless network (direct connection or JetDirect)"

"Show Advanced Options" → "Manual Discovery" → writing the IP address

I hope this can help other Debian users.

Regards,
Carlo

-- 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/carlo/hp-check.log

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

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

 Kernel: 3.5-trunk-amd64 #1 SMP Mon Aug 20 04:17:46 UTC 2012 GNU/Linux
 Host: iuppiter
 Proc: 3.5-trunk-amd64 #1 SMP Mon Aug 20 04:17:46 UTC 2012 GNU/Linux
 Distribution: debian testing

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

HPLIP-Version: HPLIP 3.12.6
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for debian distro  testing 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:
[installation]
date_time = 09/12/12 14:39:35
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         -
 error: dbus          DBus                      REQUIRED        -               1.6.0           MISSING    'DBUS may not be installed or not running'
 scanimage            Shell-Scanning            OPTIONAL        1.0             1.0.22          OK         -
 policykit            Admin-Policy-framework    OPTIONAL        -               0.105           OK         -
 error: xsane         SANE-GUI                  OPTIONAL        0.9             -               MISSING    'xsane needs to be installed'
 error: cups          CUPS                      REQUIRED        1.1             -               INCOMPAT   'CUPS may not be installed or not running'

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

 reportlab            Python-PDF-Lib            OPTIONAL        2.0             2.5             OK         -
 error: libcrypto     OpenSSL-Crypto-Lib        REQUIRED        -               1.0.1           MISSING    'libcrypto needs to be installed'
 pil                  Python-Image-Lib          OPTIONAL        -               1.1.7           OK         -
 error: pyqt4-dbus    PyQt4-DBUS                REQUIRED        4.0             4.9.3           MISSING    'pyqt4-dbus needs to be installed'
 error: libjpeg       JPEG-Lib                  REQUIRED        -               -               MISSING    'libjpeg needs to be installed'
 libpthread           POSIX-Threads-Lib         REQUIRED        -               2.13            OK         -
 python-dbus          Python-DBUS               REQUIRED        0.80.0          1.1.1           OK         -
 error: cups-ddk      CUPS-DDK                  OPTIONAL        -               -               MISSING    'cups-ddk needs to be installed'
 error: python-devel  Python-SDK                REQUIRED        2.2             2.7.3           MISSING    'python-devel needs to be installed'
 pyqt4                Python-Qt4                REQUIRED        4.0             4.9.3           OK         -
 error: cups-devel    CUPS-SDK                  REQUIRED        -               -               MISSING    'cups-devel needs to be installed'
 error: sane-devel    SANE-SDK                  REQUIRED        -               -               MISSING    'sane-devel needs to be installed'
 error: libusb        USB-Lib                   REQUIRED        -               1.0             MISSING    'libusb needs to be installed'
 sane                 Scan-Lib                  REQUIRED        -               -               OK         -
 error: cups-image    CUPS-Image-Lib            REQUIRED        -               -               MISSING    'cups-image needs to be installed'
 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:/net/Photosmart_C7200_series?ip=192.168.0.50' is a Hewlett-Packard Photosmart_C7200_series all-in-one


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

No devices found.

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


Photosmart_C7200
----------------
Type: Printer
Device URI: hp:/net/Photosmart_C7200_series?ip=192.168.0.50
PPD: /etc/cups/ppd/Photosmart_C7200.ppd
PPD Description: HP Photosmart c7200 Series, hpcups 3.12.6
Printer status: printer Photosmart_C7200 is idle.  enabled since Wed 12 Sep 2012 02:08:21 PM CEST
	ready to print

HP Linux Imaging and Printing System (ver. 3.12.6)
System Tray Status Service ver. 2.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.

/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)
Communication status: Good

Photosmart_C7200_fax
--------------------
Type: Fax
Device URI: hpfax:/net/Photosmart_C7200_series?ip=192.168.0.50
PPD: /etc/cups/ppd/Photosmart_C7200_fax.ppd
PPD Description: HP Fax hpcups
Printer status: printer Photosmart_C7200_fax is idle.  enabled since Wed 12 Sep 2012 02:07:06 PM CEST
Communication status: Good


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

error: groups   user-groups                    Required        -        -        MISSING  ['lp', 'lpadmin']

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

Missing Required Dependencies
-----------------------------
error: 'libdbus-1-dev' package is missing/incompatible 
error: 'libcups2' package is missing/incompatible 
error: 'libssl-dev' package is missing/incompatible 
error: 'python-qt4-dbus' package is missing/incompatible 
error: 'libjpeg62-dev' package is missing/incompatible 
error: 'python-dev' package is missing/incompatible 
error: 'libcups2-dev' package is missing/incompatible 
error: 'cups-bsd' package is missing/incompatible 
error: 'cups-client' package is missing/incompatible 
error: 'libsane-dev' package is missing/incompatible 
error: 'libusb-1.0.0-dev' package is missing/incompatible 
error: 'libcupsimage2' package is missing/incompatible 
error: 'libcupsimage2-dev' package is missing/incompatible 
error: 'libsnmp-dev' package is missing/incompatible 

Missing Optional Dependencies
-----------------------------
error: 'xsane' package is missing/incompatible 
error: 'cups-ddk' package is missing/incompatible 


Total Errors: 17
Total Warnings: 0

Re-run 'hp-check --fix' command to prompt and fix the issues. 

Done.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.5-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hplip depends on:
ii  adduser                3.113+nmu3
ii  coreutils              8.13-3.2
ii  cups                   1.5.3-1
ii  hplip-data             3.12.6-3
ii  libc6                  2.13-35
ii  libcups2               1.5.3-1
ii  libdbus-1-3            1.6.0-1
ii  libhpmud0              3.12.6-3
ii  libsane                1.0.22-7.3
ii  libsane-hpaio          3.12.6-3
ii  libsnmp15              5.4.3~dfsg-2.5
ii  libssl1.0.0            1.0.1c-4
ii  libusb-1.0-0           2:1.0.11-1
ii  lsb-base               4.1+Debian7
ii  policykit-1            0.105-1
ii  printer-driver-hpcups  3.12.6-3
ii  python                 2.7.3~rc2-1
ii  python-dbus            1.1.1-1
ii  python-gobject-2       2.28.6-10
ii  python-imaging         1.1.7-4
ii  python-pexpect         2.4-1
ii  python-reportlab       2.5-1.1
ii  python2.7              2.7.3~rc2-2.1
ii  wget                   1.13.4-3

Versions of packages hplip recommends:
ii  avahi-daemon  0.6.31-1
ii  sane-utils    1.0.22-7.3

Versions of packages hplip suggests:
pn  hplip-doc              <none>
pn  hplip-gui              <none>
ii  python-notify          0.1.1-3
ii  system-config-printer  1.3.7-3

-- no debconf information



More information about the Pkg-hpijs-devel mailing list