[Python-bugs-list] [ python-Bugs-437879 ] SocketServer.py related problems

noreply@sourceforge.net noreply@sourceforge.net
Fri, 06 Jul 2001 09:13:13 -0700


Bugs item #437879, was opened at 2001-07-02 05:22
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=437879&group_id=5470

Category: Python Library
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Andreas Jung (ajung)
>Assigned to: Guido van Rossum (gvanrossum)
Summary: SocketServer.py related problems

Initial Comment:
I tried several third-party proxy servers for Python
(munchy,webdebug) go get working with
Python 2.1 under Linux i386.
But all fail with similar problems:

Under 2.1:

andreas@yetix:/home/andreas/src/munchy-0.7: python2.1 munchy.py 8006
Starting proxy on port 8006
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/opt/python-2.1/lib/python2.1/threading.py", line 378, in __bootstrap
    self.run()
  File "/opt/python-2.1/lib/python2.1/threading.py", line 366, in run
    apply(self.__target, self.__args, self.__kwargs)
  File "/opt/python-2.1/lib/python2.1/SocketServer.py", line 246, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/opt/python-2.1/lib/python2.1/SocketServer.py", line 494, in __init__
    self.setup()
  File "/opt/python-2.1/lib/python2.1/SocketServer.py", line 537, in setup
    self.rfile = self.connection.makefile('rb', self.rbufsize)
error: (9, 'Bad file descriptor')

I could not track down the problem :-(

Andreas






----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=437879&group_id=5470