Menu

#1 support http 1.0

open-accepted
nobody
None
5
2008-09-05
2008-09-05
No

Traceback is:

Unhandled exception in thread started by
Traceback (most recent call last):
File "/home/toddw/tmp/python/pydm/PyDM/PyDM.py", line 25, in GetParallel
exec(HAnaly.AnalyzeHttpStatusCode("pass","b=False","self.GetParallel(n,\"[url]\",name)\nb=False"))
File "/home/toddw/tmp/python/pydm/PyDM/Headers.py", line 24, in AnalyzeHttpStatusCode
stc=self.GetHttpStatusCode()
File "/home/toddw/tmp/python/pydm/PyDM/Headers.py", line 15, in GetHttpStatusCode
return re.findall("HTTP/1.1 (\d+).+", self.Headers)[0]
IndexError: list index out of range
Traceback (most recent call last):
File "/home/toddw/tmp/python/pydm/PyDM/PyDMui_Main.py", line 129, in closeEvent
con.executemany("INSERT INTO Downloads VALUES (?,?,?,?,?)", self.Table2List())
File "/home/toddw/tmp/python/pydm/PyDM/PyDMui_Main.py", line 155, in Table2List
L.append(str(self.tableWidget.item(i, j).text()))
AttributeError: 'NoneType' object has no attribute 'text'

Discussion

  • Anonymous

    Anonymous - 2008-09-05

    Logged In: YES
    user_id=1867331
    Originator: NO

    Solved in file "Headers.py"
    so it's now interprets Http/1.1 and Http/1.0 the same way ( i think as far as PyDM concerns they are the same except for the name )

    Thanks,

     
  • Anonymous

    Anonymous - 2008-09-05
    • status: open --> open-accepted
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.