search (KeyError: 'MovieImdbRating')

Bug #1041311 reported by Alessandro Losavio
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

Ubuntu 12.04 amd64

How to reproduce the bug:

1) Open Subdownloader in GUI mode
2) Go to 'search by movie name' tab
3) Enter 'spiderman'

Instead of getting subtitles list, the search never ends and I got this error:

Traceback (most recent call last):
  File "/usr/share/subdownloader/gui/main.py", line 1518, in onButtonSearchByTitle
    movies = s.search_movie(search_text,'all')
  File "/usr/share/subdownloader/modules/search.py", line 55, in search_movie
    search = self.parse_results(xml_page.read())
  File "/usr/share/subdownloader/modules/search.py", line 288, in parse_results
    temp_movie = Movie(sub)
  File "/usr/share/subdownloader/modules/search.py", line 23, in __init__
    self.IMDBRating = str(movieInfo['MovieImdbRating'])
KeyError: 'MovieImdbRating'

Changed in subdownloader:
status: New → Incomplete
status: Incomplete → In Progress
assignee: nobody → Alessandro Losavio (alo21)
Revision history for this message
Kapis (capiscuas) wrote :

hi Alex, in fact the Search tab is not being used much by our users ( I believe they prefer to use the web interface of www.opensutbitles.org or other websites to download subs by title/imdb etc...), in my opinion we could disable this tab in the program and just let Subdownloader downloading/uploading, avoiding unnecessary bugs that have not much effect.

Revision history for this message
Alessandro Losavio (alo21) wrote :

what a pity, I have almost fixed with this (and other bug).

Revision history for this message
Kapis (capiscuas) wrote :

hehehe, in that case you can fix it and leave it.. :-)

Changed in subdownloader:
milestone: none → 2.0.15-1ubuntu1
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.