[mythtv-users] Python Bindings
Stephen Robertson
stephengrobertson at gmail.com
Tue Mar 30 22:25:49 UTC 2010
I'm having a problem getting the python bindings to work. I discovered I
had a problem when trying to use ttvdb.py but I have the same issue with
tmdb.py so I am presuming that it is an issue with my installation of the
bindings.
The error message I get is:
/usr/local/share/mythtv/mythvideo/scripts/Television/ttvdb.py
/var/lib/python-support/python2.6/MySQLdb/__init__.py:34:
DeprecationWarning: the sets module is deprecated
from sets import ImmutableSet
The modules tvdb_api.py (v1.0.0 or greater), tvdb_ui.py, tvdb_exceptions.py
and cache.py.
They should have been installed along with the MythTV python bindings.
Error:(No module named ttvdb.tvdb_ui)
This is with trunk 23865. distclean, configure,make,make install seemed to
go fine. I deleted /usr/local/lib/python2.6/dist-packages/MythTV and tried
./setup.py install to verify that something seemed to be happening.
Any clues where I'm going wrong.
Thanks
Stephen
/trunk/mythtv/bindings/python$ sudo ./setup.py install
running install
running build
running build_py
running install_lib
creating /usr/local/lib/python2.6/dist-packages/MythTV
copying build/lib.linux-i686-2.6/MythTV/__init__.py ->
/usr/local/lib/python2.6/dist-packages/MythTV
creating /usr/local/lib/python2.6/dist-packages/MythTV/ttvdb
copying build/lib.linux-i686-2.6/MythTV/ttvdb/tvdb_exceptions.py ->
/usr/local/lib/python2.6/dist-packages/MythTV/ttvdb
copying build/lib.linux-i686-2.6/MythTV/ttvdb/__init__.py ->
/usr/local/lib/python2.6/dist-packages/MythTV/ttvdb
copying build/lib.linux-i686-2.6/MythTV/ttvdb/cache.py ->
/usr/local/lib/python2.6/dist-packages/MythTV/ttvdb
copying build/lib.linux-i686-2.6/MythTV/ttvdb/tvdb_ui.py ->
/usr/local/lib/python2.6/dist-packages/MythTV/ttvdb
copying build/lib.linux-i686-2.6/MythTV/ttvdb/tvdb_api.py ->
/usr/local/lib/python2.6/dist-packages/MythTV/ttvdb
creating /usr/local/lib/python2.6/dist-packages/MythTV/tmdb
copying build/lib.linux-i686-2.6/MythTV/tmdb/__init__.py ->
/usr/local/lib/python2.6/dist-packages/MythTV/tmdb
copying build/lib.linux-i686-2.6/MythTV/tmdb/tmdb_ui.py ->
/usr/local/lib/python2.6/dist-packages/MythTV/tmdb
copying build/lib.linux-i686-2.6/MythTV/tmdb/tmdb_api.py ->
/usr/local/lib/python2.6/dist-packages/MythTV/tmdb
copying build/lib.linux-i686-2.6/MythTV/tmdb/tmdb_exceptions.py ->
/usr/local/lib/python2.6/dist-packages/MythTV/tmdb
copying build/lib.linux-i686-2.6/MythTV/MythBase.py ->
/usr/local/lib/python2.6/dist-packages/MythTV
copying build/lib.linux-i686-2.6/MythTV/MythFunc.py ->
/usr/local/lib/python2.6/dist-packages/MythTV
copying build/lib.linux-i686-2.6/MythTV/MythData.py ->
/usr/local/lib/python2.6/dist-packages/MythTV
copying build/lib.linux-i686-2.6/MythTV/MythStatic.py ->
/usr/local/lib/python2.6/dist-packages/MythTV
byte-compiling /usr/local/lib/python2.6/dist-packages/MythTV/__init__.py to
__init__.pyc
byte-compiling
/usr/local/lib/python2.6/dist-packages/MythTV/ttvdb/tvdb_exceptions.py to
tvdb_exceptions.pyc
byte-compiling
/usr/local/lib/python2.6/dist-packages/MythTV/ttvdb/__init__.py to
__init__.pyc
byte-compiling /usr/local/lib/python2.6/dist-packages/MythTV/ttvdb/cache.py
to cache.pyc
byte-compiling
/usr/local/lib/python2.6/dist-packages/MythTV/ttvdb/tvdb_ui.py to
tvdb_ui.pyc
byte-compiling
/usr/local/lib/python2.6/dist-packages/MythTV/ttvdb/tvdb_api.py to
tvdb_api.pyc
byte-compiling
/usr/local/lib/python2.6/dist-packages/MythTV/tmdb/__init__.py to
__init__.pyc
byte-compiling /usr/local/lib/python2.6/dist-packages/MythTV/tmdb/tmdb_ui.py
to tmdb_ui.pyc
byte-compiling
/usr/local/lib/python2.6/dist-packages/MythTV/tmdb/tmdb_api.py to
tmdb_api.pyc
byte-compiling
/usr/local/lib/python2.6/dist-packages/MythTV/tmdb/tmdb_exceptions.py to
tmdb_exceptions.pyc
byte-compiling /usr/local/lib/python2.6/dist-packages/MythTV/MythBase.py to
MythBase.pyc
byte-compiling /usr/local/lib/python2.6/dist-packages/MythTV/MythFunc.py to
MythFunc.pyc
byte-compiling /usr/local/lib/python2.6/dist-packages/MythTV/MythData.py to
MythData.pyc
byte-compiling /usr/local/lib/python2.6/dist-packages/MythTV/MythStatic.py
to MythStatic.pyc
running install_egg_info
Writing /usr/local/lib/python2.6/dist-packages/MythTV-0.23.0.egg-info
# Basic Settings
Compile type release
Compiler cache no
DistCC no
qmake /usr/bin/qmake
install prefix /usr/local
runtime prefix /usr/local
CPU x86 x86_32 (model name : Intel(R) Core(TM)2
Duo CPU E7400 @ 2.80GHz)
big-endian no
runtime cpu detection no
yasm no
MMX enabled yes
MMX2 enabled yes
3DNow! enabled yes
3DNow! extended enabled yes
SSE enabled yes
SSSE3 enabled yes
CMOV enabled yes
# Input Support
Joystick menu yes
lirc support yes
Video4Linux sup. yes
ivtv support yes
HD-PVR support yes
FireWire support no
DVB support yes [/usr/include]
DVB-S2 support no
HDHomeRun support yes
IPTV support yes
# Sound Output Support
PulseAudio support no
OSS support yes
ALSA support yes
JACK support no
libfftw3 support no
# Video Output Support
x11 support yes
xrandr support yes
xv support no
XvMC support no
XvMC VLD support no
XvMC pro support no
XvMC libs -lchromeXvMC
VDPAU support yes
OpenGL video yes
OpenGL vsync yes
DirectFB no
Fribidi formatting no
MHEG support yes
# Misc Features
multi threaded libavcodec yes
Frontend yes
Backend yes
# Bindings
bindings_perl yes
bindings_python yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20100330/844b6b96/attachment.htm>
More information about the mythtv-users
mailing list