"IndexError: list index out of range" during diffing
Closed this issue · 1 comments
I got a 500 Internal server error with this output: (on the page http://127.0.0.1/StartDiff?patch_id=1&download_id=2&file_id=1&source_id=0&target_id=0
after I clicked Start Diffing)
Traceback (most recent call last):
File "cherrypy_cprequest.pyc", line 606, in respond
File "cherrypy_cpdispatch.pyc", line 25, in call
File "DarunGrim3Server.py", line 62, in StartDiff
File "HTMLGenerator.pyc", line 839, in StartDiff
File "DarunGrimSessions.pyc", line 81, in InitFileDiffByID
IndexError: list index out of range
Before that, I was on this page below ...
List >MS10-001 >Windows XP Service Pack 2 and Windows XP Service Pack 3
Company Name Microsoft Corporation
Operating System xpsp
Service Pack sp2
Filename fontsub.dll
Unpatched Filename Not Found: Not Found
Patched Filename MS10-001: fontsub.dll
My guess is that this error is the result of not having a baseline file to diff against. Is that right?
This fix(http://github.com/ohjeongwook/DarunGrim/commit/c4517336c87034102f9f71ce28d67889c7aac2cd) should be fixing the issue.