Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need libmyth-python package for Fedora #8

Closed
GoogleCodeExporter opened this issue Apr 19, 2015 · 3 comments
Closed

Need libmyth-python package for Fedora #8

GoogleCodeExporter opened this issue Apr 19, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

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

@GoogleCodeExporter
Copy link
Author

Whoops.  python-MythTV is the package for Fedora, and it is installed.  I'm 
still getting this error, unfortunately.

Original comment by slacker0...@gmail.com on 13 Jul 2011 at 1:42

@GoogleCodeExporter
Copy link
Author

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

@GoogleCodeExporter
Copy link
Author

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

  • Changed state: Duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant