AjaxTerm wont work on Mac OS X

just downloaded Ajaxterm-0.10 on my Mac 10.5.8 and after a ./ajaxterm.py i get:

AjaxTerm at http://localhost:8022/

which looks ok but as soon i go to the website:

./ajaxterm.py:418: DeprecationWarning: 'I' format requires 0 <= number <= 4294967295
  fcntl.ioctl(fd, struct.unpack('i',struct.pack('I',termios.TIOCSWINSZ))[0], struct.pack("HHHH",h,w,0,0))
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 56408)
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 222, in handle_request
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1317, in process_request
    return BaseHTTPServer.HTTPServer.process_request(self,*p)
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 241, in process_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 254, in finish_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 522, in __init__
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/BaseHTTPServer.py", line 316, in handle
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/BaseHTTPServer.py", line 310, in handle_one_request
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1291, in do_POST
    self.serve('GET')
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1283, in serve
    appiter=self.server.wsgiapp(environ, self.start_response)
  File "./ajaxterm.py", line 499, in __call__
    term=self.session=self.multi.create(w,h)
  File "./ajaxterm.py", line 365, in __call__
    r=self.orig(*l)
  File "./ajaxterm.py", line 418, in create
    fcntl.ioctl(fd, struct.unpack('i',struct.pack('I',termios.TIOCSWINSZ))[0], struct.pack("HHHH",h,w,0,0))
IOError: [Errno 25] Inappropriate ioctl for device
----------------------------------------
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 56411)
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 222, in handle_request
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1317, in process_request
    return BaseHTTPServer.HTTPServer.process_request(self,*p)
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 241, in process_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 254, in finish_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 522, in __init__
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/BaseHTTPServer.py", line 316, in handle
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/BaseHTTPServer.py", line 310, in handle_one_request
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1291, in do_POST
    self.serve('GET')
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1283, in serve
    appiter=self.server.wsgiapp(environ, self.start_response)
  File "./ajaxterm.py", line 499, in __call__
    term=self.session=self.multi.create(w,h)
  File "./ajaxterm.py", line 365, in __call__
    r=self.orig(*l)
  File "./ajaxterm.py", line 418, in create
    fcntl.ioctl(fd, struct.unpack('i',struct.pack('I',termios.TIOCSWINSZ))[0], struct.pack("HHHH",h,w,0,0))
IOError: [Errno 25] Inappropriate ioctl for device
----------------------------------------
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 56414)
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 222, in handle_request
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1317, in process_request
    return BaseHTTPServer.HTTPServer.process_request(self,*p)
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 241, in process_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 254, in finish_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 522, in __init__
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/BaseHTTPServer.py", line 316, in handle
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/BaseHTTPServer.py", line 310, in handle_one_request
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1291, in do_POST
    self.serve('GET')
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1283, in serve
    appiter=self.server.wsgiapp(environ, self.start_response)
  File "./ajaxterm.py", line 499, in __call__
    term=self.session=self.multi.create(w,h)
  File "./ajaxterm.py", line 365, in __call__
    r=self.orig(*l)
  File "./ajaxterm.py", line 418, in create
    fcntl.ioctl(fd, struct.unpack('i',struct.pack('I',termios.TIOCSWINSZ))[0], struct.pack("HHHH",h,w,0,0))
IOError: [Errno 25] Inappropriate ioctl for device
----------------------------------------
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 56417)
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 222, in handle_request
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1317, in process_request
    return BaseHTTPServer.HTTPServer.process_request(self,*p)
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 241, in process_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 254, in finish_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 522, in __init__
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/BaseHTTPServer.py", line 316, in handle
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/BaseHTTPServer.py", line 310, in handle_one_request
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1291, in do_POST
    self.serve('GET')
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1283, in serve
    appiter=self.server.wsgiapp(environ, self.start_response)
  File "./ajaxterm.py", line 499, in __call__
    term=self.session=self.multi.create(w,h)
  File "./ajaxterm.py", line 365, in __call__
    r=self.orig(*l)
  File "./ajaxterm.py", line 418, in create
    fcntl.ioctl(fd, struct.unpack('i',struct.pack('I',termios.TIOCSWINSZ))[0], struct.pack("HHHH",h,w,0,0))
IOError: [Errno 25] Inappropriate ioctl for device
----------------------------------------
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 56420)
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 222, in handle_request
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1317, in process_request
    return BaseHTTPServer.HTTPServer.process_request(self,*p)
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 241, in process_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 254, in finish_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 522, in __init__
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/BaseHTTPServer.py", line 316, in handle
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/BaseHTTPServer.py", line 310, in handle_one_request
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1291, in do_POST
    self.serve('GET')
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1283, in serve
    appiter=self.server.wsgiapp(environ, self.start_response)
  File "./ajaxterm.py", line 499, in __call__
    term=self.session=self.multi.create(w,h)
  File "./ajaxterm.py", line 365, in __call__
    r=self.orig(*l)
  File "./ajaxterm.py", line 418, in create
    fcntl.ioctl(fd, struct.unpack('i',struct.pack('I',termios.TIOCSWINSZ))[0], struct.pack("HHHH",h,w,0,0))
IOError: [Errno 25] Inappropriate ioctl for device
----------------------------------------
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 56423)
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 222, in handle_request
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1317, in process_request
    return BaseHTTPServer.HTTPServer.process_request(self,*p)
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 241, in process_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 254, in finish_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 522, in __init__
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/BaseHTTPServer.py", line 316, in handle
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/BaseHTTPServer.py", line 310, in handle_one_request
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1291, in do_POST
    self.serve('GET')
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1283, in serve
    appiter=self.server.wsgiapp(environ, self.start_response)
  File "./ajaxterm.py", line 499, in __call__
    term=self.session=self.multi.create(w,h)
  File "./ajaxterm.py", line 365, in __call__
    r=self.orig(*l)
  File "./ajaxterm.py", line 418, in create
    fcntl.ioctl(fd, struct.unpack('i',struct.pack('I',termios.TIOCSWINSZ))[0], struct.pack("HHHH",h,w,0,0))
IOError: [Errno 25] Inappropriate ioctl for device
----------------------------------------
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 56427)
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 222, in handle_request
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1317, in process_request
    return BaseHTTPServer.HTTPServer.process_request(self,*p)
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 241, in process_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 254, in finish_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 522, in __init__
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/BaseHTTPServer.py", line 316, in handle
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/BaseHTTPServer.py", line 310, in handle_one_request
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1291, in do_POST
    self.serve('GET')
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1283, in serve
    appiter=self.server.wsgiapp(environ, self.start_response)
  File "./ajaxterm.py", line 499, in __call__
    term=self.session=self.multi.create(w,h)
  File "./ajaxterm.py", line 365, in __call__
    r=self.orig(*l)
  File "./ajaxterm.py", line 418, in create
    fcntl.ioctl(fd, struct.unpack('i',struct.pack('I',termios.TIOCSWINSZ))[0], struct.pack("HHHH",h,w,0,0))
IOError: [Errno 25] Inappropriate ioctl for device
----------------------------------------
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 56430)
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 222, in handle_request
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1317, in process_request
    return BaseHTTPServer.HTTPServer.process_request(self,*p)
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 241, in process_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 254, in finish_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 522, in __init__
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/BaseHTTPServer.py", line 316, in handle
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/BaseHTTPServer.py", line 310, in handle_one_request
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1291, in do_POST
    self.serve('GET')
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1283, in serve
    appiter=self.server.wsgiapp(environ, self.start_response)
  File "./ajaxterm.py", line 499, in __call__
    term=self.session=self.multi.create(w,h)
  File "./ajaxterm.py", line 365, in __call__
    r=self.orig(*l)
  File "./ajaxterm.py", line 418, in create
    fcntl.ioctl(fd, struct.unpack('i',struct.pack('I',termios.TIOCSWINSZ))[0], struct.pack("HHHH",h,w,0,0))
IOError: [Errno 25] Inappropriate ioctl for device
----------------------------------------
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 56433)
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 222, in handle_request
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1317, in process_request
    return BaseHTTPServer.HTTPServer.process_request(self,*p)
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 241, in process_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 254, in finish_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 522, in __init__
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/BaseHTTPServer.py", line 316, in handle
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/BaseHTTPServer.py", line 310, in handle_one_request
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1291, in do_POST
    self.serve('GET')
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1283, in serve
    appiter=self.server.wsgiapp(environ, self.start_response)
  File "./ajaxterm.py", line 499, in __call__
    term=self.session=self.multi.create(w,h)
  File "./ajaxterm.py", line 365, in __call__
    r=self.orig(*l)
  File "./ajaxterm.py", line 418, in create
    fcntl.ioctl(fd, struct.unpack('i',struct.pack('I',termios.TIOCSWINSZ))[0], struct.pack("HHHH",h,w,0,0))
IOError: [Errno 25] Inappropriate ioctl for device
----------------------------------------
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 56436)
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 222, in handle_request
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1317, in process_request
    return BaseHTTPServer.HTTPServer.process_request(self,*p)
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 241, in process_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 254, in finish_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 522, in __init__
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/BaseHTTPServer.py", line 316, in handle
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/BaseHTTPServer.py", line 310, in handle_one_request
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1291, in do_POST
    self.serve('GET')
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1283, in serve
    appiter=self.server.wsgiapp(environ, self.start_response)
  File "./ajaxterm.py", line 499, in __call__
    term=self.session=self.multi.create(w,h)
  File "./ajaxterm.py", line 365, in __call__
    r=self.orig(*l)
  File "./ajaxterm.py", line 418, in create
    fcntl.ioctl(fd, struct.unpack('i',struct.pack('I',termios.TIOCSWINSZ))[0], struct.pack("HHHH",h,w,0,0))
IOError: [Errno 25] Inappropriate ioctl for device
----------------------------------------
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 56441)
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 222, in handle_request
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1317, in process_request
    return BaseHTTPServer.HTTPServer.process_request(self,*p)
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 241, in process_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 254, in finish_request
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/SocketServer.py", line 522, in __init__
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/BaseHTTPServer.py", line 316, in handle
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/BaseHTTPServer.py", line 310, in handle_one_request
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1291, in do_POST
    self.serve('GET')
  File "/Users/ottojun/Downloads/Ajaxterm-0.10/qweb.py", line 1283, in serve
    appiter=self.server.wsgiapp(environ, self.start_response)
  File "./ajaxterm.py", line 499, in __call__
    term=self.session=self.multi.create(w,h)
  File "./ajaxterm.py", line 365, in __call__
    r=self.orig(*l)
  File "./ajaxterm.py", line 418, in create
    fcntl.ioctl(fd, struct.unpack('i',struct.pack('I',termios.TIOCSWINSZ))[0], struct.pack("HHHH",h,w,0,0))
IOError: [Errno 25] Inappropriate ioctl for device
----------------------------------------
----

and looks like this:

pls help, i have no idea whats wrong :confused: