[mythtv-users] TMDB problem [SOLVED]

Moasat - mythtv mythtv at moasat.dyndns.org
Wed Jun 20 01:38:02 UTC 2012


> -----Original Message-----
> From: mythtv-users-bounces at mythtv.org [mailto:mythtv-users-
> bounces at mythtv.org] On Behalf Of Moasat - mythtv
> Sent: Sunday, June 17, 2012 6:33 PM
> To: 'Discussion about MythTV'
> Subject: [mythtv-users] TMDB problem
> 
> I'm trying to lookup metadata for films on my frontend but I keep
> getting an
> error with tmdb.py.  When I run:
> 
> /usr/local/share/mythtv/metadata/Movie/tmdb.py -d  -M "Superman"
> 
> I get:
> 
> opts: {'peoplelist': False, 'version': False, 'language': u'en',
> 'peopleinfo': False, 'usage': False, 'moviedata': False, 'raw': False,
> 'test': False, 'moviehash': False, 'debug': True, 'movielist': True,
> 'interactive': False}
> 
> args: [u'Superman']
> 
> 
> DEBUG: XML
> URL:http://api.themoviedb.org/2.1/Movie.search/en/xml/c27cb71cff5bd76e1
> a7a00
> 9380562c62/Superman
> 
> ! Error: Unknown error during a Title search (Superman)
> Error(Input object has no document: lxml.etree._ElementTree)
> 
> I'm not sure why it is giving an error.  The URL seems to return valid
> XML
> as far as I can tell.  I am running Gentoo x86_64 and have lxml v2.3.4
> and
> python 2.7 installed.
> 

Apparently tmdb.py and squid proxy don't play nice. I had http_proxy defined
which seems to be causing the problems.  Clearing that allows tmdb to fetch
results.



More information about the mythtv-users mailing list