[mythtv-commits] Ticket #13084: ttvdb.py will cease to function - TTVDB will discontinue support for V1 XML API in 3 months time on October 1st, 2017

MythTV noreply at mythtv.org
Sat Aug 12 17:38:26 UTC 2017


#13084: ttvdb.py will cease to function - TTVDB will discontinue support for V1 XML
API in 3 months time on October 1st, 2017
-------------------------------------------------+-------------------------
 Reporter:  Frederick Henderson <frederickjh@…>  |          Owner:
                                                 |  markspieth
     Type:  Bug Report - General                 |         Status:
                                                 |  assigned
 Priority:  minor                                |      Milestone:  29.0
Component:  MythTV - Mythmetadatalookup          |        Version:
                                                 |  Unspecified
 Severity:  medium                               |     Resolution:
 Keywords:                                       |  Ticket locked:  0
-------------------------------------------------+-------------------------

Comment (by pbennett):

 I do not have much success with this - I am afraid I have little knowledge
 of python, so I don't know where it went wrong. I installed my test
 version of MythTV in /home/peter/proj/build/mythtv/master and set my paths
 to point appropriately. This works with other scripts and the fixes/29
 version of ttvdb.py. My Python version is 2.7.12. I ran ttvdb.py with no
 parameters.

 {{{
 + export
 PATH=/home/peter/proj/build/mythtv/master/usr/bin:/home/peter/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/mythtv/bin
 +
 PATH=/home/peter/proj/build/mythtv/master/usr/bin:/home/peter/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/mythtv/bin
 + export MYTHTVDIR=/home/peter/proj/build/mythtv/master/usr
 + MYTHTVDIR=/home/peter/proj/build/mythtv/master/usr
 + export
 LD_LIBRARY_PATH=/home/peter/proj/build/mythtv/master/usr/lib:/home/peter/proj/build/mythtv/master/usr/share/mythtv/lib:
 +
 LD_LIBRARY_PATH=/home/peter/proj/build/mythtv/master/usr/lib:/home/peter/proj/build/mythtv/master/usr/share/mythtv/lib:
 + export MYTHCONFDIR=/home/peter/.mythtv-msttst
 + MYTHCONFDIR=/home/peter/.mythtv-msttst
 + export
 PYTHONPATH=/home/peter/proj/build/mythtv/master/usr/local/lib/python2.7
 /dist-packages
 + PYTHONPATH=/home/peter/proj/build/mythtv/master/usr/local/lib/python2.7
 /dist-packages
 ++ ls -d /home/peter/proj/build/mythtv/master/usr/local/share/perl/5.22.1
 + export
 PERL5LIB=/home/peter/proj/build/mythtv/master/usr/local/share/perl/5.22.1
 +
 PERL5LIB=/home/peter/proj/build/mythtv/master/usr/local/share/perl/5.22.1
 + exec
 /srv/ahome/peter/proj/build/mythtv/master/usr/share/mythtv/metadata/Television/ttvdb.py

 The modules tvdb_api.py (v2.0 or greater).
 They should have been installed along with the MythTV python bindings.
 Error:(%s)

 Traceback (most recent call last):
   File
 "/srv/ahome/peter/proj/build/mythtv/master/usr/share/mythtv/metadata/Television/ttvdb.py",
 line 765, in <module>
     ''') %  e
 TypeError: unsupported operand type(s) for %: 'NoneType' and
 'exceptions.ImportError'
 }}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13084#comment:4>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list