install: error: cannot install `hpmudext.la' to a directory not ending in /usr/local/lib64/python2.4/site-packages

Asked by Rick Richardson

# uname -a
Linux esd 2.6.20-1.2316.fc5 #1 SMP Fri Apr 27 19:19:10 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
$ ./configure --prefix=/usr --libdir=/usr/lib64 --disable-scan-build
$ make
[good]
$ su
# make install
[snip]
 /usr/bin/install -c -m 644 'hplip.desktop' '/usr/share/applications/hplip.desktop'
test -z "/usr/lib64/python2.4/site-packages" || mkdir -p -- "/usr/lib64/python2.4/site-packages"
 /bin/sh ./libtool --mode=install /usr/bin/install -c 'hpmudext.la' '/usr/lib64/python2.4/site-packages/hpmudext.la'
libtool: install: error: cannot install `hpmudext.la' to a directory not ending in /usr/local/lib64/python2.4/site-packages
make[1]: *** [install-hpmudextLTLIBRARIES] Error 1
make[1]: Leaving directory `/home/rick/tmp/hplip-2.7.10'
make: *** [install-am] Error 2
#

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#1

Have you tried using the automatic install?

Can you run:

./configure --prefix=/usr --libdir=/usr/lib64 --disable-scan-build > hplip_install.log

and post the contents of hplip_install.log.

Revision history for this message
Rick Richardson (rick-richardson) said :
#2

$ ./configure --prefix=/usr --libdir=/usr/lib64 --disable-scan-build > hplip_install.log
$ cat hplip_install.log
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 static flag -static works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for pthread_create in -lpthread... yes
checking for pow in -lm... yes
checking for jpeg_set_defaults in -ljpeg... yes
checking for dlopen in -ldl... yes
checking for ANSI C header files... (cached) yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking linux/compiler.h usability... yes
checking linux/compiler.h presence... yes
checking for linux/compiler.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for uint32_t... yes
checking "for platform-dependencies"... "using Default platform.h"
checking for documentation build... yes
checking for hpijs only build... no
checking for network build... yes
checking for parallel port build... yes
checking for scanner build... no
checking for gui build... yes
checking for fax build... yes
checking for cups 1.1.x build... no
checking for shadow build... no
checking "for foomatic ppd install"... no
checking "for foomatic xml install"... yes
checking for CRYPTO_free in -lcrypto... yes
checking for snmp_timeout in -lnetsnmp... yes
checking net-snmp/net-snmp-config.h usability... yes
checking net-snmp/net-snmp-config.h presence... yes
checking for net-snmp/net-snmp-config.h... yes
checking linux/ppdev.h usability... yes
checking linux/ppdev.h presence... yes
checking for linux/ppdev.h... yes
checking for cupsDoFileRequest in -lcups... yes
checking cups/cups.h usability... yes
checking cups/cups.h presence... yes
checking for cups/cups.h... yes
checking for usb_init in -lusb... yes
checking usb.h usability... yes
checking usb.h presence... yes
checking for usb.h... yes
checking for a Python interpreter with version >= 2.2... python
checking for python... /usr/bin/python
checking for python version... 2.4
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.4/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python2.4/site-packages
checking for path to Python.h... "using /usr/include/python2.4"
checking python2.4/Python.h usability... yes
checking python2.4/Python.h presence... yes
checking for python2.4/Python.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating hplip.conf
config.status: creating hplip.desktop
config.status: executing depfiles commands
$

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#3

Possible to try installing using the automatic installer?

Revision history for this message
Rick Richardson (rick-richardson) said :
#4

No.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#5

Well everything looks okay in the ./configure. Can you try re-installing python2.4?

Revision history for this message
Rick Richardson (rick-richardson) said :
#6

reinstall python. same result.

Revision history for this message
Rick Richardson (rick-richardson) said :
#7

/bin/sh ./libtool --mode=install /usr/bin/install -c 'hpmudext.la' '/usr/lib64/python2.4/site-packages/hpmudext.la'
libtool: install: error: cannot install `hpmudext.la' to a directory not ending in /usr/local/lib64/python2.4/site-packages

Note: *local* is required!!!

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#8

Try in the source dir:

make distclean
make clean
./configure --prefix=/usr --libdir=/usr/lib64 --disable-scan-build

What's the result?

Revision history for this message
dwelch91 (dwelch91) said :
#9

If your lib directory is /usr/local/lib64, should you set your libdir to
/usr/local/lib64 in the configure? ( ./configure --prefix=/usr
--libdir=/usr/local/lib64 ... )

On Nov 15, 2007 10:47 AM, Rick Richardson <
<email address hidden>> wrote:

> Question #17916 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/17916
>
> Rick Richardson gave more information on the question:
> /bin/sh ./libtool --mode=install /usr/bin/install -c 'hpmudext.la'
> '/usr/lib64/python2.4/site-packages/hpmudext.la'
> libtool: install: error: cannot install `hpmudext.la' to a directory not
> ending in /usr/local/lib64/python2.4/site-packages
>
> Note: *local* is required!!!
>
> --
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

Revision history for this message
Rick Richardson (rick-richardson) said :
#10

Success;

But....

$ hp-levels

HP Linux Imaging and Printing System (ver. 2.7.10)
Supply Levels Utility ver. 1.1

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

warning: Inrecognized URI: lpd://192.168.1.10/lp
warning: Inrecognized URI: lpd://192.168.1.10/lp
warning: Inrecognized URI: file:/home/rick/prn
warning: Inrecognized URI: file:/home/rick/prn
warning: Inrecognized URI: socket://192.168.1.12:9100
warning: Inrecognized URI: lpd://192.168.1.10/lp
warning: Inrecognized URI: file:/home/rick/prn
warning: Inrecognized URI: file:/home/rick/prn
warning: Inrecognized URI: usb:/dev/usb/lp0
warning: Inrecognized URI: usb:/dev/usb/lp0
warning: Inrecognized URI: file:/home/rick/prn
warning: Inrecognized URI: file:/home/rick/prn
warning: Inrecognized URI: file:/home/rick/prn
warning: Inrecognized URI: file:/home/rick/prn
warning: Inrecognized URI: socket://192.168.1.12:9100
warning: Inrecognized URI: socket://192.168.1.12:9100
warning: Inrecognized URI: socket://192.168.1.12:9100
warning: Inrecognized URI: socket://192.168.1.12:9100
warning: Inrecognized URI: socket://192.168.1.12:9100
warning: Inrecognized URI: socket://192.168.1.12:9100
warning: Inrecognized URI: socket://192.168.1.12:9100
warning: Inrecognized URI: socket://192.168.1.12:9100
warning: Inrecognized URI: file:/home/rick/prn
warning: Inrecognized URI: file:/home/rick/prn
warning: Inrecognized URI: lpd://192.168.1.10/lp
warning: Inrecognized URI: lpd://192.168.1.10/lpo
warning: Inrecognized URI: lpd://192.168.1.10/lp
warning: Inrecognized URI: file:/home/rick/prn
warning: Inrecognized URI: file:/home/rick/prn
warning: Inrecognized URI: file:/home/rick/prn2480
warning: Inrecognized URI: socket://192.168.1.13:9100
warning: Inrecognized URI: socket://192.168.1.13:9100
warning: Inrecognized URI: file:/home/rick/prn
warning: Inrecognized URI: lpd://192.168.1.10/lp
warning: Inrecognized URI: lpd://192.168.1.10/lp
warning: Inrecognized URI: socket://xerox6110:9100
warning: Inrecognized URI: socket://xerox6110:9100
Using device: hp:/usb/HP_LaserJet_1020?serial=CNBK944212

HP Linux Imaging and Printing System (ver. 2.7.10)
Services and Status Daemon ver. 9.2

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

Black toner cartridge
Part No.: Q2612A
Health: Good/OK

----------------------------------------------------------------
|//////////////////////////////////////////////////////////////| (approx. 100%)
----------------------------------------------------------------

$

What is with the Warnings??????????????????

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#11

Thanks Don. :)

Rick run 'hp-levels -g' and post the output?

A

Revision history for this message
Rick Richardson (rick-richardson) said :
#12

$ hp-levels -g

HP Linux Imaging and Printing System (ver. 2.7.10)
Supply Levels Utility ver. 1.1

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

hp-levels[30193]: debug: hp:/usb/HP_LaserJet_1020?serial=CNBK944212
hp-levels[30193]: debug: Cache miss: hp_laserjet_1020
hp-levels[30193]: debug: Reading file: /usr/share/hplip/data/models/models.dat
hp-levels[30193]: debug: Searching for section [hp_laserjet_1020] in file /usr/share/hplip/data/models/models.dat
hp-levels[30193]: debug: Found section [hp_laserjet_1020] in file /usr/share/hplip/data/models/models.dat
hp-levels[30193]: debug: lpd://192.168.1.10/lp: 2430
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: lpd://192.168.1.10/lp
hp-levels[30193]: debug: lpd://192.168.1.10/lp: 2430s
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: lpd://192.168.1.10/lp
hp-levels[30193]: debug: file:/home/rick/prn: c500
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: file:/home/rick/prn
hp-levels[30193]: debug: file:/home/rick/prn: clp300
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: file:/home/rick/prn
hp-levels[30193]: debug: socket://192.168.1.12:9100: clp510
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: socket://192.168.1.12:9100
hp-levels[30193]: debug: lpd://192.168.1.10/lp: dl2300-2up
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: lpd://192.168.1.10/lp
hp-levels[30193]: debug: file:/home/rick/prn: hp1000
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: file:/home/rick/prn
hp-levels[30193]: debug: file:/home/rick/prn: hp1018
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: file:/home/rick/prn
hp-levels[30193]: debug: usb:/dev/usb/lp0: hp1020
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: usb:/dev/usb/lp0
hp-levels[30193]: debug: usb:/dev/usb/lp0: hp1020-2up
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: usb:/dev/usb/lp0
hp-levels[30193]: debug: file:/home/rick/prn: hp1022
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: file:/home/rick/prn
hp-levels[30193]: debug: file:/home/rick/prn: hp1022dup
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: file:/home/rick/prn
hp-levels[30193]: debug: file:/home/rick/prn: hp1500
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: file:/home/rick/prn
hp-levels[30193]: debug: file:/home/rick/prn: hp1600c
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: file:/home/rick/prn
hp-levels[30193]: debug: socket://192.168.1.12:9100: hp2600
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: socket://192.168.1.12:9100
hp-levels[30193]: debug: socket://192.168.1.12:9100: hp2600-2up
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: socket://192.168.1.12:9100
hp-levels[30193]: debug: socket://192.168.1.12:9100: hp2600b2
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: socket://192.168.1.12:9100
hp-levels[30193]: debug: socket://192.168.1.12:9100: hp2600c
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: socket://192.168.1.12:9100
hp-levels[30193]: debug: socket://192.168.1.12:9100: hp2600c2
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: socket://192.168.1.12:9100
hp-levels[30193]: debug: socket://192.168.1.12:9100: hp2600d
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: socket://192.168.1.12:9100
hp-levels[30193]: debug: socket://192.168.1.12:9100: hp2600dup
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: socket://192.168.1.12:9100
hp-levels[30193]: debug: socket://192.168.1.12:9100: hp2600dupc
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: socket://192.168.1.12:9100
hp-levels[30193]: debug: file:/home/rick/prn: km2530
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: file:/home/rick/prn
hp-levels[30193]: debug: file:/home/rick/prn: lj4
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: file:/home/rick/prn
hp-levels[30193]: debug: lpd://192.168.1.10/lp: lp
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: lpd://192.168.1.10/lp
hp-levels[30193]: debug: lpd://192.168.1.10/lpo: lpo
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: lpd://192.168.1.10/lpo
hp-levels[30193]: debug: lpd://192.168.1.10/lp: lps
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: lpd://192.168.1.10/lp
hp-levels[30193]: debug: file:/home/rick/prn: m1005
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: file:/home/rick/prn
hp-levels[30193]: debug: file:/home/rick/prn: m1005dup
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: file:/home/rick/prn
hp-levels[30193]: debug: file:/home/rick/prn2480: mc2480
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: file:/home/rick/prn2480
hp-levels[30193]: debug: socket://192.168.1.13:9100: mc2530
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: socket://192.168.1.13:9100
hp-levels[30193]: debug: socket://192.168.1.13:9100: mc2530c
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: socket://192.168.1.13:9100
hp-levels[30193]: debug: file:/home/rick/prn: mc5430
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: file:/home/rick/prn
hp-levels[30193]: debug: lpd://192.168.1.10/lp: mono
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: lpd://192.168.1.10/lp
hp-levels[30193]: debug: lpd://192.168.1.10/lp: test
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: lpd://192.168.1.10/lp
hp-levels[30193]: debug: socket://xerox6110:9100: xrx6110
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: socket://xerox6110:9100
hp-levels[30193]: debug: socket://xerox6110:9100: xrx6110c
hp-levels[30193]: debug: Exception: 4 (Unknown/invalid device-uri field)
warning: Inrecognized URI: socket://xerox6110:9100
hp-levels[30193]: debug: {'hp:/usb/HP_LaserJet_1020?serial=CNBK944212': ('HP LaserJet 1020', 'HP LaserJet 1020 USB CNBK944212 HPLIP', 'MFG:HP;MDL:HP LaserJet 1020;CLS:PRINTER;DES:HP LaserJet 1020;SN:CNBK944212;')}
hp-levels[30193]: debug: [<cupsext.Printer object at 0x2aaaaf520c48>, <cupsext.Printer object at 0x2aaaaf520bb8>, <cupsext.Printer object at 0x2aaaaf520cd8>, <cupsext.Printer object at 0x2aaaaf520d20>, <cupsext.Printer object at 0x2aaaaf520d68>, <cupsext.Printer object at 0x2aaaaf520e40>, <cupsext.Printer object at 0x2aaaaf520e88>, <cupsext.Printer object at 0x2aaaaf520ed0>, <cupsext.Printer object at 0x2aaaaf520f18>, <cupsext.Printer object at 0x2aaaaf520f60>, <cupsext.Printer object at 0x2aaaaf520fa8>, <cupsext.Printer object at 0x2aaaaf524030>, <cupsext.Printer object at 0x2aaaaf524078>, <cupsext.Printer object at 0x2aaaaf5240c0>, <cupsext.Printer object at 0x2aaaaf524108>, <cupsext.Printer object at 0x2aaaaf524198>, <cupsext.Printer object at 0x2aaaaf524228>, <cupsext.Printer object at 0x2aaaaf5242b8>, <cupsext.Printer object at 0x2aaaaf524348>, <cupsext.Printer object at 0x2aaaaf5243d8>, <cupsext.Printer object at 0x2aaaaf524468>, <cupsext.Printer object at 0x2aaaaf5244f8>, <cupsext.Printer object at 0x2aaaaf524588>, <cupsext.Printer object at 0x2aaaaf524618>, <cupsext.Printer object at 0x2aaaaf524660>, <cupsext.Printer object at 0x2aaaaf5246a8>, <cupsext.Printer object at 0x2aaaaf5246f0>, <cupsext.Printer object at 0x2aaaaf524738>, <cupsext.Printer object at 0x2aaaaf524780>, <cupsext.Printer object at 0x2aaaaf5247c8>, <cupsext.Printer object at 0x2aaaaf524810>, <cupsext.Printer object at 0x2aaaaf5248a0>, <cupsext.Printer object at 0x2aaaaf524930>, <cupsext.Printer object at 0x2aaaaf5249c0>, <cupsext.Printer object at 0x2aaaaf524a50>, <cupsext.Printer object at 0x2aaaaf524a98>, <cupsext.Printer object at 0x2aaaaf524ae0>]
Using device: hp:/usb/HP_LaserJet_1020?serial=CNBK944212
hp-levels[30193]: debug: Device URI: hp:/usb/HP_LaserJet_1020?serial=CNBK944212
hp-levels[30193]: debug: Printer: None
hp-levels[30193]: debug: URI: backend=hp, is_hp=True, bus=usb, model=HP_LaserJet_1020, serial=CNBK944212, dev=, host=, port=1
hp-levels[30193]: debug: Model/UI model: HP_LaserJet_1020/HP LaserJet 1020
hp-levels[30193]: debug: Startup: Trying to connect to hpssd on localhost:2207
hp-levels[30193]: debug: Connected to hpssd on localhost:2207
hp-levels[30193]: debug: hpssd socket: 7
hp-levels[30193]: debug: (xmit) Sending data on channel (7)
hp-levels[30193]: debug: 'msg=setalerts\nusername=rick\nemail-from-address=\nemail-to-addresses=\nemail-alerts=\n'
hp-levels[30193]: debug: (xmit) Reading data on channel (7)
hp-levels[30193]: debug: 'msg=setalertsresult\nresult-code=0\n'
hp-levels[30193]: debug: Opening device: hp:/usb/HP_LaserJet_1020?serial=CNBK944212 (not for printing)
hp-levels[30193]: debug: I/O mode=6
hp-levels[30193]: debug: device-id=1
hp-levels[30193]: debug: Opened device: hp (backend=hp:/usb/HP_LaserJet_1020?serial=CNBK944212, is_hp=True, bus=usb, model=HP_LaserJet_1020, dev=, serial=CNBK944212, host=, port=1)
hp-levels[30193]: debug: queryString(5002)
hp-levels[30193]: debug: Type 8: LJ XML
hp-levels[30193]: debug: Closing device...
hp-levels[30193]: debug: Result-code = 0
hp-levels[30193]: debug: Opening device: hp:/usb/HP_LaserJet_1020?serial=CNBK944212 (for printing)
hp-levels[30193]: debug: I/O mode=1
hp-levels[30193]: debug: device-id=1
hp-levels[30193]: debug: Opened device: hp (backend=hp:/usb/HP_LaserJet_1020?serial=CNBK944212, is_hp=True, bus=usb, model=HP_LaserJet_1020, dev=, serial=CNBK944212, host=, port=1)
hp-levels[30193]: debug: Opening PRINT channel...
hp-levels[30193]: debug: channel-id=2
hp-levels[30193]: debug: Writing channel 2...
hp-levels[30193]: debug: Reading channel 2...
hp-levels[30193]: debug: Read complete
hp-levels[30193]: debug: Returned 56 total bytes in buffer.
hp-levels[30193]: debug: Closing device...
hp-levels[30193]: debug: Closing PRINT channel...
hp-levels[30193]: debug: Result-code = 0
hp-levels[30193]: debug: PJL return::
@PJL INFO STATUS
CODE=10001
DISPLAY=""
ONLINE=TRUE

hp-levels[30193]: debug: Code = 10001
hp-levels[30193]: debug: Error code = 10001
hp-levels[30193]: debug: Agent: health=0, level=100, trigger=0
hp-levels[30193]: debug: Status code = 1000
hp-levels[30193]: debug: {'photo-tray': 0, 'in-tray2': 1, 'top-door': 1, 'in-tray1': 1, 'agents': [{'level-trigger': 0, 'health': 0, 'kind': 4, 'type': 1, 'level': 100}], 'duplexer': 0, 'supply-door': 1, 'status-code': 1000, 'media-path': 1, 'revision': 254}
hp-levels[30193]: debug: Sending data on channel (7)
hp-levels[30193]: debug: 'msg=event\nevent-code=1000\nusername=rick\ndevice-uri=hp:/usb/HP_LaserJet_1020?serial=CNBK944212\nno-fwd=False\nevent-type=event\njob-id=0\nretry-timeout=0\n'
hp-levels[30193]: debug: queryString(1000)
hp-levels[30193]: debug: found: r0-kind4-type1
hp-levels[30193]: debug: health=0, level=100, level_trigger=0, status_code=1000
hp-levels[30193]: debug: queryString(agent_black_toner)
hp-levels[30193]: debug: queryString(agent_health_ok)
hp-levels[30193]: debug: {'agent1-kind': 4, 'agent1-hp-ink': False, 'is-hp': True, 'agent1-level': 100, 'top-door': 1, 'in-tray1': 1, 'serial': 'CNBK944212', 'back-end': 'hp', 'agent1-dvc': 0, 'device-uri': 'hp:/usb/HP_LaserJet_1020?serial=CNBK944212', 'rr': '000000', 'photo-tray': 0, 'panel-line1': '', 'panel-line2': '', 'port': 1, 'rg': '000', 'agent1-known': False, 'agent1-health': 0, 'status-code': 1000, 'revision': 254, 'dev-file': '', 'status-desc': 'The printer is idle.', 'agent1-health-desc': 'Good/OK', 'host': '', 'agent1-id': 0, 'cups-printer': '', 'error-state': 0, 'device-state': 1, 'panel': 0, 'in-tray2': 1, 'agent1-ack': False, 'agent1-virgin': False, 'agent1-level-trigger': 0, 'rs': '000000000', 'agent1-type': 1, 'agent1-desc': 'Black toner cartridge', 'r': 0, 'deviceid': 'MFG:Hewlett-Packard;MDL:HP LaserJet 1020;CMD:ACL;CLS:PRINTER;DES:HP LaserJet 1020;FWVER:20050318;', 'cups-uri': 'hp:/usb/HP_LaserJet_1020?serial=CNBK944212', 'duplexer': 0, 'supply-door': 1, 'agent1-sku': 'Q2612A', 'media-path': 1}

Black toner cartridge
Part No.: Q2612A
Health: Good/OK

----------------------------------------------------------------
|//////////////////////////////////////////////////////////////| (approx. 100%)
----------------------------------------------------------------

$

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#13

Hey Rich,

I'm going to close this as this is going to be tracked here:

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

Thanks for submitting this.

A

Can you help with this problem?

Provide an answer of your own, or ask Rick Richardson for more information if necessary.

To post a message you must log in.