Hi Christoph, Le mercredi 10 août 2011 à 14:54:50 (+0200 CEST), Christoph Kling a écrit : > Subject: Re: daemon fails to create shell session with --daemon > Followup-For: Bug #608340 > Package: ajaxterm > Version: 0.10-11 > > Hello, > > I can provide additional information for this bug. I experience it if I > configure > ajaxterm to start in daemon mode with uid root so that ajaxterm uses > /bin/login.
Thanks for your detailed explanations. Unfortunately, I still fail to reproduce the problem, testing on several machines. > 127.0.0.1 - - [10/Aug/2011 14:41:47] "POST /u HTTP/1.0" 200 - > Exception in thread Thread-1: > Traceback (most recent call last): > File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner > self.run() > File "/usr/lib/python2.6/threading.py", line 484, in run > self.__target(*self.__args, **self.__kwargs) > File "/usr/share/ajaxterm/ajaxterm.py", line 502, in loop > self.proc_read(fd) > File "/usr/share/ajaxterm/ajaxterm.py", line 377, in __call__ > r=self.orig(*l) > File "/usr/share/ajaxterm/ajaxterm.py", line 477, in proc_read > t.write(os.read(fd,65536)) > File "/usr/share/ajaxterm/ajaxterm.py", line 310, in write > for i in utf8decoder.decode(s): > File "/usr/lib/python2.6/codecs.py", line 296, in decode > (result, consumed) = self._buffer_decode(data, self.errors, final) > UnicodeDecodeError: 'utf8' codec can't decode byte 0xd6 in position 451: > invalid continuation byte I have contacted the author of the patch which adds UTF-8 support to Ajaxterm. You mention in your email that Ajaxterm crashes (or so) when you raise 'ls -l'. Do you have any files/directories with specific encodings in your ~/ ? what locale do you use on your server? > Because of the unicode error message, I should perhaps add my browser version > Firefox 5.0 on Windows 7. I accessed the ajaxterm remotely via squid > 2.7.STABLE9-4. I use Iceweasel 5.0 on Debian, but I do not think it is related. However, if you have the possibility to test with another browser/platform... > By the way, I can confirm the problem that ajaxterm does not react on > Ctrl+C when in non-daemon mode: > > ^CTraceback (most recent call last): > File "/usr/share/ajaxterm/ajaxterm.py", line 652, in main > g_server.serve_forever() > File "/usr/lib/python2.6/SocketServer.py", line 224, in serve_forever > r, w, e = select.select([self], [], [], poll_interval) > KeyboardInterrupt I fail to understand what is the problem there? Cheers, Julien -- .''`. Julien Valroff ~ <jul...@kirya.net> ~ <jul...@debian.org> : :' : Debian Developer & Free software contributor `. `'` http://www.kirya.net/ `- 4096R/ E1D8 5796 8214 4687 E416 948C 859F EF67 258E 26B1
signature.asc
Description: Digital signature