[mythtv-users] 0.25->0.26 - issue with tmdb grabbers
Raymond Wagner
raymond at wagnerrp.com
Mon Sep 17 05:40:18 UTC 2012
On 9/15/2012 06:37, Warpme wrote:
> On 9/14/12 9:37 PM, Warpme wrote:
>> 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'
>>
> Well, it seems like there is "strange" thing in Mythtv/Utility/dt.py
>python
Python 2.7.3 (default, Jul 5 2012, 21:42:07)
[GCC 4.2.1 20070831 patched [FreeBSD]] on freebsd9
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> time.tzset
<built-in function tzset>
Sure looks to exist here. I think there's something weird with your
Python installation.
That function is a part of the Python time module, which determines the
current UTC offset of the system. It is used as a fallback in the event
a proper timezone data cannot be found and processed.
More information about the mythtv-users
mailing list