[mythtv-users] Upgrade your system for TheTVDB update on October 1st 2017

Jay Foster jayf0ster at roadrunner.com
Mon Sep 18 15:04:33 UTC 2017


On 09/17/2017 12:21 PM, Peter Bennett wrote:
>
>
> On 09/17/2017 02:52 PM, Jay Foster wrote:
>> On 09/17/2017 09:27 AM, Peter Bennett wrote:
>>> If you are using metadata lookup in MythTV for TV shows, you need to 
>>> upgrade your system before October 1st. See the wiki article at 
>>> https://www.mythtv.org/wiki/TheTVDB_API_v2
>>>
>>> Peter
>>> _______________________________________________
>>> mythtv-users mailing list
>>> mythtv-users at mythtv.org
>>> http://lists.mythtv.org/mailman/listinfo/mythtv-users
>>> http://wiki.mythtv.org/Mailing_List_etiquette
>>> MythTV Forums: https://forum.mythtv.org
>>>
>> I performed the steps listed on that wiki page for Trusty (14.04) 
>> with 0.27.  The gdebi installations appeared to go fine.  However, 
>> 'pip list' does not show the required packages.
>>
>> future (0.15.2)
>> requests (2.2.1)
>> urllib3 (1.7.1)
>>
>> I tried the pip install --upgrade package_name, as directed on the 
>> wiki, but that does not work.
>>
>> sudo pip install --upgrade requests requests-cache urllib3
>> Downloading/unpacking requests from 
>> https://pypi.python.org/packages/49/df/50aa1999ab9bde74656c2919d9c0c085fd2b3775fd3eca826012bef76d8c/requests-2.18.4-py2.py3-none-any.whl#md5=eb9be71cc41fd73a51a7c9cd1adde5de
>>   Downloading requests-2.18.4-py2.py3-none-any.whl (88kB): 88kB 
>> downloaded
>> Downloading/unpacking requests-cache
>>   Downloading requests_cache-0.4.13-py2.py3-none-any.whl
>> Downloading/unpacking urllib3 from 
>> https://pypi.python.org/packages/63/cb/6965947c13a94236f6d4b8223e21beb4d576dc72e8130bd7880f600839b8/urllib3-1.22-py2.py3-none-any.whl#md5=1c11e1c80371cc4e89911071010a98d1
>>   Downloading urllib3-1.22-py2.py3-none-any.whl (132kB): 132kB 
>> downloaded
>> Downloading/unpacking certifi>=2017.4.17 (from requests)
>>   Downloading certifi-2017.7.27.1-py2.py3-none-any.whl (349kB): 349kB 
>> downloaded
>> Downloading/unpacking idna>=2.5,<2.7 (from requests)
>>   Downloading idna-2.6-py2.py3-none-any.whl (56kB): 56kB downloaded
>> Downloading/unpacking chardet>=3.0.2,<3.1.0 (from requests)
>>   Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB): 133kB 
>> downloaded
>> Installing collected packages: requests, requests-cache, urllib3, 
>> certifi, idna, chardet
>>   Found existing installation: requests 2.2.1
>>     Not uninstalling requests at /usr/lib/python2.7/dist-packages, 
>> owned by OS
>>   Found existing installation: urllib3 1.7.1
>>     Not uninstalling urllib3 at /usr/lib/python2.7/dist-packages, 
>> owned by OS
>>   Found existing installation: chardet 2.0.1
>>     Not uninstalling chardet at /usr/lib/python2.7/dist-packages, 
>> owned by OS
>> Successfully installed requests requests-cache urllib3 certifi idna 
>> chardet
>> Cleaning up...
>>
>> I believe I need to get this part sorted before attempting to upgrade 
>> to 0.28.  Any help would be appreciated.
>> Jay
>> _______________________________________________
>
> In steps 1 and 2 of "Ubuntu and Mythbuntu Trusty (14.04)" in the wiki 
> page, you should download the appropriate packages for ubuntu-xenial. 
> What versions did you get? It should have been the versions listed. I 
> suspect you downloaded for trusty or some other version. You need to 
> download the package for xenial even though you are running trusty.
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
I downloaded from xenial.  These are the .deb files I used.

python-future_0.15.2-1_all.deb python-requests-cache_0.4.10-1_all.deb
python-requests_2.9.1-3_all.deb  python-urllib3_1.13.1-2_all.deb

xenial only has python-urllib3 version 1.13.1, not 1.22.

I re-ran the  gdebi command, this time only installing one package per 
invocation.  'pip list' now shows:

future (0.15.2)
requests (2.18.4)
requests-cache (0.4.13)
urllib3 (1.22)

Apparently, unlike apt-get, gdebi will only allow one package to be 
specified on the command line, despite what is indicated by the gdebi 
man page.  I don't believe the output of  pip list. After running gdebi ...

Preparing to unpack python-urllib3_1.13.1-2_all.deb ...
Unpacking python-urllib3 (1.13.1-2) over (1.7.1-1ubuntu4) ...
Setting up python-urllib3 (1.13.1-2) ...

pip list still shows urllib3 as version 1.22.  Is there a way do 
determine which version will actually be used by MythTV?

Jay



More information about the mythtv-users mailing list