[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#653062: hplip: p-makeuri does not resolve FQDN => could add only local printer



Package: hplip
Version: 3.11.10-1
Severity: important

Will report upstream but this bug shouldbe known by debian

$ hp-makeuri HPD4636B.lan.
error: Device not found

$hp-makeuri HPD4636B

HP Linux Imaging and Printing System (ver. 3.11.10)
Device URI Creation Utility ver. 5.0

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

CUPS URI: hp:/net/Photosmart_C309a_series?zc=HPD4636B
SANE URI: hpaio:/net/Photosmart_C309a_series?zc=HPD4636B
HP Fax URI: hpfax:/net/Photosmart_C309a_series?zc=HPD4636B

Done.


$ host -v HPD4636B
Trying "HPD4636B.lan"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34639
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;HPD4636B.lan.                  IN      A

;; ANSWER SECTION:
HPD4636B.lan.           0       IN      A       192.168.10.2

Received 46 bytes from 192.168.10.1#53 in 3 ms
Trying "HPD4636B.lan"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18443
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;HPD4636B.lan.                  IN      AAAA

Received 30 bytes from 192.168.10.1#53 in 5 ms
Trying "HPD4636B.lan"
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 63612
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;HPD4636B.lan.                  IN      MX

Received 30 bytes from 192.168.10.1#53 in 2 ms

$


-- Package-specific info:

HP Linux Imaging and Printing System (ver. 3.11.10)
Dependency/Version Check Utility ver. 14.3

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

Saving output in log file: hp-check.log

Initializing. Please wait...

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

Basic system information:
Linux bastien-debian 3.1.0-1-amd64 #1 SMP Mon Nov 14 08:02:25 UTC 2011 x86_64 GNU/Linux

Distribution:
debian testing

Checking Python version...
OK, version 2.7.2 installed

Checking PyQt 4.x version...
OK, version 4.8.6 installed.

Checking for CUPS...
Status: WARNING: gnome-keyring:: no socket to connect to
scheduler is running
Version: 1.5.0
error_log is set to level: warn

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.84.0


------------------------
| RUNTIME DEPENDENCIES |
------------------------


Checking for dependency: CUPS - Common Unix Printing System...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.

Checking for dependency: PolicyKit - Administrative policy framework...
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

Checking for dependency: Python libnotify - Python bindings for the libnotify Desktop notifications...
OK, found.

Checking for dependency: Python XML libraries...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
warning: NOT FOUND! This is an OPTIONAL/RUNTIME ONLY dependency. Some HPLIP functionality may not function properly.


----------------------
| HPLIP INSTALLATION |
----------------------


Currently installed HPLIP version...
HPLIP 3.11.10 currently installed in '/usr/share/hplip'.

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

[hplip]
version=3.11.10

[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
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.11.10
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
hpcups-only-build=no
hpijs-only-build=no


Current contents of '/var/lib/hp/hplip.state' file:
# hplip.state - HPLIP runtime persistent variables. 

[plugin]
installed=0
eula=0



Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 12/23/11 12:18:05
version = 3.11.10

[last_used]
device_uri = hp:/net/Photosmart_C309a_series?zc=HPD4636B



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

No devices found.

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


WARNING
-------
Type: Unknown
Device URI: gnome-keyring:: no socket to connect to

HP_HP_Photosmart_C309a_series
-----------------------------
Type: Unknown
Device URI: dnssd://Photosmart%20C309a%20series%20%5BD4636B%5D._pdl-datastream._tcp.local/
PPD: /etc/cups/ppd/HP_HP_Photosmart_C309a_series.ppd
PPD Description: HP Photosmart c309a Series, hpcups 3.11.10
Printer status: WARNING: gnome-keyring:: no socket to connect to
printer HP_HP_Photosmart_C309a_series is idle.  enabled since Sun Dec 18 18:20:19 2011
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.

HP_LaserJet_3390
----------------
Type: Unknown
Device URI: socket://172.20.138.239
PPD: /etc/cups/ppd/HP_LaserJet_3390.ppd
PPD Description: HP LaserJet 3390 Postscript (recommended)
Printer status: WARNING: gnome-keyring:: no socket to connect to
printer HP_LaserJet_3390 is idle.  enabled since Thu Dec 22 15:20:18 2011
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.

HP_LASERJET_400
---------------
Type: Unknown
Device URI: ///dev/null

HP_LaserJet_4000_Series
-----------------------
Type: Unknown
Device URI: socket://172.20.10.236
PPD: /etc/cups/ppd/HP_LaserJet_4000_Series.ppd
PPD Description: HP LaserJet 4000 Series Postscript (recommended)
Printer status: WARNING: gnome-keyring:: no socket to connect to
printer HP_LaserJet_4000_Series is idle.  enabled since Wed Dec 14 15:52:54 2011
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax: CUPS backend to function in HPLIP.


----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
'hpaio' in '/etc/sane.d/dll.d/hplip'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...
WARNING: gnome-keyring:: no socket to connect to
device `v4l:/dev/video0' is a Noname Laptop_Integrated_Webcam_2HDM virtual device


---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.



---------------
| USER GROUPS |
---------------

bastien cdrom floppy audio dip video plugdev fuse scanner netdev bluetooth kvm libvirt

error: User needs to be member of group 'lp' to enable print, scan & fax.
error: User needs to be member of group 'lpadmin' to manage printers.

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

error: 5 errors and/or warnings.

Please refer to the installation instructions at:
http://hplip.sourceforge.net/install/index.html


Done.

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

Kernel: Linux 3.1.0-1-amd64 (SMP w/8 CPU cores)
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 depends on:
ii  adduser         3.113
ii  coreutils       8.13-3
ii  cups            1.5.0-13
ii  hplip-cups      3.11.10-1
ii  hplip-data      3.11.10-1
ii  libc6           2.13-21
ii  libcups2        1.5.0-13
ii  libdbus-1-3     1.4.16-1
ii  libhpmud0       3.11.10-1
ii  libsane         1.0.22-7
ii  libsane-hpaio   3.11.10-1
ii  libssl1.0.0     1.0.0e-3
ii  lsb-base        3.2-28
ii  policykit-1     0.103-1
ii  python          2.7.2-9
ii  python-dbus     0.84.0-2
ii  python-imaging  1.1.7-4
ii  python-pexpect  2.3-1
ii  python2.7       2.7.2-8
ii  wget            1.13.4-1

Versions of packages hplip recommends:
ii  avahi-daemon  0.6.30-5
ii  sane-utils    1.0.22-7

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

-- no debconf information




Reply to: