Hi list,
I just c/p my mail, that I wrote to the guys from
SANETWAIN(sanetwain.ozuzo.net):

==START==

I have WINDOWS 2003 Terminal Server, on this is Scanimage.exe with
windows/sanetwain.ini and windows/twain_32/SaneTwain.ds installed.
(Also tried beta versions btw.)

The SANED with HPLIP, all newest versions, running on OpenSUSE 10.1.

If I call Scanimage.exe from the W2003Server directly, everything works
fine!

But, when i try to open the TWAIN interface with OpenOffice or MS Office
Document Scanning-Tool it hangs and I get this error from hpssd.py debug
and it is killing hpssd!

I don't know if it is SANETwain Bug, or if w2003 is not supportet, or if
the HPLIP is wrong?

Thank you very much!!!!!!!! 

Here is the debug:

========================================================================
===

sic3:~ # /usr/local/share/hplip/hpssd.py -g

HP Linux Imaging and Printing System (ver. 1.6.6a) Services and Status
Daemon ver. 7.5

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

hpssd[5159]: debug: port=34355
Listening on localhost:34355
hpssd[5159]: debug: Starting async loop...
hpssd[5159]: debug: Connected to client: 127.0.0.1:47102 (4)
hpssd[5159]: debug: Reading data on channel (8)
hpssd[5159]: debug:
'msg=ProbeDevicesFiltered\nbus=usb,cups,par\nfilter=scan\nformat=default
\n'
hpssd[5159]: debug: Handling: ******************** probedevicesfiltered
********************
hpssd[5159]: debug:
'msg=ProbeDevicesFiltered\nbus=usb,cups,par\nfilter=scan\nformat=default
\n'
hpssd[5159]: debug: usb
hpssd[5159]: debug: Connecting to hpiod (localhost:35393)...
hpssd[5159]: debug: (xmit) Sending data on channel (9)
hpssd[5159]: debug: 'msg=probedevices\nbus=usb\n'
hpssd[5159]: debug: (xmit) Reading data on channel (9)
hpssd[5159]: debug:
'msg=ProbeDevicesResult\nresult-code=0\nnum-devices=0\nlength=0\ndata:\n
'
hpssd[5159]: debug: Query model: officejet_d_series
hpssd[5159]: debug: Searching directory: /usr/local/share/hplip/data/xml
hpssd[5159]: debug: Searching file:
/usr/local/share/hplip/data/xml/HPLIP-05-2006.xml
hpssd[5159]: debug: Searching file:
/usr/local/share/hplip/data/xml/HPLIP-0.9.6.xml
hpssd[5159]: debug: Searching file:
/usr/local/share/hplip/data/xml/HPLIP-0.9.7.xml
hpssd[5159]: debug: Searching file:
/usr/local/share/hplip/data/xml/unsupported.xml
hpssd[5159]: debug: Searching file:
/usr/local/share/hplip/data/xml/HPLIP-06-2006.xml
hpssd[5159]: debug: Searching file:
/usr/local/share/hplip/data/xml/HPLIP-02-2006.xml
hpssd[5159]: debug: Searching file:
/usr/local/share/hplip/data/xml/HPLIP-03-2006.xml
hpssd[5159]: debug: Searching file:
/usr/local/share/hplip/data/xml/models.xml
hpssd[5159]: debug: Found
hpssd[5159]: debug: Query model: officejet_g95
hpssd[5159]: debug: Searching directory: /usr/local/share/hplip/data/xml
hpssd[5159]: debug: Searching file:
/usr/local/share/hplip/data/xml/HPLIP-05-2006.xml
hpssd[5159]: debug: Searching file:
/usr/local/share/hplip/data/xml/HPLIP-0.9.6.xml
hpssd[5159]: debug: Searching file:
/usr/local/share/hplip/data/xml/HPLIP-0.9.7.xml
hpssd[5159]: debug: Searching file:
/usr/local/share/hplip/data/xml/unsupported.xml
hpssd[5159]: debug: Searching file:
/usr/local/share/hplip/data/xml/HPLIP-06-2006.xml
hpssd[5159]: debug: Searching file:
/usr/local/share/hplip/data/xml/HPLIP-02-2006.xml
hpssd[5159]: debug: Searching file:
/usr/local/share/hplip/data/xml/HPLIP-03-2006.xml
hpssd[5159]: debug: Searching file:
/usr/local/share/hplip/data/xml/models.xml
hpssd[5159]: debug: Found
hpssd[5159]: debug: par
hpssd[5159]: debug: Connecting to hpiod (localhost:35393)...
hpssd[5159]: debug: (xmit) Sending data on channel (10)
hpssd[5159]: debug: 'msg=probedevices\nbus=par\n'
hpssd[5159]: debug: (xmit) Reading data on channel (10)
hpssd[5159]: debug:
'msg=ProbeDevicesResult\nresult-code=0\nnum-devices=0\nlength=0\ndata:\n
'
hpssd[5159]: debug: Sending data on channel (8)
hpssd[5159]: debug:
'msg=probedevicesfilteredresult\nresult-code=0\nnum-devices=2\nencoding=
none\nlength=117\ndata:\nhp:/net/OfficeJet_G95?ip=192.168.86.126,OfficeJ
et_G95\nhp:/net/officejet_d_series?ip=192.168.90.15,officejet_d_series\n
'
hpssd[5159]: debug: Reading data on channel (8)
hpssd[5159]: debug: 'msg=ModelQuery\nmodel=\n'
hpssd[5159]: debug: Handling: ******************** modelquery
********************
hpssd[5159]: debug: 'msg=ModelQuery\nmodel=\n'
fatal error: Traceback (innermost last):
  File "/usr/local/share/hplip/hpssd.py", line 1479, in main
    loop(timeout=0.5)
  File "/usr/local/share/hplip/hpssd.py", line 294, in loop
    obj.handle_read_event()
  File "/usr/local/share/hplip/hpssd.py", line 448, in handle_read_event
    self.handle_read()
  File "/usr/local/share/hplip/hpssd.py", line 660, in handle_read
    self.handlers.get(msg_type, self.handle_unknown)()
  File "/usr/local/share/hplip/hpssd.py", line 771, in handle_modelquery
    mq = QueryModel(model)
  File "/usr/local/share/hplip/hpssd.py", line 250, in QueryModel
    model_name = device.normalizeModelName(model_name).lower()
  File "/usr/local/share/hplip/base/device.py", line 494, in
normalizeModelName
    return utils.xstrip(model.replace(' ', '_').replace('__',
'_').replace('~','').replace('/', '_'), '_')
  File "/usr/local/share/hplip/base/utils.py", line 1307, in xstrip
    return xreverse(xlstrip(xreverse(xlstrip(s, chars)), chars))
  File "/usr/local/share/hplip/base/utils.py", line 1296, in xlstrip
    return s[i:]
 UnboundLocalError: local variable 'i' referenced before assignment

hpssd[5159]: debug: Cleaning up...
sic3:~ #

========================================================================
===

==EOF==
--
Mit freundlichen Gruessen
 
Kain Sascha
 
[EMAIL PROTECTED]
0 86 51 - 70 09-971
 
 



-------------------------------------------------------------------------
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