[mythtv-users] tmdb and Centos5 - again

Raymond Wagner raymond at wagnerrp.com
Wed Feb 23 13:23:54 UTC 2011


On 2/23/2011 04:02, John Pilkington wrote:
> On 23/02/11 06:44, Raymond Wagner wrote:
>> On 2/23/2011 01:34, Fedor Pikus wrote:
>>> All the scripts it mentions are there, for example:
>>> /usr/lib/python2.4/site-packages/MythTV/tmdb/tmdb_exceptions.py
>>>
>>> Any ideas what needs to be fixed now?
>> 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.
> You may think it unviable but there are people running it without
> complaint. A warning would be appropriate.  Your commits look like a
> lockout.

That was the intent.  There is no one running an unaltered version of 
the the 0.23 bindings on Python 2.4.  There are several needed packages 
that were not part of the Python 2.4 core, as well as assorted syntax 
changes, that will need to be fixed for proper operation.  This is just 
one more line that will need to be changed.  This presents a meaningful 
error message explaining why they failed, as opposed to a failing on 
some otherwise functional code that the user will have to research to 
figure out the issue.

The 0.24 bindings make extensive use of context managers for all 
database access and thread locking.  There are large chunks of code that 
will have to be restructured because of the lack of context managers in 
Python 2.4.  A simple mailing list post listing a couple lines to change 
won't cut it.


More information about the mythtv-users mailing list