2011-04-08, 19:17
tl;dr: problems? symlink or copy /etc/mythtv/config.xml to ~/.mythtv/config.xml and chmod it with read permissions
---
I didn't see this in the thread, so this is a heads up for anyone else that might be having this issue:
Python bindings = good. Not getting python bindings to work = bad.
I struggled for a long time trying to get them to work, and for a long time was able to get by using the old 0.23 direct bindings, but with the latest update, I couldn't get anything to work.
Monkeyed around with MythDataGrabber to debug, and second-try code to read the mysql.txt file didn't seem to work either. Feels like the params are being passed incorrectly, but I didn't troubleshoot that far. Passing my DB pass from the command line worked, but not when running through MythicalLibrarian proper.
Finally realized that the connection info has been moved from mysql.txt to a config.xml file in recent versions, and that the user I config/update mythicalLibrarian with didn't have that file (see: http://www.mythtv.org/wiki/0.23_Python_b...Akwargs.29)
My mythtv user has this config file symlinked from /etc/mythtv/config.xml to /home/mythtv/.mythtv/config.xml, but my user did not. I symlinked (actually copied) the file and everything works like a boss.
Hope this helps someone.
---
I didn't see this in the thread, so this is a heads up for anyone else that might be having this issue:
Python bindings = good. Not getting python bindings to work = bad.
I struggled for a long time trying to get them to work, and for a long time was able to get by using the old 0.23 direct bindings, but with the latest update, I couldn't get anything to work.
Monkeyed around with MythDataGrabber to debug, and second-try code to read the mysql.txt file didn't seem to work either. Feels like the params are being passed incorrectly, but I didn't troubleshoot that far. Passing my DB pass from the command line worked, but not when running through MythicalLibrarian proper.
Finally realized that the connection info has been moved from mysql.txt to a config.xml file in recent versions, and that the user I config/update mythicalLibrarian with didn't have that file (see: http://www.mythtv.org/wiki/0.23_Python_b...Akwargs.29)
My mythtv user has this config file symlinked from /etc/mythtv/config.xml to /home/mythtv/.mythtv/config.xml, but my user did not. I symlinked (actually copied) the file and everything works like a boss.
Hope this helps someone.