Allocine plugin do not populate the fields
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Griffith |
Fix Committed
|
Medium
|
Michael |
Bug Description
following bug #663709
After
- update from svn
- changing the user-agent for the call
to reproduce
- launch from console with --debug (griffith --degub)
- select the allocine plugin
- seach for 'barbarella' in the original title
- select the one from 1968
=> nothing append
the console output is below.
Json strea returned seems correct
I added a print url into movie.py in the urlretrieve(), soyou have the http get call
I cannot help anymore, as python is still weird to me ^^
http://
2013-11-
Traceback (most recent call last):
File "/usr/share/
self.
File "/usr/share/
self.movie = json.JSONDecode
File "/usr/lib/
obj, end = self.raw_decode(s)
File "/usr/lib/
return self.scan_once(s, idx=_w(s, idx).end())
TypeError: expected string or buffer
Traceback (most recent call last):
File "/usr/bin/
return self._resultswi
File "/usr/bin/
add.
File "/usr/share/
w['
TypeError: int() argument must be a string or a number, not 'NoneType'
description: | updated |
description: | updated |
Ok fixed it. Don't know if it's the right way, but it works.
Into the file PluginMovieAllo cine.py at line 59/60
return movie.Movie. open_page( self, parent_window, url)
change by
self.page = movie.Movie. open_page( self, parent_window, url)
return self.page