Stop working after python upgrade

Sick Beard is a PVR for newsgroup users (with limited torrent support). It watches for new episodes of your favorite shows and when they are posted it downloads them, sorts and renames them, and optionally generates metadata for them. It currently supports NZBs.org, NZBMatrix, NZBs'R'Us, Newzbin, Womble's Index, NZB.su, TVTorrents and EZRSS and retrieves show information from theTVDB.com and TVRage.com.

Moderator: Lillian.W@AST

infinityzx
Posts: 14
youtube meble na wymiar Warszawa
Joined: Tue Aug 18, 2015 1:16 am

Stop working after python upgrade

Post by infinityzx »

Hi All,

I've been notified today about a python upgrade, 2.7.10r7.
After the upgrade, SickRage does no longer start:

Cheetah found...
Starting SickBeard-TVRageTraceback (most recent call last):
File "SickBeard.py", line 55, in <module>
import ssl
File "/usr/local/AppCentral/python/lib/python2.7/ssl.py", line 125, in <module>
from _ssl import HAS_SNI, HAS_ECDH, HAS_NPN, HAS_ALPN
ImportError: /usr/local/AppCentral/python/lib/python2.7/lib-dynload/_ssl.so: undefined symbol: SSL_CTX_set_alpn_protos

this trying to run pip manually

Traceback (most recent call last):
File "/usr/local/bin/pip", line 9, in <module>
load_entry_point('pip==1.4.1', 'console_scripts', 'pip')()
File "/usr/local/AppCentral/python/lib/python2.7/site-packages/setuptools-2.0.1-py2.7.egg/pkg_resources.py", line 352, in load_entry_point
File "/usr/local/AppCentral/python/lib/python2.7/site-packages/setuptools-2.0.1-py2.7.egg/pkg_resources.py", line 2307, in load_entry_point
File "/usr/local/AppCentral/python/lib/python2.7/site-packages/setuptools-2.0.1-py2.7.egg/pkg_resources.py", line 2021, in load
File "/usr/local/AppCentral/python/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/__init__.py", line 10, in <module>
from pip.util import get_installed_distributions, get_prog
File "/usr/local/AppCentral/python/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/util.py", line 17, in <module>
from pip.vendor.distlib import version
File "/usr/local/AppCentral/python/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/vendor/distlib/version.py", line 13, in <module>
from .compat import string_types
File "/usr/local/AppCentral/python/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg/pip/vendor/distlib/compat.py", line 31, in <module>
from urllib2 import (Request, urlopen, URLError, HTTPError,
ImportError: cannot import name HTTPSHandler

Any hint?
MikeG.6.5
Posts: 917
Joined: Fri May 15, 2015 1:56 am

Re: Stop working after python upgrade

Post by MikeG.6.5 »

Have exactly the same errors when I try starting SickBeard via a PuTTY session. It looks like the update to Python broke this app, somehow.
MrMark
Posts: 8
Joined: Wed Aug 12, 2015 8:15 am
Location: Australia

Re: Stop working after python upgrade

Post by MrMark »

I am experiencing the same issue.
I love my AS-202TE a little too much. :)
infinityzx
Posts: 14
Joined: Tue Aug 18, 2015 1:16 am

Re: Stop working after python upgrade

Post by infinityzx »

My understanding is that from python 2.7.9, SSL is mandatory and the latest python's package is compiled with NO ssl support.
This breaks a lot of existing packages, not just SickBeard/SickRage :-/
User avatar
clinton.hall
Posts: 845
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

Re: Stop working after python upgrade

Post by clinton.hall »

confirmed...
does anyone have the installer for an old version?
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
infinityzx
Posts: 14
Joined: Tue Aug 18, 2015 1:16 am

Re: Stop working after python upgrade

Post by infinityzx »

I've managed to decompile the old python's apk (2.7.3) and change the version to something higher than 2.7.10
Installed the tweaked apk manually has made the trick, now sickbeard and sabnzbd are back to work, but lost SSL support!
This is intended as a temporary workaround, not really a solution, but if you wanna try it, send me a PM.
MikeG.6.5
Posts: 917
Joined: Fri May 15, 2015 1:56 am

Re: Stop working after python upgrade

Post by MikeG.6.5 »

I have been coming to expect that Asustor's implementation of any outside scripting language3s, this one was screwed up. This update to Python has been no exception, I guess.

I tried the Python repackage from infinityzx, and it gets SickBeard working again. Sadly, it breaks the auto-conversion scripts I've been using to convert media from different formats to MP4 H264, AAC in Audio 1, and any extended channels in Audio 2.

Win some, lose some... :)
Jhinta
Posts: 39
Joined: Tue May 19, 2015 11:43 pm

Re: Stop working after python upgrade

Post by Jhinta »

Are they gonne fix it ?

Verstuurd vanaf mijn LG-D855 met Tapatalk
dhstsw
Posts: 154
Joined: Sat Aug 02, 2014 2:02 am

Re: Stop working after python upgrade

Post by dhstsw »

...asustor... :o :shock:
AS-304T
If you own a series 2/3/6 Asustor it's very likely you won't get XBMC 13.x/Kodi.
But easily you'll end buying a kitchen from UK.
TBIce
Posts: 3
Joined: Wed Aug 19, 2015 4:52 pm

Re: Stop working after python upgrade

Post by TBIce »

Hey

I got the file from infinityzx

but that did not fix my problem with deluge, still can't connect to it..

Hope asustor fix this problem ASAP :( :(

Ice ouT
Post Reply

Return to “SickBeard”