LinHES Forums http://forums.linhes.org/ |
|
Myth_mtc and Backup? http://forums.linhes.org/viewtopic.php?f=21&t=21949 |
Page 1 of 1 |
Author: | opel70 [ Thu Dec 30, 2010 11:34 am ] |
Post subject: | Myth_mtc and Backup? |
Hello, Before entering anything into flyspray, I wanted to make sure that I wasn't missing something. I was doing some checking and it looks like the myth_mtc.py script is calling a nonexistent /usr/LH/bin/backup_job script. I'm guessing that this should be calling mythbackup, but I could very well be wrong. I was going to add the mythbackup script to my cron.daily directory, but then I noticed this. Should there be a backup_job script along with the mythbackup script? |
Author: | opel70 [ Tue Dec 20, 2011 10:10 pm ] |
Post subject: | |
Back again with this issue. I have recently updated to 7.1 and during the process did a full reinstall of 6.04 with an update to 7.1. I had this problem with the myth_mtc.py script when I was on 6.04 and now the problems seem to have grown. So, following information I found on this page: ( http://www.mythtv.org/wiki/0.23_Python_bindings ) I made some changes to the script. The main this was needing to change the import lines to: Code: try:
from MythTV import MythDB mythtvdb = MythDB() except: mythtvdb = None try: from MythTV import MythBE mythtvbe = MythBE() except: mythtvbe = None Because it looks like the DB and BE functions were split into separate bindings (is that the right word?) I'm not much of a programmer anymore, and never worked in Python, butt it looks like making this change and then changing the variable in the appropriate calls below eliminated the errors I was receiving. Though I am still getting an error that popen2 is deprecated. However, at least the script now runs. Am I the only one having this problem with the myth_mtc.py script? |
Author: | jams [ Tue Dec 20, 2011 11:11 pm ] |
Post subject: | |
thanks opel for finding this. Will get it fixed fairly soon. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |