|
From: Sascha K. <ka...@ch...> - 2006-07-28 21:40:08
|
Hi list, I just c/p my mail, that I wrote to the guys from SANETWAIN(sanetwain.ozuzo.net): =3D=3DSTART=3D=3D 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!!!!!!!!=20 Here is the debug: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D 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=3D34355 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=3DProbeDevicesFiltered\nbus=3Dusb,cups,par\nfilter=3Dscan\nformat=3D= default \n' hpssd[5159]: debug: Handling: ******************** probedevicesfiltered ******************** hpssd[5159]: debug: 'msg=3DProbeDevicesFiltered\nbus=3Dusb,cups,par\nfilter=3Dscan\nformat=3D= 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=3Dprobedevices\nbus=3Dusb\n' hpssd[5159]: debug: (xmit) Reading data on channel (9) hpssd[5159]: debug: 'msg=3DProbeDevicesResult\nresult-code=3D0\nnum-devices=3D0\nlength=3D0\n= data:\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=3Dprobedevices\nbus=3Dpar\n' hpssd[5159]: debug: (xmit) Reading data on channel (10) hpssd[5159]: debug: 'msg=3DProbeDevicesResult\nresult-code=3D0\nnum-devices=3D0\nlength=3D0\n= data:\n ' hpssd[5159]: debug: Sending data on channel (8) hpssd[5159]: debug: 'msg=3Dprobedevicesfilteredresult\nresult-code=3D0\nnum-devices=3D2\nenco= ding=3D none\nlength=3D117\ndata:\nhp:/net/OfficeJet_G95?ip=3D192.168.86.126,Offi= ceJ et_G95\nhp:/net/officejet_d_series?ip=3D192.168.90.15,officejet_d_series\= n ' hpssd[5159]: debug: Reading data on channel (8) hpssd[5159]: debug: 'msg=3DModelQuery\nmodel=3D\n' hpssd[5159]: debug: Handling: ******************** modelquery ******************** hpssd[5159]: debug: 'msg=3DModelQuery\nmodel=3D\n' fatal error: Traceback (innermost last): File "/usr/local/share/hplip/hpssd.py", line 1479, in main loop(timeout=3D0.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 =3D QueryModel(model) File "/usr/local/share/hplip/hpssd.py", line 250, in QueryModel model_name =3D 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:~ # =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D =3D=3DEOF=3D=3D -- Mit freundlichen Gruessen =20 Kain Sascha =20 ka...@ch... 0 86 51 - 70 09-971 =20 =20 |