View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Myth_mtc and Backup?
PostPosted: Thu Dec 30, 2010 11:34 am 
Offline
Joined: Tue Apr 11, 2006 7:44 am
Posts: 287
Location: Los Angeles, CA
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?

_________________
Tim

LinHES 8.4
HDHR3
BioStar A770, AMD X2 4050e, 2GB RAM
GigaByte GeForce 8400, Chaintech AV710
USB-UIRT


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 20, 2011 10:10 pm 
Offline
Joined: Tue Apr 11, 2006 7:44 am
Posts: 287
Location: Los Angeles, CA
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?

_________________
Tim

LinHES 8.4
HDHR3
BioStar A770, AMD X2 4050e, 2GB RAM
GigaByte GeForce 8400, Chaintech AV710
USB-UIRT


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 20, 2011 11:11 pm 
Offline
Site Admin
Joined: Fri Jun 11, 2004 7:58 am
Posts: 507
thanks opel for finding this. Will get it fixed fairly soon.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu