Sickbeard/Python version Problem?

  • Hi guys,


    Currently using sickbeard via the plugin system, but unfortunately I'm running into an issue using BTN. The error being reported by sickbeard is:


    2015-07-25 23:24:51 WARNING SEARCHQUEUE-MANUAL-SEARCH :: URL error [Errno 1] _ssl.c:504: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error while loading URL https://xxx.xxx/


    I've contacted BTN and the consensus appears to be that I need to use a newer Python version. I don't know if this is true but unfortunately I don't know how to do that with OMV. I can see that there are numerous python versions installed but simply trying to use a different binary doesn't work and Sickbeard doesn't start. Is anyone else having the same problems here and can provide any solutions? Thank you.

  • So this appears to be related to an old version of python. After some reading I managed to figure out that I need a later version of Python and in case it helps everyone else, here's what I did to solve my issue:


    Python/Sickbeard needs sqlite3 for the database, so make sure we have it:


    Code
    sudo apt-get install libsqlite3-dev


    Install Pythonz:


    Code
    curl -kL https://raw.github.com/saghul/pythonz/master/pythonz-install | bash


    Once installed, run the following to install Python 2.7.10:


    Code
    pythonz install 2.7.10


    Wait some time, and when completed your new Python 2.7.10 installation should be installed the binary found at /usr/local/pythonz/pythons/CPython-2.7.10/bin/python
    We're almost done! Run the following to install "pip", a handy Python module installer:


    Code
    wget https://bootstrap.pypa.io/get-pip.py -O - | /usr/local/pythonz/pythons/CPython-2.7.10/bin/python


    Now all that's left is to install "cheetah" to this new python installation using "pip" that we just installed:


    Code
    /usr/local/pythonz/pythons/CPython-2.7.10/bin/python -m pip install cheetah


    Now Python 2.7.10 should be ready for Sickbeard. All you need to do is invoke it with this new python binary using the same options that Sickbeard needs to start. If you use a starter script (for example, /etc/init.d/sickbeard) you may need to update this to point to the new python binary. For example, I use a starter script located at /etc/init.d/sickbeard to start mine. Fortunately for me, mine has a line at the top of this file that lists my python installation path. It was /usr/bin/python and I simply updated it to /usr/local/pythonz/pythons/CPython-2.7.10/bin/python and all was good.

  • Hi, I've just installed sickgear, to try to avoid some ofthe sickrage controversy. all is well, but the install gives me a nice notice "SickGear will be dropping support for Python 2.7.8 and below. We recommend updating to latest version:"


    Can I assume that I will eventually need to follow the steps in this forum (that is fine, I just would like to know), when they finally drop support (for 2.7.3 which is what my lastest OMV seems to install)? Or are there plans to upgrade (sorry I am not sure where to look).


    Thanks!

    • Offizieller Beitrag

    Can I assume that I will eventually need to follow the steps in this forum (that is fine, I just would like to know), when they finally drop support (for 2.7.3 which is what my lastest OMV seems to install)? Or are there plans to upgrade (sorry I am not sure where to look).


    OMV uses whatever package Debian uses. OMV 2.x is Debian Wheezy so it will always use 2.7.3. OMV 3.x is Debian Jessie and uses 2.7.9.

    omv 7.0.5-1 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.11 | compose 7.1.3 | k8s 7.1.0-3 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I was running sickrage but i have some problems with search somo episodes and on SR forum they tell me to install python 2.7.10, i found this thread,
    but wen i run

    Code
    pythonz install 2.7.10


    i get this:

  • I was running sickrage but i have some problems with search somo episodes and on SR forum they tell me to install python 2.7.10, i found this thread,
    but wen i run

    Code
    pythonz install 2.7.10


    i get this:


    How I got Python 2.7.11 installed for SickGear


    Code
    apt-get install build-essential libsqlite3-dev zlib1g-dev libssl-dev
    curl -kL https://raw.github.com/saghul/pythonz/master/pythonz-install | bash
    /usr/local/pythonz/bin/pythonz install 2.7.11
    wget https://bootstrap.pypa.io/get-pip.py -O - | /usr/local/pythonz/pythons/CPython-2.7.11/bin/python
    /usr/local/pythonz/pythons/CPython-2.7.11/bin/python -m pip install cheetah
    nano /etc/init.d/sickbeard \\Modified DAEMON to DAEMON=${PYTHON_BIN-/usr/local/pythonz/pythons/CPython-2.7.11/bin/python}
    nano /etc/default/sickbeard \\Modified PYTHON_BIN to PYTHON_BIN=/usr/local/pythonz/pythons/CPython-2.7.11/bin/python

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!