I have found cause of my problem.
1. I edited /usr/sbin/jetpipe, to preven it from forking.
2. I launched /usr/sbin/jetpipe -b 9600 -y 8 -p none -x /dev/usblp0 9100 on TC
3. I send some jobs to printer.
4. While printing i swiched off an on printer.
5. I sow the following in terminal:\
--------------------------------------------------------------------------------------------------------
r...@ltsp26:/usr/sbin# /usr/sbin/jetpipe -b 9600 -y 8 -p none -x /dev/usblp0 
9100
/dev/usblp0 9100
Waiting for connection....
Connected by ('192.168.50.1', 41319)
in writer loop
Disconnected
Waiting for connection....
Connected by ('192.168.50.1', 41361)
in writer loop
Traceback (most recent call last):
  File "/usr/sbin/jetpipe", line 207, in <module>
    redir.shortcut()
  File "/usr/sbin/jetpipe", line 66, in shortcut
    self.writer()
  File "/usr/sbin/jetpipe", line 84, in writer
    self.device.flush()                              # parallel device
IOError: [Errno 19] No such device
--------------------------------------------------------------------------------------------------------

Unfortunately i'm not familiar with python, but i think that there
should be exeption handling cunstruction (like try-catch) in this
snippet of /usr/sbin/jetpipe:

(line 28)            self.device.write(data).....

-- 
jaunty ltsp - Usb printer local - not print
https://bugs.launchpad.net/bugs/398238
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to