You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
./mythcal -n
What is the expected output? What do you see instead?
Expected: (not sure)
Traceback (most recent call last):
File "./mythcal", line 33, in <module>
from MythTV import MythTV
ImportError: cannot import name MythTV
What version of the product are you using? On what operating system?
Revision 19.
Please provide any additional information below.
I'm running Fedora 15, x64. I installed pytz and python-gdata, but
libmyth-python does not exist (yes, I am using RPM Fusion). Maybe they changed
the package name to python-MythTV (which is installed).
Original issue reported on code.google.com by slacker0...@gmail.com on 13 Jul 2011 at 1:08
Okay, I changed some things in the source:
#from MythTV import MythTV
from MythTV import MythBE
Some other reference. Still, there's an issue with the timezone.
mythcal.conf:
timezone = US/Eastern
$ ./mythcal
Traceback (most recent call last):
File "./mythcal", line 109, in <module>
recordings = get_recordings_from_backend()
File "./mythcal", line 94, in get_recordings_from_backend
upcoming = map(convert_program, upcoming)
File "./mythcal", line 80, in convert_program
"start": naive_local_time_to_naive_utc_time(prog.starttime),
File "./mythcal", line 69, in naive_local_time_to_naive_utc_time
aware_local_time = time_zone.localize(naive_local_time)
File "/usr/lib/python2.7/site-packages/pytz/tzinfo.py", line 263, in localize
raise ValueError, 'Not naive datetime (tzinfo is already set)'
ValueError: Not naive datetime (tzinfo is already set)
Original comment by slacker0...@gmail.com on 13 Jul 2011 at 4:30
Thanks for reporting this.
Your first problem ("cannot import name MythTV") is actually the same as issue
7. The solution (as you found) is to change MythTV to MythBE. (There's a patch
attached to issue 7 that does this.)
Your second (time zone) problem looks the same as issue 6. I'm just in the
process of upgrading to MythTV 0.24, so when I've done that, I'll be able to
look into this problem.
I'm going to close this issue, as the time zone problem is already covered by
issue 6. You can star that issue if you like, to follow progress.
Thanks!
Original comment by richardfearn on 20 Jul 2011 at 8:58
Original issue reported on code.google.com by
slacker0...@gmail.com
on 13 Jul 2011 at 1:08The text was updated successfully, but these errors were encountered: