subtitlefile.py:146:getExtraInfo:KeyError: 'downloadLink'

Bug #1041834 reported by Jan Klepek on 2012-08-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SubDownloader
Status tracked in Trunk
Trunk
Undecided
Alessandro Losavio

Bug Description

version from trunk, fedora 17

backtrace:
:subtitlefile.py:146:getExtraInfo:KeyError: 'downloadLink'
:
:Traceback (most recent call last):
: File "/usr/lib/python2.7/site-packages/subdownloader/gui/main.py", line 1597, in onButtonDownloadByTitle
: url = sub.getExtraInfo("downloadLink")
: File "/usr/lib/python2.7/site-packages/subdownloader/modules/subtitlefile.py", line 146, in getExtraInfo
: return self._extraInfo[info]
:KeyError: 'downloadLink'
:
:Local variables in innermost frame:
:info: 'downloadLink'
:self: <modules.subtitlefile.SubtitleFile object at 0xaaf03cc>

how to reproduce:

1] search by movie name
2] enter "The Godfather: "
3] expand "The Godfather: Money, Power, Respect..."\
4] try to download subtitle

it fails only for movies with 1 subtitle, for movies with more subtitles it works correctly

Alessandro Losavio (alo21) wrote :

This bug is fixed too in the new version. If this bug still persist after your upgrade please feel free to post a new comment again.

Thanks

Changed in subdownloader:
milestone: none → 2.0.15-1ubuntu1
status: New → In Progress
assignee: nobody → Alessandro Losavio (alo21)
Jan Klepek (jan-klepek-gmail) wrote :

i did check, works for me now

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers