[mythtv-users] ttvdb.py errors preventing metadata lookup

Raymond Wagner raymond at wagnerrp.com
Thu Jul 11 23:57:16 UTC 2013


On 7/11/2013 7:51 PM, Beny Spensieri Jr wrote:
> Hi everyone,
>
> I am running MythTV 0.26 from Atrpms on CentOS 6.4
>
> Metadata lookup kept failing and I narrowed it down to ttvdb.py always
> coughing up the following error:
>
> [mythtv at localhost Television]$
> /usr/share/mythtv/metadata/Television/ttvdb.py -l en -M Mad Men 6 1
> /usr/share/mythtv/metadata/Television/ttvdb.py: line 38: __title__:
> command not found
> /usr/share/mythtv/metadata/Television/ttvdb.py: line 202: syntax error
> near unexpected token `)'
> /usr/share/mythtv/metadata/Television/ttvdb.py: line 202: `(Return
> thetvdb.com's top rated poster, banner and fan art for a TV Series)'
>
> [mythtv at localhost Television]$
> /usr/share/mythtv/metadata/Television/ttvdb.py -u
> /usr/share/mythtv/metadata/Television/ttvdb.py: line 38: __title__:
> command not found
> /usr/share/mythtv/metadata/Television/ttvdb.py: line 202: syntax error
> near unexpected token `)'
> /usr/share/mythtv/metadata/Television/ttvdb.py: line 202: `(Return
> thetvdb.com's top rated poster, banner and fan art for a TV Series)'
>
> Does anyone know how to fix this?  I can't find anyone else having this
> error anywhere.

If I had to guess, I would say you're somehow managing to run it using 
some interpreter other than Python.  What does the first line in the 
file say?


More information about the mythtv-users mailing list