Page 1 of 1

(Solved) mytharchive script failing after upgrade to 0.28

Posted: Sun Aug 05, 2018 9:30 pm
by phackmann
Hello everyone. I've recently updated from Ubuntu 14.04 to 16.04. I've also updated to MythTV 0.28. I've gotten everything else working except MythArchive. It is failing with what appears to be a database connection setup issue according to the mythburn log. This is all there is in the log file.

Untitled.png
Untitled.png (26.39 KiB) Viewed 265 times

So, I am guessing either a problem with the python-mysqldb library, or maybe the MythTV Python bindings. Has anyone seen this before? Any ideas on what to check for next?

Thanks.

Re: mytharchive script failing after upgrade to 0.28

Posted: Tue Aug 07, 2018 2:01 pm
by daraden
do you have a working .mythtv/config.xml in the users home directory?

Re: mytharchive script failing after upgrade to 0.28

Posted: Wed Aug 08, 2018 3:03 am
by phackmann
That was a good call! I have 2 users on my mythtv box, and the active one is the mythtv user. It does have a valid copy of config.xml in it's user home directory. I copied that same file to the folder in the secondary user (which had an empty config.xml file in it), and then mytharchive started working. How could mytharchive be looking in the wrong user folder?

Re: mytharchive script failing after upgrade to 0.28

Posted: Wed Aug 08, 2018 11:38 pm
by phackmann
Nevermind. It was logging in as the other user. That explains the problem. Thanks for the help daraden!