Opened 13 years ago

Closed 13 years ago

#1967 closed bug (Fixed) IndexError in save(): list index out of range

Reported by: Cas Owned by: Cas
Priority: major Milestone: 1.3.4
Component: Core Version: 1.3.3
Keywords: Cc:


Forwarded from Launchpad

File "/usr/lib/python2.7/dist-packages/deluge/", line 409, in save
    start, end = objects[0]
IndexError: list index out of range

Not sure of exact cause but seems that if the conf file is not in json format or empty then the error will occur.

Simply adding IndexError? to the existing IOError except will catch the error instead of crashing.

except (IOError, IndexError), e:

Change History (1)

comment:1 Changed 13 years ago by Cas

  • Resolution set to fixed
  • Status changed from new to closed

Fix committed to 1.3-stable:e336cd64

Note: See TracTickets for help on using tickets.