[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 22:25:25 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):

 Help!

 What am I doing wrong now? Also I get the same error if I run it with a
 show name as parameter.

 {{{
 + export
 PYTHONPATH=/home/peter/proj/build/mythtv/ttvdb/usr/local/lib/python2.7
 /dist-packages
 + PYTHONPATH=/home/peter/proj/build/mythtv/ttvdb/usr/local/lib/python2.7
 /dist-packages
 + exec
 /home/peter/proj/build/mythtv/ttvdb/usr/share/mythtv/metadata/Television/ttvdb.py
 --doctest
 **********************************************************************
 File
 "/home/peter/proj/build/mythtv/ttvdb/usr/share/mythtv/metadata/Television/ttvdb.py",
 line 42, in __main__
 Failed example:
     main()
 Exception raised:
     Traceback (most recent call last):
       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
         compileflags, 1) in test.globs
       File "<doctest __main__[1]>", line 1, in <module>
         main()
       File
 "/home/peter/proj/build/mythtv/ttvdb/usr/share/mythtv/metadata/Television/ttvdb.py",
 line 1844, in main
         userkey=tvdb_account.account_identifier)
       File "/home/peter/proj/build/mythtv/ttvdb/usr/local/lib/python2.7
 /dist-packages/MythTV/ttvdb/tvdb_api.py", line 715, in __init__
         self.session.remove_expired_responses()
     AttributeError: 'CachedSession' object has no attribute
 'remove_expired_responses'
 **********************************************************************
 File
 "/home/peter/proj/build/mythtv/ttvdb/usr/share/mythtv/metadata/Television/ttvdb.py",
 line 46, in __main__
 Failed example:
     main()
 Exception raised:
     Traceback (most recent call last):
       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
         compileflags, 1) in test.globs
       File "<doctest __main__[3]>", line 1, in <module>
         main()
       File
 "/home/peter/proj/build/mythtv/ttvdb/usr/share/mythtv/metadata/Television/ttvdb.py",
 line 1844, in main
         userkey=tvdb_account.account_identifier)
       File "/home/peter/proj/build/mythtv/ttvdb/usr/local/lib/python2.7
 /dist-packages/MythTV/ttvdb/tvdb_api.py", line 715, in __init__
         self.session.remove_expired_responses()
     AttributeError: 'CachedSession' object has no attribute
 'remove_expired_responses'
 **********************************************************************
 File
 "/home/peter/proj/build/mythtv/ttvdb/usr/share/mythtv/metadata/Television/ttvdb.py",
 line 105, in __main__
 Failed example:
     main()
 Exception raised:
     Traceback (most recent call last):
       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
         compileflags, 1) in test.globs
       File "<doctest __main__[5]>", line 1, in <module>
         main()
       File
 "/home/peter/proj/build/mythtv/ttvdb/usr/share/mythtv/metadata/Television/ttvdb.py",
 line 1844, in main
         userkey=tvdb_account.account_identifier)
       File "/home/peter/proj/build/mythtv/ttvdb/usr/local/lib/python2.7
 /dist-packages/MythTV/ttvdb/tvdb_api.py", line 715, in __init__
         self.session.remove_expired_responses()
     AttributeError: 'CachedSession' object has no attribute
 'remove_expired_responses'
 **********************************************************************
 File
 "/home/peter/proj/build/mythtv/ttvdb/usr/share/mythtv/metadata/Television/ttvdb.py",
 line 115, in __main__
 Failed example:
     main()
 Exception raised:
     Traceback (most recent call last):
       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
         compileflags, 1) in test.globs
       File "<doctest __main__[7]>", line 1, in <module>
         main()
       File
 "/home/peter/proj/build/mythtv/ttvdb/usr/share/mythtv/metadata/Television/ttvdb.py",
 line 1844, in main
         userkey=tvdb_account.account_identifier)
       File "/home/peter/proj/build/mythtv/ttvdb/usr/local/lib/python2.7
 /dist-packages/MythTV/ttvdb/tvdb_api.py", line 715, in __init__
         self.session.remove_expired_responses()
     AttributeError: 'CachedSession' object has no attribute
 'remove_expired_responses'
 **********************************************************************
 File
 "/home/peter/proj/build/mythtv/ttvdb/usr/share/mythtv/metadata/Television/ttvdb.py",
 line 121, in __main__
 Failed example:
     main()
 Exception raised:
     Traceback (most recent call last):
       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
         compileflags, 1) in test.globs
       File "<doctest __main__[9]>", line 1, in <module>
         main()
       File
 "/home/peter/proj/build/mythtv/ttvdb/usr/share/mythtv/metadata/Television/ttvdb.py",
 line 1844, in main
         userkey=tvdb_account.account_identifier)
       File "/home/peter/proj/build/mythtv/ttvdb/usr/local/lib/python2.7
 /dist-packages/MythTV/ttvdb/tvdb_api.py", line 715, in __init__
         self.session.remove_expired_responses()
     AttributeError: 'CachedSession' object has no attribute
 'remove_expired_responses'
 **********************************************************************
 File
 "/home/peter/proj/build/mythtv/ttvdb/usr/share/mythtv/metadata/Television/ttvdb.py",
 line 128, in __main__
 Failed example:
     main()
 Exception raised:
     Traceback (most recent call last):
       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
         compileflags, 1) in test.globs
       File "<doctest __main__[11]>", line 1, in <module>
         main()
       File
 "/home/peter/proj/build/mythtv/ttvdb/usr/share/mythtv/metadata/Television/ttvdb.py",
 line 1844, in main
         userkey=tvdb_account.account_identifier)
       File "/home/peter/proj/build/mythtv/ttvdb/usr/local/lib/python2.7
 /dist-packages/MythTV/ttvdb/tvdb_api.py", line 715, in __init__
         self.session.remove_expired_responses()
     AttributeError: 'CachedSession' object has no attribute
 'remove_expired_responses'
 **********************************************************************
 File
 "/home/peter/proj/build/mythtv/ttvdb/usr/share/mythtv/metadata/Television/ttvdb.py",
 line 152, in __main__
 Failed example:
     main()
 Exception raised:
     Traceback (most recent call last):
       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
         compileflags, 1) in test.globs
       File "<doctest __main__[13]>", line 1, in <module>
         main()
       File
 "/home/peter/proj/build/mythtv/ttvdb/usr/share/mythtv/metadata/Television/ttvdb.py",
 line 1844, in main
         userkey=tvdb_account.account_identifier)
       File "/home/peter/proj/build/mythtv/ttvdb/usr/local/lib/python2.7
 /dist-packages/MythTV/ttvdb/tvdb_api.py", line 715, in __init__
         self.session.remove_expired_responses()
     AttributeError: 'CachedSession' object has no attribute
 'remove_expired_responses'
 **********************************************************************
 File
 "/home/peter/proj/build/mythtv/ttvdb/usr/share/mythtv/metadata/Television/ttvdb.py",
 line 159, in __main__
 Failed example:
     main()
 Exception raised:
     Traceback (most recent call last):
       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
         compileflags, 1) in test.globs
       File "<doctest __main__[15]>", line 1, in <module>
         main()
       File
 "/home/peter/proj/build/mythtv/ttvdb/usr/share/mythtv/metadata/Television/ttvdb.py",
 line 1844, in main
         userkey=tvdb_account.account_identifier)
       File "/home/peter/proj/build/mythtv/ttvdb/usr/local/lib/python2.7
 /dist-packages/MythTV/ttvdb/tvdb_api.py", line 715, in __init__
         self.session.remove_expired_responses()
     AttributeError: 'CachedSession' object has no attribute
 'remove_expired_responses'
 **********************************************************************
 File
 "/home/peter/proj/build/mythtv/ttvdb/usr/share/mythtv/metadata/Television/ttvdb.py",
 line 215, in __main__
 Failed example:
     main()
 Exception raised:
     Traceback (most recent call last):
       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
         compileflags, 1) in test.globs
       File "<doctest __main__[17]>", line 1, in <module>
         main()
       File
 "/home/peter/proj/build/mythtv/ttvdb/usr/share/mythtv/metadata/Television/ttvdb.py",
 line 1820, in main
         userkey=tvdb_account.account_identifier)
       File "/home/peter/proj/build/mythtv/ttvdb/usr/local/lib/python2.7
 /dist-packages/MythTV/ttvdb/tvdb_api.py", line 715, in __init__
         self.session.remove_expired_responses()
     AttributeError: 'CachedSession' object has no attribute
 'remove_expired_responses'
 **********************************************************************
 File
 "/home/peter/proj/build/mythtv/ttvdb/usr/share/mythtv/metadata/Television/ttvdb.py",
 line 351, in __main__
 Failed example:
     main()
 Exception raised:
     Traceback (most recent call last):
       File "/usr/lib/python2.7/doctest.py", line 1315, in __run
         compileflags, 1) in test.globs
       File "<doctest __main__[19]>", line 1, in <module>
         main()
       File
 "/home/peter/proj/build/mythtv/ttvdb/usr/share/mythtv/metadata/Television/ttvdb.py",
 line 1844, in main
         userkey=tvdb_account.account_identifier)
       File "/home/peter/proj/build/mythtv/ttvdb/usr/local/lib/python2.7
 /dist-packages/MythTV/ttvdb/tvdb_api.py", line 715, in __init__
         self.session.remove_expired_responses()
     AttributeError: 'CachedSession' object has no attribute
 'remove_expired_responses'
 **********************************************************************
 1 items had failures:
   10 of  20 in __main__
 ***Test Failed*** 10 failures.
 TestResults(failed=10, attempted=22)
 }}}

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


More information about the mythtv-commits mailing list