[phenixbb] phenix-online.org web server issues on Friday?

Ben Eisenbraun bene at hkl.hms.harvard.edu
Tue Jul 6 09:20:35 PDT 2010

Howdy PHENIXians,

One of my users reported a "Error attempting to get current version list:
HTTP Error 500: Internal Server Error" on Friday morning last week.
Looking through the source, I see:


which seems to do a version lookup against:


It would be good to set an explicit timeout on the urlopen so the GUI
doesn't hang on network errors, web server blow ups, etc.

AFAICT, urllib2 uses the default global timeout for the socket module, but
socket has no default timeout, so calls to a broken web server can hang
your python program.


| Ben Eisenbraun                              | Software Sysadmin      |
| Structural Biology Grid                     | http://sbgrid.org      |
| Harvard Medical School                      | http://hms.harvard.edu |

More information about the phenixbb mailing list