It is currently Mon Jun 24, 2019 9:17 pm
All times are UTC + 8 hours

Sickrage, python and SSL errors

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.

Moderators: JohnnyFive, clinton.hall

Sickrage, python and SSL errors

Postby uskyrt » Sun May 24, 2015 6:08 am

Hello,
I'm using sickrage on my Asustor nas.
Everything is up to date
Python 2.7.3
GCC 4.6.3

I'm looking for some help with this :
https://github.com/SiCKRAGETV/sickrage- ... SSL-Errors
as I cannot connect to a few sites anymore but the instructions they provide on this page don't work.
-sh: sudo: not found

Maybe I'm missing something fundamental because of my limited knowledge.

Can somebody help?

Thank you.
uskyrt
 
Posts: 24
Joined: Thu Aug 28, 2014 4:24 am

Re: Sickrage, python and SSL errors

Postby clinton.hall » Sun May 24, 2015 7:08 pm

try

Code: Select all
pip -U install setuptools pip pyopenssl==0.13.1
wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python2
sudo pip install -U cryptography ndg-httpsclient pyopenssl
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
User avatar
clinton.hall
 
Posts: 838
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand

Re: Sickrage, python and SSL errors

Postby uskyrt » Sun May 24, 2015 7:57 pm

Code: Select all
no such option: -U


:(
uskyrt
 
Posts: 24
Joined: Thu Aug 28, 2014 4:24 am

Re: Sickrage, python and SSL errors

Postby uskyrt » Sun May 24, 2015 7:59 pm

Code: Select all
Commands:
  install                     Install packages.
  uninstall                   Uninstall packages.
  freeze                      Output installed packages in requirements format.
  list                        List installed packages.
  show                        Show information about installed packages.
  search                      Search PyPI for packages.
  wheel                       Build wheels from your requirements.
  zip                         Zip individual packages.
  unzip                       Unzip individual packages.
  bundle                      Create pybundles.
  help                        Show help for commands.

General Options:
  -h, --help                  Show help.
  -v, --verbose               Give more output. Option is additive, and can be
                              used up to 3 times.
  -V, --version               Show version and exit.
  -q, --quiet                 Give less output.
  --log <file>                Log file where a complete (maximum verbosity)
                              record will be kept.
  --proxy <proxy>             Specify a proxy in the form
                              [user:passwd@]proxy.server:port.
  --timeout <sec>             Set the socket timeout (default 15 seconds).
  --exists-action <action>    Default action when a path already exists:
                              (s)witch, (i)gnore, (w)ipe, (b)ackup.
  --cert <path>               Path to alternate CA bundle.
uskyrt
 
Posts: 24
Joined: Thu Aug 28, 2014 4:24 am

Re: Sickrage, python and SSL errors

Postby uskyrt » Mon May 25, 2015 7:27 pm

Tried with --upgrade
no luck
Tried without, results below.


Code: Select all
no such option: -U
admin@Chobits:~ $ pip install setuptools pip pyopenssl==0.13.1
Requirement already satisfied (use --upgrade to upgrade): setuptools in /volume1                                            /.@plugins/AppCentral/python/lib/python2.7/site-packages/setuptools-2.0.1-py2.7.                                            egg
Requirement already satisfied (use --upgrade to upgrade): pip in /volume1/.@plug                                            ins/AppCentral/python/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg
Downloading/unpacking pyopenssl==0.13.1
  Downloading pyOpenSSL-0.13.1.tar.gz (254kB): 254kB downloaded
  Running setup.py egg_info for package pyopenssl

    warning: no previously-included files matching '*.pyc' found anywhere in dis                                            tribution
Installing collected packages: pyopenssl
  Running setup.py install for pyopenssl
    building 'OpenSSL.crypto' extension
    i686-asustor-linux-gnu-gcc -fno-strict-aliasing -I/asustor/trunk/x86/x86/sta                                            ging/usr/include -I/asustor/trunk/x86/x86/staging/usr/builtin/include -DNDEBUG -                                            g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/AppCentral/python/inc                                            lude/python2.7 -c OpenSSL/crypto/crypto.c -o build/temp.linux-i686-2.7/OpenSSL/c                                            rypto/crypto.o
    unable to execute i686-asustor-linux-gnu-gcc: No such file or directory
    error: command 'i686-asustor-linux-gnu-gcc' failed with exit status 1
    Complete output from command /usr/local/bin/python -c "import setuptools;__f                                            ile__='/tmp/pip_build_admin/pyopenssl/setup.py';exec(compile(open(__file__).read                                            ().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-V7ze1g-r                                            ecord/install-record.txt --single-version-externally-managed:
    running install

running build

running build_py

creating build

creating build/lib.linux-i686-2.7

creating build/lib.linux-i686-2.7/OpenSSL

copying OpenSSL/__init__.py -> build/lib.linux-i686-2.7/OpenSSL

copying OpenSSL/tsafe.py -> build/lib.linux-i686-2.7/OpenSSL

copying OpenSSL/version.py -> build/lib.linux-i686-2.7/OpenSSL

creating build/lib.linux-i686-2.7/OpenSSL/test

copying OpenSSL/test/__init__.py -> build/lib.linux-i686-2.7/OpenSSL/test

copying OpenSSL/test/util.py -> build/lib.linux-i686-2.7/OpenSSL/test

copying OpenSSL/test/test_crypto.py -> build/lib.linux-i686-2.7/OpenSSL/test

copying OpenSSL/test/test_rand.py -> build/lib.linux-i686-2.7/OpenSSL/test

copying OpenSSL/test/test_ssl.py -> build/lib.linux-i686-2.7/OpenSSL/test

running build_ext

building 'OpenSSL.crypto' extension

creating build/temp.linux-i686-2.7

creating build/temp.linux-i686-2.7/OpenSSL

creating build/temp.linux-i686-2.7/OpenSSL/crypto

i686-asustor-linux-gnu-gcc -fno-strict-aliasing -I/asustor/trunk/x86/x86/staging                                            /usr/include -I/asustor/trunk/x86/x86/staging/usr/builtin/include -DNDEBUG -g -f                                            wrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/AppCentral/python/include                                            /python2.7 -c OpenSSL/crypto/crypto.c -o build/temp.linux-i686-2.7/OpenSSL/crypt                                            o/crypto.o

unable to execute i686-asustor-linux-gnu-gcc: No such file or directory

error: command 'i686-asustor-linux-gnu-gcc' failed with exit status 1

----------------------------------------
Cleaning up...
Command /usr/local/bin/python -c "import setuptools;__file__='/tmp/pip_build_adm                                            in/pyopenssl/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'),                                             __file__, 'exec'))" install --record /tmp/pip-V7ze1g-record/install-record.txt                                             --single-version-externally-managed failed with error code 1 in /tmp/pip_build_a                                            dmin/pyopenssl
Storing complete log in /volume1/home/admin/.pip/pip.log
admin@Chobits:~ $ pip -upgrade install setuptools pip pyopenssl==0.13.1

Usage:
  pip <command> [options]

no such option: -u
admin@Chobits:~ $ pip --upgrade install setuptools pip pyopenssl==0.13.1

Usage:
  pip <command> [options]

no such option: --upgrade
admin@Chobits:~ $ wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python2
--2015-05-25 12:24:01--  https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
Resolving bitbucket.org (bitbucket.org)... 131.103.20.168, 131.103.20.167
Connecting to bitbucket.org (bitbucket.org)|131.103.20.168|:443... connected.
ERROR: cannot verify bitbucket.org's certificate, issued by '/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Extended Validation Server CA':
  Unable to locally verify the issuer's authority.
To connect to bitbucket.org insecurely, use `--no-check-certificate'.
admin@Chobits:~ $ wget --no-check-certificate https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - | python2
--2015-05-25 12:24:32--  https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
Resolving bitbucket.org (bitbucket.org)... 131.103.20.168, 131.103.20.167
Connecting to bitbucket.org (bitbucket.org)|131.103.20.168|:443... connected.
WARNING: cannot verify bitbucket.org's certificate, issued by '/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Extended Validation Server CA':
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 11432 (11K) [text/plain]
Saving to: 'STDOUT'

100%[==================================================================================>] 11,432      --.-K/s   in 0s

2015-05-25 12:24:33 (89.6 MB/s) - written to stdout [11432/11432]

Downloading https://pypi.python.org/packages/source/s/setuptools/setuptools-16.0.zip
Extracting in /tmp/tmpRPt73v
Now working in /tmp/tmpRPt73v/setuptools-16.0
Installing Setuptools
running install
running bdist_egg
running egg_info
writing requirements to setuptools.egg-info/requires.txt
writing setuptools.egg-info/PKG-INFO
writing top-level names to setuptools.egg-info/top_level.txt
writing dependency_links to setuptools.egg-info/dependency_links.txt
writing entry points to setuptools.egg-info/entry_points.txt
reading manifest file 'setuptools.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'setuptools.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-i686/egg
running install_lib
running build_py
creating build
creating build/lib
copying easy_install.py -> build/lib
creating build/lib/setuptools
copying setuptools/windows_support.py -> build/lib/setuptools
copying setuptools/version.py -> build/lib/setuptools
copying setuptools/utils.py -> build/lib/setuptools
copying setuptools/unicode_utils.py -> build/lib/setuptools
copying setuptools/ssl_support.py -> build/lib/setuptools
copying setuptools/site-patch.py -> build/lib/setuptools
copying setuptools/sandbox.py -> build/lib/setuptools
copying setuptools/py31compat.py -> build/lib/setuptools
copying setuptools/py27compat.py -> build/lib/setuptools
copying setuptools/py26compat.py -> build/lib/setuptools
copying setuptools/package_index.py -> build/lib/setuptools
copying setuptools/msvc9_support.py -> build/lib/setuptools
copying setuptools/lib2to3_ex.py -> build/lib/setuptools
copying setuptools/extension.py -> build/lib/setuptools
copying setuptools/dist.py -> build/lib/setuptools
copying setuptools/depends.py -> build/lib/setuptools
copying setuptools/compat.py -> build/lib/setuptools
copying setuptools/archive_util.py -> build/lib/setuptools
copying setuptools/__init__.py -> build/lib/setuptools
creating build/lib/pkg_resources
copying pkg_resources/__init__.py -> build/lib/pkg_resources
creating build/lib/_markerlib
copying _markerlib/markers.py -> build/lib/_markerlib
copying _markerlib/__init__.py -> build/lib/_markerlib
creating build/lib/setuptools/command
copying setuptools/command/upload_docs.py -> build/lib/setuptools/command
copying setuptools/command/test.py -> build/lib/setuptools/command
copying setuptools/command/setopt.py -> build/lib/setuptools/command
copying setuptools/command/sdist.py -> build/lib/setuptools/command
copying setuptools/command/saveopts.py -> build/lib/setuptools/command
copying setuptools/command/rotate.py -> build/lib/setuptools/command
copying setuptools/command/register.py -> build/lib/setuptools/command
copying setuptools/command/install_scripts.py -> build/lib/setuptools/command
copying setuptools/command/install_lib.py -> build/lib/setuptools/command
copying setuptools/command/install_egg_info.py -> build/lib/setuptools/command
copying setuptools/command/install.py -> build/lib/setuptools/command
copying setuptools/command/egg_info.py -> build/lib/setuptools/command
copying setuptools/command/easy_install.py -> build/lib/setuptools/command
copying setuptools/command/develop.py -> build/lib/setuptools/command
copying setuptools/command/build_py.py -> build/lib/setuptools/command
copying setuptools/command/build_ext.py -> build/lib/setuptools/command
copying setuptools/command/bdist_wininst.py -> build/lib/setuptools/command
copying setuptools/command/bdist_rpm.py -> build/lib/setuptools/command
copying setuptools/command/bdist_egg.py -> build/lib/setuptools/command
copying setuptools/command/alias.py -> build/lib/setuptools/command
copying setuptools/command/__init__.py -> build/lib/setuptools/command
creating build/lib/pkg_resources/_vendor
copying pkg_resources/_vendor/__init__.py -> build/lib/pkg_resources/_vendor
creating build/lib/pkg_resources/_vendor/packaging
copying pkg_resources/_vendor/packaging/version.py -> build/lib/pkg_resources/_vendor/packaging
copying pkg_resources/_vendor/packaging/specifiers.py -> build/lib/pkg_resources/_vendor/packaging
copying pkg_resources/_vendor/packaging/_structures.py -> build/lib/pkg_resources/_vendor/packaging
copying pkg_resources/_vendor/packaging/_compat.py -> build/lib/pkg_resources/_vendor/packaging
copying pkg_resources/_vendor/packaging/__init__.py -> build/lib/pkg_resources/_vendor/packaging
copying pkg_resources/_vendor/packaging/__about__.py -> build/lib/pkg_resources/_vendor/packaging
copying setuptools/script (dev).tmpl -> build/lib/setuptools
copying setuptools/script.tmpl -> build/lib/setuptools
creating build/bdist.linux-i686
creating build/bdist.linux-i686/egg
creating build/bdist.linux-i686/egg/_markerlib
copying build/lib/_markerlib/__init__.py -> build/bdist.linux-i686/egg/_markerlib
copying build/lib/_markerlib/markers.py -> build/bdist.linux-i686/egg/_markerlib
creating build/bdist.linux-i686/egg/pkg_resources
creating build/bdist.linux-i686/egg/pkg_resources/_vendor
creating build/bdist.linux-i686/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/packaging/__about__.py -> build/bdist.linux-i686/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/packaging/__init__.py -> build/bdist.linux-i686/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/packaging/_compat.py -> build/bdist.linux-i686/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/packaging/_structures.py -> build/bdist.linux-i686/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/packaging/specifiers.py -> build/bdist.linux-i686/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/packaging/version.py -> build/bdist.linux-i686/egg/pkg_resources/_vendor/packaging
copying build/lib/pkg_resources/_vendor/__init__.py -> build/bdist.linux-i686/egg/pkg_resources/_vendor
copying build/lib/pkg_resources/__init__.py -> build/bdist.linux-i686/egg/pkg_resources
creating build/bdist.linux-i686/egg/setuptools
copying build/lib/setuptools/script.tmpl -> build/bdist.linux-i686/egg/setuptools
copying build/lib/setuptools/script (dev).tmpl -> build/bdist.linux-i686/egg/setuptools
creating build/bdist.linux-i686/egg/setuptools/command
copying build/lib/setuptools/command/__init__.py -> build/bdist.linux-i686/egg/setuptools/command
copying build/lib/setuptools/command/alias.py -> build/bdist.linux-i686/egg/setuptools/command
copying build/lib/setuptools/command/bdist_egg.py -> build/bdist.linux-i686/egg/setuptools/command
copying build/lib/setuptools/command/bdist_rpm.py -> build/bdist.linux-i686/egg/setuptools/command
copying build/lib/setuptools/command/bdist_wininst.py -> build/bdist.linux-i686/egg/setuptools/command
copying build/lib/setuptools/command/build_ext.py -> build/bdist.linux-i686/egg/setuptools/command
copying build/lib/setuptools/command/build_py.py -> build/bdist.linux-i686/egg/setuptools/command
copying build/lib/setuptools/command/develop.py -> build/bdist.linux-i686/egg/setuptools/command
copying build/lib/setuptools/command/easy_install.py -> build/bdist.linux-i686/egg/setuptools/command
copying build/lib/setuptools/command/egg_info.py -> build/bdist.linux-i686/egg/setuptools/command
copying build/lib/setuptools/command/install.py -> build/bdist.linux-i686/egg/setuptools/command
copying build/lib/setuptools/command/install_egg_info.py -> build/bdist.linux-i686/egg/setuptools/command
copying build/lib/setuptools/command/install_lib.py -> build/bdist.linux-i686/egg/setuptools/command
copying build/lib/setuptools/command/install_scripts.py -> build/bdist.linux-i686/egg/setuptools/command
copying build/lib/setuptools/command/register.py -> build/bdist.linux-i686/egg/setuptools/command
copying build/lib/setuptools/command/rotate.py -> build/bdist.linux-i686/egg/setuptools/command
copying build/lib/setuptools/command/saveopts.py -> build/bdist.linux-i686/egg/setuptools/command
copying build/lib/setuptools/command/sdist.py -> build/bdist.linux-i686/egg/setuptools/command
copying build/lib/setuptools/command/setopt.py -> build/bdist.linux-i686/egg/setuptools/command
copying build/lib/setuptools/command/test.py -> build/bdist.linux-i686/egg/setuptools/command
copying build/lib/setuptools/command/upload_docs.py -> build/bdist.linux-i686/egg/setuptools/command
copying build/lib/setuptools/__init__.py -> build/bdist.linux-i686/egg/setuptools
copying build/lib/setuptools/archive_util.py -> build/bdist.linux-i686/egg/setuptools
copying build/lib/setuptools/compat.py -> build/bdist.linux-i686/egg/setuptools
copying build/lib/setuptools/depends.py -> build/bdist.linux-i686/egg/setuptools
copying build/lib/setuptools/dist.py -> build/bdist.linux-i686/egg/setuptools
copying build/lib/setuptools/extension.py -> build/bdist.linux-i686/egg/setuptools
copying build/lib/setuptools/lib2to3_ex.py -> build/bdist.linux-i686/egg/setuptools
copying build/lib/setuptools/msvc9_support.py -> build/bdist.linux-i686/egg/setuptools
copying build/lib/setuptools/package_index.py -> build/bdist.linux-i686/egg/setuptools
copying build/lib/setuptools/py26compat.py -> build/bdist.linux-i686/egg/setuptools
copying build/lib/setuptools/py27compat.py -> build/bdist.linux-i686/egg/setuptools
copying build/lib/setuptools/py31compat.py -> build/bdist.linux-i686/egg/setuptools
copying build/lib/setuptools/sandbox.py -> build/bdist.linux-i686/egg/setuptools
copying build/lib/setuptools/site-patch.py -> build/bdist.linux-i686/egg/setuptools
copying build/lib/setuptools/ssl_support.py -> build/bdist.linux-i686/egg/setuptools
copying build/lib/setuptools/unicode_utils.py -> build/bdist.linux-i686/egg/setuptools
copying build/lib/setuptools/utils.py -> build/bdist.linux-i686/egg/setuptools
copying build/lib/setuptools/version.py -> build/bdist.linux-i686/egg/setuptools
copying build/lib/setuptools/windows_support.py -> build/bdist.linux-i686/egg/setuptools
copying build/lib/easy_install.py -> build/bdist.linux-i686/egg
byte-compiling build/bdist.linux-i686/egg/_markerlib/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-i686/egg/_markerlib/markers.py to markers.pyc
byte-compiling build/bdist.linux-i686/egg/pkg_resources/_vendor/packaging/__about__.py to __about__.pyc
byte-compiling build/bdist.linux-i686/egg/pkg_resources/_vendor/packaging/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-i686/egg/pkg_resources/_vendor/packaging/_compat.py to _compat.pyc
byte-compiling build/bdist.linux-i686/egg/pkg_resources/_vendor/packaging/_structures.py to _structures.pyc
byte-compiling build/bdist.linux-i686/egg/pkg_resources/_vendor/packaging/specifiers.py to specifiers.pyc
byte-compiling build/bdist.linux-i686/egg/pkg_resources/_vendor/packaging/version.py to version.pyc
byte-compiling build/bdist.linux-i686/egg/pkg_resources/_vendor/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-i686/egg/pkg_resources/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/command/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/command/alias.py to alias.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/command/bdist_egg.py to bdist_egg.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/command/bdist_rpm.py to bdist_rpm.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/command/bdist_wininst.py to bdist_wininst.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/command/build_ext.py to build_ext.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/command/build_py.py to build_py.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/command/develop.py to develop.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/command/easy_install.py to easy_install.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/command/egg_info.py to egg_info.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/command/install.py to install.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/command/install_egg_info.py to install_egg_info.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/command/install_lib.py to install_lib.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/command/install_scripts.py to install_scripts.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/command/register.py to register.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/command/rotate.py to rotate.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/command/saveopts.py to saveopts.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/command/sdist.py to sdist.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/command/setopt.py to setopt.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/command/test.py to test.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/command/upload_docs.py to upload_docs.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/__init__.py to __init__.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/archive_util.py to archive_util.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/compat.py to compat.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/depends.py to depends.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/dist.py to dist.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/extension.py to extension.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/lib2to3_ex.py to lib2to3_ex.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/msvc9_support.py to msvc9_support.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/package_index.py to package_index.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/py26compat.py to py26compat.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/py27compat.py to py27compat.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/py31compat.py to py31compat.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/sandbox.py to sandbox.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/site-patch.py to site-patch.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/ssl_support.py to ssl_support.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/unicode_utils.py to unicode_utils.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/utils.py to utils.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/version.py to version.pyc
byte-compiling build/bdist.linux-i686/egg/setuptools/windows_support.py to windows_support.pyc
byte-compiling build/bdist.linux-i686/egg/easy_install.py to easy_install.pyc
creating build/bdist.linux-i686/egg/EGG-INFO
copying setuptools.egg-info/PKG-INFO -> build/bdist.linux-i686/egg/EGG-INFO
copying setuptools.egg-info/SOURCES.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying setuptools.egg-info/dependency_links.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying setuptools.egg-info/entry_points.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying setuptools.egg-info/requires.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying setuptools.egg-info/top_level.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying setuptools.egg-info/zip-safe -> build/bdist.linux-i686/egg/EGG-INFO
creating dist
creating 'dist/setuptools-16.0-py2.7.egg' and adding 'build/bdist.linux-i686/egg' to it
removing 'build/bdist.linux-i686/egg' (and everything under it)
Processing setuptools-16.0-py2.7.egg
Copying setuptools-16.0-py2.7.egg to /volume1/.@plugins/AppCentral/python/lib/python2.7/site-packages
Removing setuptools 2.0.1 from easy-install.pth file
Adding setuptools 16.0 to easy-install.pth file
Installing easy_install script to /usr/local/AppCentral/python/bin
Installing easy_install-2.7 script to /usr/local/AppCentral/python/bin

Installed /volume1/.@plugins/AppCentral/python/lib/python2.7/site-packages/setuptools-16.0-py2.7.egg
Processing dependencies for setuptools==16.0
Finished processing dependencies for setuptools==16.0
admin@Chobits:~ $ sudo pip install -upgrade cryptography ndg-httpsclient pyopenssl
-sh: sudo: not found
admin@Chobits:~ $ pip install -upgrade cryptography ndg-httpsclient pyopenssl

Usage:
  pip install [options] <requirement specifier> ...
  pip install [options] -r <requirements file> ...
  pip install [options] [-e] <vcs project url> ...
  pip install [options] [-e] <local project path> ...
  pip install [options] <archive url/path> ...

no such option: -u
admin@Chobits:~ $ pip install cryptography ndg-httpsclient pyopenssl
Downloading/unpacking cryptography
  Downloading cryptography-0.9.tar.gz (302kB): 302kB downloaded
  Running setup.py egg_info for package cryptography

    no previously-included directories found matching 'docs/_build'
    warning: no previously-included files matching '*' found under directory 'vectors'
Downloading/unpacking ndg-httpsclient
  Downloading ndg_httpsclient-0.4.0.tar.gz
  Running setup.py egg_info for package ndg-httpsclient

Downloading/unpacking pyopenssl
  Downloading pyOpenSSL-0.15.1.tar.gz (149kB): 149kB downloaded
  Running setup.py egg_info for package pyopenssl

    warning: no files found matching 'OpenSSL/RATIONALE'
    warning: no previously-included files found matching 'leakcheck'
    warning: no previously-included files matching '*.py' found under directory 'leakcheck'
    warning: no previously-included files matching '*.pem' found under directory 'leakcheck'
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
    no previously-included directories found matching 'doc/_build'
Downloading/unpacking idna (from cryptography)
  Downloading idna-2.0.tar.gz (135kB): 135kB downloaded
  Running setup.py egg_info for package idna

    warning: no previously-included files matching '*.pyc' found under directory 'tools'
    warning: no previously-included files matching '*.pyc' found under directory 'tests'
Downloading/unpacking pyasn1 (from cryptography)
  Downloading pyasn1-0.1.7.tar.gz (68kB): 68kB downloaded
  Running setup.py egg_info for package pyasn1

Downloading/unpacking six>=1.4.1 (from cryptography)
  Downloading six-1.9.0.tar.gz
  Running setup.py egg_info for package six

    no previously-included directories found matching 'documentation/_build'
Requirement already satisfied (use --upgrade to upgrade): setuptools in /volume1/.@plugins/AppCentral/python/lib/python2.7/site-packages/setuptools-16.0-py2.7.egg (from cryptography)
Downloading/unpacking enum34 (from cryptography)
  Downloading enum34-1.0.4.tar.gz
  Running setup.py egg_info for package enum34

Downloading/unpacking ipaddress (from cryptography)
  Downloading ipaddress-1.0.7.tar.gz
  Running setup.py egg_info for package ipaddress

Downloading/unpacking cffi>=0.8 (from cryptography)
  Downloading cffi-1.0.2-2.tar.gz (317kB): 317kB downloaded
  Running setup.py egg_info for package cffi
    unable to execute i686-asustor-linux-gnu-gcc: No such file or directory
    unable to execute i686-asustor-linux-gnu-gcc: No such file or directory

        No working compiler found, or bogus compiler options
        passed to the compiler from Python's distutils module.
        See the error messages above.
        (If they are about -mno-fused-madd and you are on OS/X 10.8,
        see http://stackoverflow.com/questions/22313407/ .)
    Complete output from command python setup.py egg_info:
    unable to execute i686-asustor-linux-gnu-gcc: No such file or directory

unable to execute i686-asustor-linux-gnu-gcc: No such file or directory



    No working compiler found, or bogus compiler options

    passed to the compiler from Python's distutils module.

    See the error messages above.

    (If they are about -mno-fused-madd and you are on OS/X 10.8,

    see http://stackoverflow.com/questions/22313407/ .)

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_admin/cffi
Storing complete log in /volume1/home/admin/.pip/pip.log
admin@Chobits:~ $
uskyrt
 
Posts: 24
Joined: Thu Aug 28, 2014 4:24 am

Re: Sickrage, python and SSL errors

Postby uskyrt » Tue Jun 02, 2015 6:05 pm

Bump!
could I get some help please? I know it's not strictly app-related but...

Thank you
uskyrt
 
Posts: 24
Joined: Thu Aug 28, 2014 4:24 am

Re: Sickrage, python and SSL errors

Postby clinton.hall » Thu Jun 04, 2015 8:01 pm

Code: Select all
pip install setuptools pip pyopenssl==0.13.1
wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O - --no-check-certificate | python2
pip install cryptography ndg-httpsclient pyopenssl


this bypasses those errors, but there are some compiling limitations...
Try it and see what happens... I might have to precompile and add these in the App...
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
User avatar
clinton.hall
 
Posts: 838
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand

Re: Sickrage, python and SSL errors

Postby uskyrt » Thu Jun 04, 2015 8:07 pm

here the results

Code: Select all
admin@Chobits:~ $ pip install setuptools pip pyopenssl==0.13.1
Requirement already satisfied (use --upgrade to upgrade): setuptools in /volume1/.@plugins/AppCentral/python/lib/python2.7/site-packages/setuptools-16.0-py2.7.egg
Requirement already satisfied (use --upgrade to upgrade): pip in /volume1/.@plugins/AppCentral/python/lib/python2.7/site-packages/pip-1.4.1-py2.7.egg
Downloading/unpacking pyopenssl==0.13.1
  Downloading pyOpenSSL-0.13.1.tar.gz (254kB): 254kB downloaded
  Running setup.py egg_info for package pyopenssl

    warning: no previously-included files matching '*.pyc' found anywhere in distribution
Installing collected packages: pyopenssl
  Running setup.py install for pyopenssl
    building 'OpenSSL.crypto' extension
    i686-asustor-linux-gnu-gcc -fno-strict-aliasing -I/asustor/trunk/x86/x86/staging/usr/include -I/asustor/trunk/x86/x86/staging/usr/builtin/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/AppCentral/python/include/python2.7 -c OpenSSL/crypto/crypto.c -o build/temp.linux-i686-2.7/OpenSSL/crypto/crypto.o
    unable to execute i686-asustor-linux-gnu-gcc: No such file or directory
    error: command 'i686-asustor-linux-gnu-gcc' failed with exit status 1
    Complete output from command /usr/local/bin/python -c "import setuptools;__file__='/tmp/pip_build_admin/pyopenssl/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-SpLraX-record/install-record.txt --single-version-externally-managed:
    running install

running build

running build_py

creating build

creating build/lib.linux-i686-2.7

creating build/lib.linux-i686-2.7/OpenSSL

copying OpenSSL/__init__.py -> build/lib.linux-i686-2.7/OpenSSL

copying OpenSSL/tsafe.py -> build/lib.linux-i686-2.7/OpenSSL

copying OpenSSL/version.py -> build/lib.linux-i686-2.7/OpenSSL

creating build/lib.linux-i686-2.7/OpenSSL/test

copying OpenSSL/test/__init__.py -> build/lib.linux-i686-2.7/OpenSSL/test

copying OpenSSL/test/util.py -> build/lib.linux-i686-2.7/OpenSSL/test

copying OpenSSL/test/test_crypto.py -> build/lib.linux-i686-2.7/OpenSSL/test

copying OpenSSL/test/test_rand.py -> build/lib.linux-i686-2.7/OpenSSL/test

copying OpenSSL/test/test_ssl.py -> build/lib.linux-i686-2.7/OpenSSL/test

running build_ext

building 'OpenSSL.crypto' extension

creating build/temp.linux-i686-2.7

creating build/temp.linux-i686-2.7/OpenSSL

creating build/temp.linux-i686-2.7/OpenSSL/crypto

i686-asustor-linux-gnu-gcc -fno-strict-aliasing -I/asustor/trunk/x86/x86/staging/usr/include -I/asustor/trunk/x86/x86/staging/usr/builtin/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/local/AppCentral/python/include/python2.7 -c OpenSSL/crypto/crypto.c -o build/temp.linux-i686-2.7/OpenSSL/crypto/crypto.o

unable to execute i686-asustor-linux-gnu-gcc: No such file or directory

error: command 'i686-asustor-linux-gnu-gcc' failed with exit status 1

----------------------------------------
Cleaning up...
Command /usr/local/bin/python -c "import setuptools;__file__='/tmp/pip_build_admin/pyopenssl/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-SpLraX-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip_build_admin/pyopenssl
Storing complete log in /volume1/home/admin/.pip/pip.log
uskyrt
 
Posts: 24
Joined: Thu Aug 28, 2014 4:24 am

Re: Sickrage, python and SSL errors

Postby Tommy » Sat Jun 06, 2015 1:17 am

Same error here, tried all methods listed on the git page and the commands here. Still waiting for asustor to update python.
Tommy
 
Posts: 5
Joined: Thu Dec 18, 2014 8:45 am

Re: Sickrage, python and SSL errors

Postby uskyrt » Sat Jun 13, 2015 7:35 pm

Sorry to ask again.
Do we need to ask Asustor to push a new Python version out?
@Clinton.hall you mentioned yo may have to "precompile and add to the app"?

I'd just like to find a solution :)

Thank you
uskyrt
 
Posts: 24
Joined: Thu Aug 28, 2014 4:24 am

Next

Return to SickBeard

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest

cron