Package: ajaxterm
Version: 0.10-2
Severity: important
It's totally broken for me, when I open the web page the terminal is not
displayed and I get a backtrace from the daemon for each request.
This pseudo-patch fixes it:
-fcntl.ioctl(fd, struct.unpack('i',struct.pack('I',termios.TIOCSWINSZ))[0],
struct.pack("HHHH",h,w,0,0))
+fcntl.ioctl(fd, termios.TIOCSWINSZ, struct.pack("HHHH",h,w,0,0))
Linux attila.bofh.it 2.6.11.5 #1 Tue Mar 22 17:55:33 CET 2005 ppc GNU/Linux
Exception happened during processing of request from ('127.0.0.1', 54574)
Traceback (most recent call last):
File "/usr/lib/python2.5/SocketServer.py", line 222, in handle_request
self.process_request(request, client_address)
File "/usr/share/ajaxterm/qweb.py", line 1317, in process_request
return BaseHTTPServer.HTTPServer.process_request(self,*p)
File "/usr/lib/python2.5/SocketServer.py", line 241, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python2.5/SocketServer.py", line 254, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.5/SocketServer.py", line 522, in __init__
self.handle()
File "/usr/lib/python2.5/BaseHTTPServer.py", line 316, in handle
self.handle_one_request()
File "/usr/lib/python2.5/BaseHTTPServer.py", line 310, in handle_one_request
method()
File "/usr/share/ajaxterm/qweb.py", line 1289, in do_GET
self.serve('GET')
File "/usr/share/ajaxterm/qweb.py", line 1283, in serve
appiter=self.server.wsgiapp(environ, self.start_response)
File "/usr/share/ajaxterm/ajaxterm.py", line 503, in __call__
term=self.session[s]=self.multi.create(w,h)
File "/usr/share/ajaxterm/ajaxterm.py", line 365, in __call__
r=self.orig(*l)
File "/usr/share/ajaxterm/ajaxterm.py", line 422, in create
fcntl.ioctl(fd,
struct.unpack('i',struct.pack('I',termios.TIOCSWINSZ))[0],
struct.pack("HHHH",h,w,0,0))
IOError: [Errno 22] Invalid argument
--
ciao,
Marco
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]