SickRgae won't start, python error

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

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

SickRgae won't start, python error

Post by infinityzx »

Hi All,

starting from today, my sickrage it refuses to start with the following error:

root@AS-604T-2B07:/volume1/.@plugins/AppCentral/sickbeard-tvrage # ./CONTROL/start-stop.sh start
SickBeard-TVRage prestartup checks... (Mon Jan 25 08:37:33 BRST 2016)
Starting SickBeard-TVRageDownloading pip ...
Downloading: get-pip.py Bytes: 1511867
Installing pip ...0%]
Requirement already up-to-date: pip in /volume1/.@plugins/AppCentral/python/lib/python2.7/site-packages
Cleaning up downloaded pip files
Patching SiCKRAGE SSL Context
[33.00%]::Installing ndg-httpsclient package
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-g4T3UX/cffi
[50.00%]::Installing pyasn package
Command "/usr/local/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-VxlQOv/pyasn/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-MTEiwN-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-VxlQOv/pyasn
[83.00%]::Installing pyopenssl package
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-EJs7Ll/cffi
[100.00%]::Installing cffi package
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-w6HrFH/cffi
Downloading pip ...
Downloading: get-pip.py Bytes: 1511867
Installing pip ...0%]
Requirement already up-to-date: pip in /volume1/.@plugins/AppCentral/python/lib/python2.7/site-packages
Cleaning up downloaded pip files
Traceback (most recent call last):
File "SickBeard.py", line 26, in <module>
main()
File "/volume1/.@plugins/AppCentral/sickbeard-tvrage/SickBeard-TVRage/sickrage/__init__.py", line 701, in main
install_reqs(optional=INSTALL_OPTIONAL, user=USER)
File "/volume1/.@plugins/AppCentral/sickbeard-tvrage/SickBeard-TVRage/requirements/__init__.py", line 112, in install_reqs
install_pip(user)
File "/volume1/.@plugins/AppCentral/sickbeard-tvrage/SickBeard-TVRage/requirements/__init__.py", line 54, in install_pip
os.remove('get-pip.py')
OSError: [Errno 2] No such file or directory: 'get-pip.py'

Anything has recently changed with python's modules?
infinityzx
Posts: 14
Joined: Tue Aug 18, 2015 1:16 am

Re: SickRgae won't start, python error

Post by infinityzx »

Apparently the issue is with cryptography, which depends on cffi and here it's failing bad!

x86_64-asustor-linux-gnu-gcc -fno-strict-aliasing -I/asustor/trunk_2015_08_19/x64_g1/x64_g1/staging/usr/include -I/asustor/trunk_2015_08_19/x64_g1/x64_g1/staging/usr/builtin/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DUSE__THREAD -I/usr/include/ffi -I/usr/include/libffi -I/usr/local/AppCentral/python/include/python2.7 -c c/_cffi_backend.c -o build/temp.linux-x86_64-2.7/c/_cffi_backend.o
c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
compilation terminated.
error: command 'x86_64-asustor-linux-gnu-gcc' failed with exit status 1

As far as I know, there's no libffi-dev package available.

Any thoughts?
infinityzx
Posts: 14
Joined: Tue Aug 18, 2015 1:16 am

Re: SickRgae won't start, python error

Post by infinityzx »

No way, I've downloaded libiff and compiled from sources. Installed successfully, but the cryptography module won't compile at all and the startup ends up like that:

Checking for upgradable SiCKRAGE packages, please stand by ...
Traceback (most recent call last):
File "SickBeard.py", line 26, in <module>
main()
File "/volume1/.@plugins/AppCentral/sickbeard-tvrage/SickBeard-TVRage/sickrage/__init__.py", line 704, in main
from sickrage.core.srlogger import srLogger
File "/volume1/.@plugins/AppCentral/sickbeard-tvrage/SickBeard-TVRage/sickrage/core/__init__.py", line 45, in <module>
from sickrage.core.processors import auto_postprocessor
File "/volume1/.@plugins/AppCentral/sickbeard-tvrage/SickBeard-TVRage/sickrage/core/processors/auto_postprocessor.py", line 25, in <module>
from sickrage.core.process_tv import processDir
File "/volume1/.@plugins/AppCentral/sickbeard-tvrage/SickBeard-TVRage/sickrage/core/process_tv.py", line 38, in <module>
from sickrage.core.processors import failed_processor, post_processor
File "/volume1/.@plugins/AppCentral/sickbeard-tvrage/SickBeard-TVRage/sickrage/core/processors/failed_processor.py", line 28, in <module>
from sickrage.core.queues.search import FailedQueueItem
File "/volume1/.@plugins/AppCentral/sickbeard-tvrage/SickBeard-TVRage/sickrage/core/queues/search.py", line 29, in <module>
from sickrage.core.search import searchForNeededEpisodes, searchProviders, \
File "/volume1/.@plugins/AppCentral/sickbeard-tvrage/SickBeard-TVRage/sickrage/core/search.py", line 39, in <module>
from sickrage.core.tv.show.history import FailedHistory, History
File "/volume1/.@plugins/AppCentral/sickbeard-tvrage/SickBeard-TVRage/sickrage/core/tv/show/__init__.py", line 50, in <module>
from sickrage.core.tv.episode import TVEpisode
File "/volume1/.@plugins/AppCentral/sickbeard-tvrage/SickBeard-TVRage/sickrage/core/tv/episode/__init__.py", line 35, in <module>
from sickrage.core.processors import post_processor
File "/volume1/.@plugins/AppCentral/sickbeard-tvrage/SickBeard-TVRage/sickrage/core/processors/post_processor.py", line 40, in <module>
from sickrage.core.searchers import subtitle_searcher
File "/volume1/.@plugins/AppCentral/sickbeard-tvrage/SickBeard-TVRage/sickrage/core/searchers/subtitle_searcher.py", line 30, in <module>
import subliminal
File "/usr/local/AppCentral/python/lib/python2.7/site-packages/subliminal/__init__.py", line 12, in <module>
from .cache import region
File "/usr/local/AppCentral/python/lib/python2.7/site-packages/subliminal/cache.py", line 4, in <module>
from dogpile.cache import make_region
ImportError: No module named dogpile.cache
Post Reply

Return to “SickBeard”