Hello Aaron,

I finally found some more time to investigate...

> e: unable to connect hpssd socket 2207: Connection refused: api/hplip_api.c
> 738

Turns out that the above was due to linking against the wrong dynamic
libraries (there are lot's of different versions on my system, which
is normally a good thing but not in this case :-)

I restarted with the correct set of libraries, and got a partial
success:

trixie:~ # scanimage -L
device `hpaio:/usb/Deskjet_F300_series?serial=CN6A6GF23804KH' is a 
Hewlett-Packard Deskjet_F300_series all-in-one

What is even better: I managed to scan using 

scanimage > /tmp/image.pnm

But: running xsane gives:

trixie:~ # xsane
xsane: error while loading shared libraries: 
/software/hplip-1.7.1/SuSE-7.3/lib/libsane-hpaio.so.1: undefined symbol: 
cupsDoRequest

However:

trixie:~ # ldd /software/hplip-1.7.1/SuSE-7.3/lib/libsane-hpaio.so.1
        libhpip.so.0 => /software/hplip-1.7.1/SuSE-7.3/lib/libhpip.so.0 
(0x4001a000)
        libm.so.6 => /lib/libm.so.6 (0x4004d000)
        libcups.so.2 => /software/cups-1.3svn-r6014/SuSE-7.3/lib/libcups.so.2 
(0x4006f000)
        libusb-0.1.so.4 => /software/libusb-0.1.12/SuSE-7.3/lib/libusb-0.1.so.4 
(0x4009c000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x400a5000)
        libc.so.6 => /lib/libc.so.6 (0x400bb000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x401e1000)
        libz.so.1 => /lib/libz.so.1 (0x4020e000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

trixie:~ # nm /software/cups-1.3svn-r6014/SuSE-7.3/lib/libcups.so.2 | grep 
cupsDoRequest
00021030 T cupsDoRequest

So not sure where this comes from...

BTW, I also managed to install the printer using cups, but when trying
to print hpssd.py will crash with:

Feb 27 23:32:58 localhost python: hpssd[1344]: fatal: Traceback (innermost 
last):   File "./hpssd.py", line 707, in main     loop(timeout=5.0)   File 
"/software/hplip-1.7.1/share/hplip/base/async.py", line 114, in loop     
obj.handle_read_event()   File 
"/software/hplip-1.7.1/share/hplip/base/async.py", line 299, in 
handle_read_event     self.handle_read()   File "./hpssd.py", line 209, in 
handle_read     self.handlers.get(msg_type, self.handle_unknown)()   File 
"./hpssd.py", line 468, in handle_event     jobs = cups.getAllJobs()   File 
"/software/hplip-1.7.1/share/hplip/prnt/cups.py", line 105, in getAllJobs     
return cupsext.getJobs(my_job, 0) + cupsext.getJobs(my_job, 1)  NameError: 
global name 'cupsext' is not defined 
Feb 27 23:32:58 localhost kernel: usb.c: usbdevfs driver claimed interface 
c44f2e58
Feb 27 23:32:58 localhost kernel: usb.c: ignoring set_interface for dev 2, 
iface 1, alt 0

but see below...

> the above is more interesting.  can you run
> 
> cat /etc/hosts
> 
> and post the output?  as well make sure some firewall isn't blocking the
> hppsd from starting.

Ok, I think I established that this wasn't the problem, but for
completeness:

trixie:~ # cat /etc/hosts
#
# hosts         This file describes a number of hostname-to-address
#               mappings for the TCP/IP subsystem.  It is mostly
#               used at boot time, when no name servers are running.
#               On small systems, this file can be used instead of a
#               "named" name server.
# Syntax:
#    
# IP-Address  Full-Qualified-Hostname  Short-Hostname
#


127.0.0.1       localhost loopback trixie
#127.0.0.2              ramallo.informatik.uni-freiburg.de      ramallo
#127.0.0.3              trixie.informatik.uni-freiburg.de       trixie
132.230.150.1   avalon.informatik.uni-freiburg.de       avalon
132.230.150.1   pop.informatik.uni-freiburg.de
132.230.167.101 asterix.informatik.uni-freiburg.de      asterix
134.100.12.111  kogs.informatik.uni-hamburg.de          kogs kogs1
134.100.12.146  kogs46.informatik.uni-hamburg.de          kogs46
192.168.1.2     quaderno


> also run
> 
> /etc/init.d/hplip restart

trixie:~ # /etc/init.d/hplip restart
Stopping hpiod:                                            [  OK  ]
Stopping hpssd:                                            [  OK  ]
Starting hpiod:                                            [  OK  ]
Starting hpssd:                                            [  OK  ]

Something else which might be interesting:

trixie:~ # hp-check
[...]
HPOJ running?
error: Yes, HPOJ is running. HPLIP is not compatible with HPOJ. To run HPLIP, 
please remove HPOJ.

I strongly believe this is not true, what gets checked here?

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

Checking 'cupsext' CUPS extension...
error: Not found! Please reinstall HPLIP and check for the proper installation 
of cupsext.

Checking 'pcardext' Photocard extension...
error: Not found! Please reinstall HPLIP and check for the proper installation 
of pcardext.

I take it this is what is causing the problem?  So what should I do?

Sven

SuSE 7.3 with kernel 2.4.34.1 and
  1) hplip/1.7.1         
  2) python/2.4.3        
  3) sane/1.0.18         
  4) gs/8.15.3-esp
  5) cups/1.3svn-r6014   
  6) libusb/0.1.12       
  7) xsane/0.992
-- 
  __ _  _ __  __ __ 
 / _` || '  \ \ \ /
 \__, ||_|_|_|/_\_\  http://kogs-www.informatik.uni-hamburg.de/~utcke/Private/
 |___/     Key fingerprint =  6F F8 55 1C F9 E3 A8 F7  09 DF F7 2C 25 0C 54 53

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
HPLIP-Help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hplip-help

Reply via email to