[mythtv-users] Lossless Cut

Craig Treleaven ctreleaven at cogeco.ca
Thu Sep 26 13:02:36 UTC 2013


At 6:25 AM -0400 9/26/13, Doug Vaughan wrote:
>ktmon,
>     That error indicates that there is something wrong with your 
>myth python bindings install. Specifically path related in this 
>case. Separate LossLess Cut from the analysis by trying:
>>  sudo su mythtv
>>  mythpython --version
>
>The last command must return something like in the case of MythTV v0.27:
>
>MythTV Python Bindings
>   local versions
>     bindings version:         0.27.-1.0
>     ttvdb version:            1.2.1
>     tmdb version:             v0.2.6
>   external versions
>     lxml version:             2.3.5
>     MySQLdb version:          1.2.3.final.0
>   protocol versions
>     backend:                  77
>     schema:                   1317
>     music schema:             1018
>     netvision schema:         1007
>
>The python bindings must be properly installed before LossLess Cut 
>has any chance of working. The test above is not v0.27 specific and 
>is also valid on v0.26 and older releases.

Sorry for the highjack, but I've noticed that the python bindings, at 
least on OS X*, throw a "DeprecationWarning" all the time:

$ 
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/mythpython 
--version
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/MythTV/dataheap.py:61: 
DeprecationWarning: object.__new__() takes no parameters
   return super(Artwork, cls).__new__(cls, attr, parent, imagetype)
MythTV Python Bindings
   local versions
     bindings version:         0.26.0.0 ...

Most things using the Python bindings work OK but there are a couple 
of things that don't.  Eg. mythwikiscripts always returns an empty 
list.  MythBrowser and MythNetvision seem to start up OK but stop 
responding to any input.  None of these has been important enough to 
me to really investigate.  Any possibility that they are related to 
this warning?

Craig

*I've got little knowledge of Python but I understand MacPorts uses 
an /opt/local install prefix and apparently it is normal for Python 
packages on OS X to be installed under 
/Library/Frameworks/Python.framework/Versions/2.X/lib/python2.X/site-packages/.


More information about the mythtv-users mailing list