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

Bug #1041834 reported by Jan Klepek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SubDownloader
Status tracked in Trunk
Trunk
Fix Committed
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

Revision history for this message
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)
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.