fromfd failure on Mac OS X

Brandon Lewis brandon at geerbox.com
Thu Apr 17 16:48:12 EDT 2003


fromfd function is apparently failing to return a valid socket on Mac 
OS X.

This is the error I get:

Traceback (most recent call last):
   File "/usr/share/spyce/run_spyceCGI.py", line 21, in ?
     execfile(sys.argv[0])
   File "/usr/share/spyce/verchk.py", line 35, in ?
     execfile(sys.argv[0])
   File "/usr/share/spyce/spyceCGI.py", line 45, in ?
     main()
   File "/usr/share/spyce/spyceCGI.py", line 34, in main
     more = cgi.accept()
   File "/usr/share/spyce/fcgi.py", line 183, in accept
     result = self.recv()
   File "/usr/share/spyce/fcgi.py", line 217, in recv
     self.connection, address = self.socket.accept()
socket.error: (22, 'Invalid argument')
[Thu Apr 17 11:33:28 2003] [error] [client 12.22.222.50] Premature end 
of script headers: /usr/share/spyce/run_spyceCGI.py


Running Mac OS X 10.2.4, Apache 1.3.27, Python 2.2, Spyce 1.3.9

Has anyone run into this problem and fixed it in the past?






More information about the Python-list mailing list