[browsershots-factories] Socket error
Johann C. Rocholl
johann at browsershots.org
Sun Dec 9 13:32:07 CET 2007
In the terminal, type "python" and then press the Tab key twice. You
should get a list of all executables on your PATH that start with
"python".
I get the following on my iBook:
python python2.3 python2.4 pythonw pythonw2.3 pythonw2.4
So you should be able to run the original Python (version 2.3.5) like this:
python2.3 shotfactory.py -l 2 -p <password> -w 45
The problem seems to be due to a bug in the socket module. If you
remove the call to socket.setdefaulttimeout(180) from
shotfactory04/servers/xmlrpc.py, the problem with newer Python
versions seems to go away, but your factory may hang forever if
there's a network problem.
Hope this helps,
Johann
On Dec 9, 2007 12:18 PM, Andre Kemmeren wrote:
> Can confirm this, this is under python 2.5, how can i tell him to use
> the old python?
>
> Andre
> Op 9 dec 2007, om 11:21 heeft Ben Mason het volgende geschreven:
>
> > I get this same error on OSX if I use a python I've installed
> > myself. If I use the one that comes with OSX then I don't
> > get the problem.
More information about the browsershots-factories
mailing list