[ATrpms-users] tmdb and Centos5 - again

John Pilkington J.Pilk at tesco.net
Wed Feb 23 09:56:30 CET 2011


On 23/02/11 07:02, Fedor Pikus wrote:
> This problem of tmdb and Centos5 used to be solved here:
> http://www.gossamer-threads.com/lists/atrpms/users/14356
>
> but after upgrade to mytth-0.24 it's broken again:
> /usr/share/mythtv/metadata/
> Movie/tmdb.py
>
> The subdirectory "tmdb" containing the modules tmdb_api.py (v0.1.3 or
> greater), tmdb_ui.py,
> tmdb_exceptions.py must have been installed with the MythTV python bindings.
> Error:(invalid syntax (logging.py, line 202))
>
> All the scripts it mentions are there, for example:
> /usr/lib/python2.4/site-packages/MythTV/tmdb/tmdb_exceptions.py
>
> line 202 is "with self._lock:", btw.
>
> Any ideas what needs to be fixed now?
>

See Raymond Wagner's reply in myth-users - I haven't found it in 
gossamer-threads:

You need to "fix" the same thing that you did last time.  You need to 
upgrade to Python 2.5.  Seriously, the thing was released just a few 
days after MythTV 0.20.  Some kludgy hack which seems to allow it to run 
on six year old software is not a viable solution.

and his 'fixes' here:

http://www.gossamer-threads.com/lists/mythtv/commits/472966

http://www.gossamer-threads.com/lists/mythtv/commits/472967

Log:

Prevent Python bindings from loading against Python 2.4 or previous.

Modified:

    mythtv/bindings/python/MythTV/__init__.py



A warning seems appropriate, but this looks like a lockout.

John P





More information about the atrpms-users mailing list