[Python-Dev] IDLE timeout.
Hi to all, I write on this list, because the error concerns the internals (I think). The IDLE has a strange behaviour. Sometimes, randomly, the IDLE restart the interpreter, with the follow exception on console: Unhandled server exception! Thread: SockThread Client Address: ('127.0.0.1', 8833) Request: Traceback (most recent call last): File "/opt/python301/lib/python3.0/socketserver.py", line 281, in _handle_request_noblock self.process_request(request, client_address) File "/opt/python301/lib/python3.0/socketserver.py", line 307, in process_request self.finish_request(request, client_address) File "/opt/python301/lib/python3.0/socketserver.py", line 320, in finish_request self.RequestHandlerClass(request, client_address, self) File "/opt/python301/lib/python3.0/idlelib/rpc.py", line 503, in __init__ socketserver.BaseRequestHandler.__init__(self, sock, addr, svr) File "/opt/python301/lib/python3.0/socketserver.py", line 614, in __init__ self.handle() File "/opt/python301/lib/python3.0/idlelib/run.py", line 259, in handle rpc.RPCHandler.getresponse(self, myseq=None, wait=0.05) File "/opt/python301/lib/python3.0/idlelib/rpc.py", line 280, in getresponse response = self._getresponse(myseq, wait) File "/opt/python301/lib/python3.0/idlelib/rpc.py", line 300, in _getresponse response = self.pollresponse(myseq, wait) File "/opt/python301/lib/python3.0/idlelib/rpc.py", line 424, in pollresponse message = self.pollmessage(wait) File "/opt/python301/lib/python3.0/idlelib/rpc.py", line 376, in pollmessage packet = self.pollpacket(wait) File "/opt/python301/lib/python3.0/idlelib/rpc.py", line 347, in pollpacket r, w, x = select.select([self.sock.fileno()], [], [], wait) select.error: (4, 'Interrupted system call') *** Unrecoverable, server exiting! There isn't a specific reason; IDLE restart when I write some code, or when I insert a return, or also when I do nothing. If it is a bug, I don't know how to compile a test case, because the error is randomly. Thanks to all. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] IDLE timeout.
Ah, sometimes, the exception raised is following (slightly different from previous): Exception in Tkinter callback Traceback (most recent call last): File "/opt/python301/lib/python3.0/tkinter/__init__.py", line 1399, in __call__ return self.func(*args) File "/opt/python301/lib/python3.0/tkinter/__init__.py", line 487, in callit func(*args) File "/opt/python301/lib/python3.0/idlelib/PyShell.py", line 490, in poll_subprocess response = clt.pollresponse(self.active_seq, wait=0.05) File "/opt/python301/lib/python3.0/idlelib/rpc.py", line 424, in pollresponse message = self.pollmessage(wait) File "/opt/python301/lib/python3.0/idlelib/rpc.py", line 376, in pollmessage packet = self.pollpacket(wait) File "/opt/python301/lib/python3.0/idlelib/rpc.py", line 347, in pollpacket r, w, x = select.select([self.sock.fileno()], [], [], wait) select.error: (4, 'Interrupted system call') In this case the IDLE not respond, because the python interpreter is not restarted. I must to close all :-(. I will open a issue in the tracker relative to IDLE for now? Regards. 2009/4/15 Ivan Krstić > On Apr 15, 2009, at 10:05 AM, Alessio Giovanni Baroni wrote: > >>r, w, x = select.select([self.sock.fileno()], [], [], wait) >> select.error: (4, 'Interrupted system call') >> > > > See here for an explanation of the same problem in another module: > <http://mail.python.org/pipermail/python-dev/2000-October/009671.html> > > Sounds like you ought to file a bug against IDLE to have it grow EINTR > handling. Cheers, > > -- > Ivan Krstić | http://radian.org > > ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
Re: [Python-Dev] 3.1 beta blockers
There are some cases of OutOfMemory? On my machine the float->string conversion is all ok. Also 'make test' is all ok. 2009/4/21 Benjamin Peterson > The first (and only) beta of 3.1 is scheduled for less than 2 weeks > away, May 2nd, and is creeping onto the horizon. There are currently 6 > blockers: > > #5692: test_zipfile fails under Windows - This looks like a fairly easy > fix. > > #5775: marshal.c needs to be checked for out of memory errors - Looks > like Eric has this one. > > #5410: msvcrt bytes cleanup - It would be nice to have a Windows > expert examine the patch on this issue for correctness. > > #5786: [This isn't applicable to 3.1] > > #5783: IDLE cannot find windows chm file - Awaiting a fix to the IDLE > or the doc build system. > > > -- > Thanks for your work, > Benjamin > ___ > Python-Dev mailing list > Python-Dev@python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > http://mail.python.org/mailman/options/python-dev/alessiogiovanni.baroni%40gmail.com > ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com