search - KeyError: 'MovieName'
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
SubDownloader | Status tracked in Trunk | |||||
Trunk |
Fix Committed
|
Undecided
|
Alessandro Losavio |
Bug Description
OS: Ubuntu 12.04 (amd64), Fedora
Version 2.0.10, however issue still persist in 2.0.14
search.
Traceback (most recent call last):
File "/usr/lib/
in onButtonSearchB
movies = s.search_
File "/usr/lib/
55, in search_movie
search = self.parse_
File "/usr/lib/
288, in parse_results
temp_movie = Movie(sub)
File "/usr/lib/
19, in __init__
self.MovieName = movieInfo[
KeyError: 'MovieName'
Local variables in innermost frame:
movieInfo: {'TotalSubs': u'1', 'MovieID': {'LinkImdb':
u'/redirect/http://
u'/en/search/
'MovieThumb': u'http://
'MovieImdbID': u'1186300', 'IDSubtitle': {'LinkImdb': '', 'IDSubtitle':
u'3546680', 'Link': '', 'DownloadLink': '', 'uuid': ''}, 'MovieImdbRating':
u'0.0', 'LinkUseNext':
u'http://
'MovieYear': u'0', 'Newest': u'13/08/2009', 'LinkZoozle':
u'http://
u'http://
Changed in subdownloader: | |
status: | New → Confirmed |
description: | updated |
Changed in subdownloader: | |
milestone: | none → 2.0.15-1ubuntu1 |
status: | Incomplete → In Progress |
assignee: | nobody → Alessandro Losavio (alo21) |
summary: |
- search + search - KeyError: 'MovieName' |
Here is the same results while I am trying to search 'The Godfather: ':
Traceback (most recent call last): subdownloader/ gui/main. py", line 1518, in onButtonSearchB yTitle movie(search_ text,'all' ) subdownloader/ modules/ search. py", line 55, in search_movie results( xml_page. read()) subdownloader/ modules/ search. py", line 288, in parse_results subdownloader/ modules/ search. py", line 23, in __init__ 'MovieImdbRatin g'])
File "/usr/share/
movies = s.search_
File "/usr/share/
search = self.parse_
File "/usr/share/
temp_movie = Movie(sub)
File "/usr/share/
self.IMDBRating = str(movieInfo[
KeyError: 'MovieImdbRating'