[mythtv-users] 0.25->0.26 - issue with tmdb grabbers

Warpme warpme at o2.pl
Sat Sep 15 10:37:30 UTC 2012


On 9/14/12 9:37 PM, Warpme wrote:
> Hi,
>
> After 0.25->0.26 [20120914-g9b526cc] upgrade I have problem with video 
> metadata grabbing.
> Grabbers return errors like below.
> Q: do 0.26 needs any additional python modules compared to 0.25 or 
> rather this is kind of mythtv bindings bug or maybe something wrong 
> with my environment (?).
>
> root at FE-Devel:~ # /usr/share/mythtv/metadata/Movie/tmdb.py -l pl -M 
> "Men in Black 3"
> 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:('module' object has no attribute 'tzset')
>
>
> root at FE-Devel:~ # /usr/share/mythtv/metadata/Movie/tmdb3.py -l pl -M 
> "Men in Black 3"
> Traceback (most recent call last):
>   File "/usr/share/mythtv/metadata/Movie/tmdb3.py", line 19, in <module>
>     from MythTV.tmdb3 import searchMovie, Movie, Collection, set_key, 
> set_cache, set_locale
>   File "/usr/lib/python2.6/site-packages/MythTV/__init__.py", line 36, 
> in <module>
>     from utility import *
>   File "/usr/lib/python2.6/site-packages/MythTV/utility/__init__.py", 
> line 1, in <module>
>     from dt import datetime
>   File "/usr/lib/python2.6/site-packages/MythTV/utility/dt.py", line 
> 15, in <module>
>     time.tzset()
> AttributeError: 'module' object has no attribute 'tzset'
> root at FE-Devel:~ #
>
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
Well, it seems like there is "strange" thing in Mythtv/Utility/dt.py
In line 377 there is import "time" module. In line 15 there is "time.tzset"
I don't know python well, but if program has imported module "time", 
this module has time.tzset()
What is reason for line 15 - I don't know, but commenting this line 
solves issue :-)

-br

-------------- next part --------------
A non-text attachment was scrubbed...
Name: warpme.vcf
Type: text/x-vcard
Size: 83 bytes
Desc: not available
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20120915/428b1fc4/attachment.vcf>


More information about the mythtv-users mailing list