I'm getting the following trace in python 2.5:<br><br>Traceback (most recent call last):<br>  File "./template_unittest.py", line 36, in <module><br>    zencc.start_browser(machines.zones[0].devices.get_primary_servers()[0])
<br>  File "/home/bean/code/automation/nrm-qa/trunk/brimstone/lib/zcc.py", line 221, in start_browser<br>    self.t.StartWebBrowser(url)<br>  File "/home/bean/code/automation/tomato/Tomato/selenium.py", line 140, in StartWebBrowser
<br>    res = self.sendcommand('open', url)<br>  File "/home/bean/code/automation/tomato/Tomato/selenium.py", line 64, in _sendcommand<br>    return self.gateway.execute(selcmd, str(seltarget), str(selvalue))
<br>  File "/home/bean/code/automation/tomato/Tomato/SeleniumGateway.py", line 137, in execute<br>    self.send_string(self.buildselenese(selcmd, seltarget, selvalue))<br>  File "/home/bean/code/automation/tomato/Tomato/SeleniumGateway.py", line 161, in send_string
<br>    self.waiting_client.write(command)<br>  File "/usr/lib/python2.5/socket.py", line 261, in write<br>  File "/usr/lib/python2.5/socket.py", line 248, in flush<br>socket.error: (9, 'Bad file descriptor')
<br><br>However, I do not have any problems when using Python 2.4.  In fact, I can replace the socket.py library from 2.5 with the socket.py from 2.4 and it fixes this problem.  I ran a diff on the two different sockey.py
 versions, and there are some differences but I couldn't see anything obvious that would cause this.<br><br>Any ideas?  I can post more code if necessary.<br><br>Also, here are the versions I'm using:<br><br>Python 
2.5 (r25:51908, Jan  9 2007, 16:59:32) <br>[GCC 4.1.2 20061115 (prerelease) (SUSE Linux)] on linux2<br><br>Python 2.4.4 (#1, Mar 15 2007, 23:58:13) <br>[GCC 4.1.2 20061115 (prerelease) (SUSE Linux)] on linux2<br><br>Thanks,
<br>Brian<br>