2007-04-02, 21:39
Hi,
I keep getting this error when firing alot of html/request/open commands within a short space of time..It seems to stuff the connection between the xbox and the reset of world..
All other html posts work without any problem but my script 'Torrent-X' when using the Azureus module runs into a problem in one area..It is when attempting to change priorites on all files for the item selected. For some reason azureus does not support a bulk feature so a seperate html/request/open command has to be sent for each individual file which in some cases could be 30+ files. In these cases the connection seems to get stuffed with the errors below being reported..
Any help would be appreciated..
This is my caller to core.Download which is the urllib2 request/open thread.
Has anybody had similar errors reported like this before..
I keep getting this error when firing alot of html/request/open commands within a short space of time..It seems to stuff the connection between the xbox and the reset of world..
All other html posts work without any problem but my script 'Torrent-X' when using the Azureus module runs into a problem in one area..It is when attempting to change priorites on all files for the item selected. For some reason azureus does not support a bulk feature so a seperate html/request/open command has to be sent for each individual file which in some cases could be 30+ files. In these cases the connection seems to get stuffed with the errors below being reported..
Any help would be appreciated..
This is my caller to core.Download which is the urllib2 request/open thread.
Code:
def UrlThread(self,url,post='',login=''):
try :
print '--UrlThread'
self.WEBDATA = ''
Caller = core.Download_URL(self,url,post,login)
Caller.start()
Caller.join(self.TIMEOUT)
print '--WEBDATA--: '+ str(len(self.WEBDATA))
if Caller.isAlive() :
Caller.terminate()
raise
else :
return self.WEBDATA
except :
traceback.print_exc()
self.win.FAILURE = True
return None
Has anybody had similar errors reported like this before..
Code:
16:54:54 M: 15138816 INFO: --CheckUrl
16:54:54 M: 15138816 INFO:
16:54:54 M: 15138816 ERROR: GetSocketForIndex() invalid index:0
16:54:54 M: 15138816 ERROR: GetSocketForIndex() invalid index:0
16:54:54 M: 15138816 ERROR: ReleaseSocket() invalid index:0
16:54:54 M: 15138816 INFO: Traceback (most recent call last):
16:54:54 M: 15138816 INFO: File "Q:\scripts\Torrent-X\libs\core.py", line 40, in run
16:54:54 M: 15138816 INFO: Stating file Q:\scripts\Torrent-X\libs\core.py
16:54:54 M: 15138816 INFO: html = urllib2.urlopen(reqst)
16:54:54 M: 15138816 INFO: File "Q:\system\python\python24.zlib\urllib2.py", line 130, in urlopen
16:54:54 M: 15138816 INFO: Stating file Q:\system\python\python24.zlib\urllib2.py
16:54:54 M: 15138816 INFO: Stating file q:\scripts\torrent-x\urllib2.py
16:54:54 M: 15138816 INFO: Stating file Q:\system\python\python24.zlib\urllib2.py
16:54:54 M: 15138816 INFO: Stating file Q:\system\python\DLLs\urllib2.py
16:54:54 M: 15138816 INFO: Stating file Q:\system\python\Lib\urllib2.py
16:54:54 M: 15138816 INFO: Stating file Q:\system\python\spyce\urllib2.py
16:54:54 M: 15138816 INFO: Stating file q:\scripts\torrent-x\libs\urllib2.py
16:54:54 M: 15138816 INFO: Stating file q:\scripts\torrent-x\controllers\urllib2.py