Hi Guys.
Is there any word on if-and-when SickChill will be usable in Python 3?
I maintain a package for QNAP NAS users and my Python 2.7.16 source has just become unavailable. :disappointed:
So, looking to create a Py3 version just as soon as it's possible.
Thank you.
Issue-Label Bot is automatically applying the label Feature Request to this issue, with a confidence of 0.76. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
We have an official qnap package btw...
Python 2.7 should not be unavailable on any platform in the foreseeable future. There will always be legacy software.
We have an official qnap package btw...
Ah, do you mean the old https://github.com/SickChill/qnap-sickchill ? Yes, parts of the init script look quite familiar. :grin:
Python 2.7 should not be unavailable on any platform in the foreseeable future. There will always be legacy software.
Yes, I thought so too. However, OpenWRT (the base for Entware) just pulled Python 2. :disappointed:
Same here! Just updated Entware on my nas and what a surprise, python 2.7 was removed and replaced by python 3 so SickChill isn't working anymore...
You should go complain to the entware maintainers. Removing official packages that rely on py27 makes sense, but removing the ability to run legacy 3rd party py27 code is stupid.
Py3 support is NOT some simple task in an application like SC. I have been trying to do it for like 5 years.
So, I think you're saying it won't be anytime soon. :wink:
I'll have to withdraw support for my QPKG, so I'll suggest QNAP users switch to the "official" one instead. :+1:
If someone who has the skills to do it comes to help out, it will be sooner lol. But im having a hell of a time with it (there are like 20 issues about it)
One small comment:
Similar problem on my QNAP.
Python 2.7 is till there but the underlying OpenSSL package it uses is insecure and has been pulled (it is a mess of multiple OpenSSL versions various places in the system).
Python3 works in QNAP (including the OpenSSL) but not SickChill. I would hate to have to switch to ...
As a fellow software developer on a totally different tech stack I fail to understand the Python 2.7/3 debate and it seems extremely strange to keep using the 20 year old version. Somebody at Python royally fucked up that migration.
I can't believe that you first edited my comments and now have deleted them,
Just because we mentioned another fork of the original application that now supports Python 3..
Off-topic mentions of competing forks are spam and not allowed. Surprised you don't know that already.
I got it running under python 3 in #6572 xD
Just need to work out random bugs, might want to get a py3 environment set up awhile guys.
It runs incredibly fast now, wow.
And for the people who are/were ignorant about it not getting done on their timeline

160k lines of code changed and counting smh.
Good work @miigotu :nerd_face:
OK, initial test when pulling from the py3-again branch resulted in this backtrace on application launch:
Traceback (most recent call last):
File "/opt/lib/python3.8/base64.py", line 510, in _input_type_check
TypeError: memoryview: a bytes-like object is required, not 'str'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "SickBeard.py", line 481, in <module>
SickChill().start()
File "SickBeard.py", line 206, in start
sickbeard.initialize(consoleLogging=self.console_logging)
File "/share/MD0_DATA/.qpkg/SickChill/SickChill/sickbeard/__init__.py", line 799, in initialize
GIT_TOKEN = check_setting_str(CFG, 'General', 'git_token_password', censor_log=True) # encryption needed
File "/share/MD0_DATA/.qpkg/SickChill/SickChill/sickbeard/config.py", line 813, in check_setting_str
my_val = helpers.decrypt(config[cfg_name][item_name], encryption_version)
File "/share/MD0_DATA/.qpkg/SickChill/SickChill/sickbeard/helpers.py", line 947, in decrypt
return encrypt(data, encryption_version, _decrypt=True)
File "/share/MD0_DATA/.qpkg/SickChill/SickChill/sickbeard/helpers.py", line 937, in encrypt
return ''.join(chr(ord(x) ^ ord(y)) for (x, y) in zip(base64.decodebytes(data), cycle(sickbeard.ENCRYPTION_SECRET)))
File "/opt/lib/python3.8/base64.py", line 545, in decodebytes
File "/opt/lib/python3.8/base64.py", line 513, in _input_type_check
TypeError: expected bytes-like object, not str
@OneCDOnly easy fix, there will be quite a bit of fixing ones like that because I obviously won't have every option enabled to know. I'll also add 3.8 to my machine to check.
Needs a .decode() tacked onto the end of that .decodebytes(data)
Actually the data needs encoded too. I'll get the laptop out lol
No worries. :grin:
Specifically, I'm installing Python 3.8.3 and sometimes Python 3.7.4 (as Watcher3 doesn't yet run on 3.8.x).
@OneCDOnly fixed that function, you can pull again
https://github.com/SickChill/SickChill/pull/6572/commits/f1536e2d8c0f0651d4b2687286091e9f98dc9d26
@OneCDOnly why doesn't watcher3 run on 3.8? I haven't hit any of the major differences in python3 yet between for example 3.5, 3.7, and 3.8... Py3 is new to me.
@OneCDOnly their pypi just isnt updated: https://opendev.org/openstack/watcher/src/branch/master/setup.cfg#L22
Let's all continue the conversation in the PR, so it is easier for all of us to keep track.
https://pypi.org/project/sickchill/0.0.44/
Maybe some people could play around with that and see if it works xD.
Settings will be made in $HOME/sickchill if you use pip or setup.py to instal (but respecting arguments, otherwise it will use the old behavior
You will need python3.7+
pip3 install -U --user sickchill
SickChill.py
Tons of fixes even for old code have been put in, such as using newer user agents disabling user agent spoofing (fake_useragent is dead), torrent, anidb, idk what else even there is so much.
I'm trying this on Windows, but I'm guessing not ready for prime time yet ;) I was hoping to try it out and copy over my current config/DB.
Getting error when launching SickChill.py -- FileNotFoundError: [Errno 2] No translation file found for domain: 'messages'
I'm trying this on Windows, but I'm guessing not ready for prime time yet ;) I was hoping to try it out and copy over my current config/DB.
Getting error when launching SickChill.py -- FileNotFoundError: [Errno 2] No translation file found for domain: 'messages'
It shouldn't do that, but I'll look into it. You are using python3.6+ right?
Yes, using version 3.8.5.
On Thu, Jul 30, 2020, 1:01 AM miigotu notifications@github.com wrote:
I'm trying this on Windows, but I'm guessing not ready for prime time yet
;) I was hoping to try it out and copy over my current config/DB.Getting error when launching SickChill.py -- FileNotFoundError: [Errno 2]
No translation file found for domain: 'messages'It shouldn't do that, but I'll look into it. You are using python3.6+
right?—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/SickChill/SickChill/issues/6545#issuecomment-666113335,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AECCSQCC7CGTB27EXPTKNLTR6D5B5ANCNFSM4OCPDFMQ
.
@zeeter82 because LANGUAGE, LC_MESSAGES, LC_ALL, and LANG environment variables are not automatically set on windows like they are on linux.
I pushed a test version v0.0.6 to pypi, it should now work
Sec, still broken
You are definitely making progress...upgraded to v0.0.11 and it created a new default data folder under my profile. I stopped main script and copied my data over. It launches and tries to load site but errors out:
_raise exceptions.TopLevelLookupException(
mako.exceptions.TopLevelLookupException: Cant locate template for uri 'login.mako'_
I'm trying this on Windows 10 myself. I have Python 3.7.4 installed.
I ran "pip install sickchill" and it ran and said that all of the requirements have been satisfied, but there's no script to run. I searched the entire hard drive for "sick*.py" and nothing came up.
Is there another step I'm missing?
Also, when running, pip keeps checking Python 2.7 rather than 3.7 even if I'm running it from the Python 3.7 directory.
I'm trying this on Windows 10 myself. I have Python 3.7.4 installed.
I ran "pip install sickchill" and it ran and said that all of the requirements have been satisfied, but there's no script to run. I searched the entire hard drive for "sick*.py" and nothing came up.
Me neither. I can find the startup script, but not the rest.
Also, when running, pip keeps checking Python 2.7 rather than 3.7 even if I'm running it from the Python 3.7 directory.
Did you run pip3? I have both python versions in my path and didn't have a problem with the pip3 install part. Only finding the files afterwards 🤣
Ok, so Ive got PY3.8 installed, done the pip3 install sickchill but now I need to edit my service to point to the new startup script on win10 before restoring my backup config. Can someone give me some detail on this step please?
TIA
Ok so Ive gotten as far as getting into an elevated command prompt, running nssm to edit the sickrage service, but it seems I am not pointing it the right way - I pointed it at the SickChill.py file located in my python38\scripts folder. Where have I gone wrong? The service now refuses to start...
Currently the arguments text box reads:
"C:\SickRage\SickRage\SickBeard.py" --nolaunch --port=8081 --datadir="C:\SickRage\Data"
I edit that to read:
"C:\Users\Bia\AppData\Local\Programs\Python\Python38\Scripts\SickChill.py" --nolaunch --port=8081 --datadir="C:\SickRage\Data"
Is no bueno for me...
Ok so Ive gotten as far as getting into an elevated command prompt, running nssm to edit the sickrage service, but it seems I am not pointing it the right way - I pointed it at the SickChill.py file located in my python38\scripts folder. Where have I gone wrong? The service now refuses to start...
Currently the arguments text box reads:
"C:\SickRage\SickRage\SickBeard.py" --nolaunch --port=8081 --datadir="C:\SickRage\Data"
I edit that to read:
"C:\Users\Bia\AppData\Local\Programs\Python\Python38\Scripts\SickChill.py" --nolaunch --port=8081 --datadir="C:\SickRage\Data"Is no bueno for me...
What happens if you run the sickchill.py from the elevated command prompt? Get that to work before you try to make it into a service.
When I do as I suggested above, I get
Traceback (most recent call last):
File "sickchill.py", line 14, in
import sickchill.start
File "C:\python37\lib\site-packages\sickchill__init__.py", line 1, in
from .show.indexers import indexer, ShowIndexer
File "C:\python37\lib\site-packages\sickchill\show\indexers__init__.py", line 1, in
from .handler import ShowIndexer
File "C:\python37\lib\site-packages\sickchill\show\indexers\handler.py", line 3, in
from sickchill import settings
File "C:\python37\lib\site-packages\sickchill\settings.py", line 55, in
BSDTAR_TOOL = rarfile.BSDTAR_TOOL
AttributeError: module 'rarfile' has no attribute 'BSDTAR_TOOL'
I'm not sure I would recommend switching over your default install just yet. The python3 branch is still a major work in progress.
@zeeter82 pip install -U sickchill you should get 0.0.15 which should be able to find the templates now.
I am still working out some kinks, and adding new build suites that will automatically test source, git, AND pip installs on all OS we support.
My first step towards that is getting rid of bower, and eventually getting rid of grunt, so we only have yarn and webpack. This step is going to take me a while, because I am no expert in javascript.
@Gamethrall it seems your rarfile is old? https://github.com/markokr/rarfile/blob/master/rarfile.py#L109
This variable was added in v3.2 of rarfile, they are on v4.0 now.
pip install -U rarfile
Actually, they removed LSAR_TOOL not BSDTAR, so I'm confused why you got that error @Gamethrall
I just pushed a new version to pypi that now works on windows (tested)
@miigotu Make you a deal. I've just donated about a beer for you, a soda for the mrs and a couple of baby foods. You just tell us windows users when it's safe to switch and I'll try not to bug you with noob questions. Deal? 🤣
EDIT: Too tired to write in my third language. Noticed some of the original text could be read as an insult. NOT the intention.
@Tiwas no worries lol, and thanks. It will be safe-safe when it is made the default branch here =P
But I will need some brave souls to be testing it out ahead of time.
I'm having problems auto updating.
2020-08-07 07:30:43 WARNING :: CHECKVERSION :: We can't proceed with the update. Unable to check remote DB version. Error: AssertionError('Empty response from https://raw.githubusercontent.com/{0}/{1}/{2}/sickbeard/databases/main.py')
2020-08-07 07:30:43 INFO :: CHECKVERSION :: Request failed: 404 Client Error: Not Found for url: https://raw.githubusercontent.com/SickChill/SickChill/master/sickbeard/databases/main.py ()
2020-08-07 07:30:43 INFO :: CHECKVERSION :: Request failed: 404 Client Error: Not Found for url: https://raw.githubusercontent.com/SickChill/SickChill/a9f646000d6b040fb7ee7cf9e24d88a5287408f9/sickbeard/databases/main.py ()
2020-08-07 07:30:42 INFO :: CHECKVERSION :: New update found for SickChill, starting auto-updater ...
@stoniedk the auto updater will not work in the python3 yet, and needs to be updated to work with pip installs at all. Use pip install -U sickchill
I have merged the PR to develop. There is still tons of work to do but I need the masses to get ready and this shows how serious I am =P
@miigotu can you please advise: which branch is the current "stable" for Python 3?
I still wouldnt call it stable, it needs extensively tested in real world use. But it is in the develop branch now, and I am working more in the python3 branch. I am also pushing to pypi as I go so that can be tested that way. Also, docker images are being built for it ^
Ok so Ive gotten as far as getting into an elevated command prompt, running nssm to edit the sickrage service, but it seems I am not pointing it the right way - I pointed it at the SickChill.py file located in my python38\scripts folder. Where have I gone wrong? The service now refuses to start...
Currently the arguments text box reads:
"C:\SickRage\SickRage\SickBeard.py" --nolaunch --port=8081 --datadir="C:\SickRage\Data"
I edit that to read:
"C:\Users\Bia\AppData\Local\Programs\Python\Python38\Scripts\SickChill.py" --nolaunch --port=8081 --datadir="C:\SickRage\Data"
Is no bueno for me...What happens if you run the sickchill.py from the elevated command prompt? Get that to work before you try to make it into a service.
Ok - so I've run from the command line as suggested - the error I'm getting is ImportError: No module named sickchill.start
Any ideas?
C:\Users\Bia\AppData\Local\Programs\Python\Python38\python c:\Users\Bia\AppData\Local\Programs\Python\Python38\Scripts\SickChill.py
C:\Users\Bia\AppData\Local\Programs\Python\Python38\python c:\Users\Bia\AppData\Local\Programs\Python\Python38\Scripts\SickChill.py
Awesome - that works of course. Thanks @miigotu
So, to set the service correctly now:
The three text boxes in nssm for the old service version read:
Path: C:\SickRage\Python\python.exe
Startup Directory: C:\SickRage\Data
Arguments: "C:\SickRage\SickRage\SickBeard.py" --nolaunch --port=8081 --datadir="C:\SickRage\Data"
Should they now be as follows?
Path: C:\Users\Bia\AppData\Local\Programs\Python\Python38\python.exe
Startup Directory: C:\SickRage\Data
Arguments: "c:\Users\Bia\AppData\Local\Programs\Python\Python38\Scripts\SickChill.py"
Im worried about the Startup Directory being right - thats for the old install, unless I am not understanding correctly, and do I need the arguments --nolaunch --port=8081 --datadir="C:\SickRage\Data" at the end of the arguments line?
TIA
You don't need python in the path field there if you added python to the system path when you installed.
This might work, but I have not tested with using the old service from the old installer.
Path c:\Users\Bia\AppData\Local\Programs\Python\Python38\Scripts\SickChill.py
Directory c:\Users\Bia\AppData\Local\Programs\Python\Python38\Lib\site-packages\sickchill
Arguments --nolaunch --port=8081 --datadir="C:\SickRage\Data"
You should be able to just sickchill.py from the command line
sickchill.py --datadir=C:\SickChill\Data
You don't need python in the path field there if you added python to the system path when you installed.
This might work, but I have not tested with using the old service from the old installer.
Path c:\Users\Bia\AppData\Local\Programs\Python\Python38\Scripts\SickChill.py
Directory c:\Users\Bia\AppData\Local\Programs\Python\Python38\Lib\site-packages\sickchill
Arguments --nolaunch --port=8081 --datadir="C:\SickRage\Data"
So I can run it direct from the command line using sickchill.py --datadir=C:\SickRage\Data
The service though - does not work for me as outlined - I did add Python to the path so thats not an issue...
I'll figure out the service later, and there will be a new installer update when it's ready for prime time.
@DrDrewZA
nssm.exe install sickchill3
;In the popup, this is path, startdir, arguments
%LOCALAPPDATA%\Programs\Python\Python38-32\python.exe
%LOCALAPPDATA%\Programs\Python\Python38-32
%LOCALAPPDATA%\Programs\Python\Python38-32\Scripts\SickChill.py --nolaunch --port=8081 --datadir=C:\SickRage\Data
;Logon tab
;Select "this account"
;type your username and password
;click edit service
net start sickchill3
This is a temporary solution, but it works here
Actually, they removed LSAR_TOOL not BSDTAR, so I'm confused why you got that error @Gamethrall
I just pushed a new version to pypi that now works on windows (tested)
i just ran "pip3 install sickchill" and I'm still getting the same error. Must be something not set in my environment.
@Gamethrall if its already installed you have to use -U
pip3 install -U sickchill rarfile
Manual snatch selection is coming soon =P
Halfway there

Really, really, REALLY looking forward to a stable Python 3 version now. You rock! 🥇
@DrDrewZA
nssm.exe install sickchill3 ;In the popup, this is path, startdir, arguments %LOCALAPPDATA%\Programs\Python\Python38-32\python.exe %LOCALAPPDATA%\Programs\Python\Python38-32 %LOCALAPPDATA%\Programs\Python\Python38-32\Scripts\SickChill.py --nolaunch --port=8081 --datadir=C:\SickRage\Data ;Logon tab ;Select "this account" ;type your username and password ;click edit service net start sickchill3This is a temporary solution, but it works here
Ok - so I have managed to get mine running as a service now as well, thanks to @miigotu
I struggled at first though, until I realised the paths used in the example above were in fact invalid for my machine - the name of the python directory is different on my machine (I assume due to different versions).
i did play around with the settings at the same time, in my attempts to get it running, sort of merging the example above with my old settings.
What ended up as my final and working settings are as follows for anyone who may find it useful:
Path: C:\Users\Bia\AppData\Local\Programs\Python\Python38\python.exe
Startup Directory: C:\Users\Bia\AppData\Local\Programs\Python\Python38
Arguments: "C:\Users\Bia\AppData\Local\Programs\Python\Python38\Scripts\SickChill.py" --nolaunch --port=8081 --datadir="C:\SickRage\Data"
So - on win10, it now runs as a service for me.
Many thanks to all that helped me get there - much appreciated.
So new issue:
When trying to view errors (not the logfile - specifically errors and warnings), I get a mako error:
File C:/Users/Bia/AppData/Local/Programs/Python/Python38/lib/site-packages/sickchill/gui/slick/views/errorlogs.mako:7, in render_content:
if logLevel == sickchill.sickbeard.logger.WARNING:
AttributeError: 'Undefined' object has no attribute 'sickbeard'
@DrDrewZA you need to update, that is already fixed. pip install -U sickchill
Also, #6626
SickChill is running really fast with Python 3, just have a couple of issues. I'm on the pip build "sickchill-0.0.27"
When i edit a show, and click on save:
Error
Invalid show ID: None
Sending notification to Telegram:
2020-08-11 12:24:03 DEBUG :: WEBSERVER-POSTPROCESS_0 :: Telegram in use with API KEY: my API Key
2020-08-11 12:24:03 INFO :: WEBSERVER-POSTPROCESS_0 :: Error while sending Telegram message: POST data should be bytes, an iterable of bytes, or a file object. It cannot be of type str.
2020-08-11 12:24:03 DEBUG :: WEBSERVER-POSTPROCESS_0 :: PLEX: Updating hosts where TV section paths match the downloaded show: 12, 4, 1
SickChill is running really fast with Phyton 3, just have a couple of issues. I'm on the pip build "sickchill-0.0.27"
When i edit a show, and click on save:
Error
Invalid show ID: NoneSending notification to Telegram:
2020-08-11 12:24:03 DEBUG :: WEBSERVER-POSTPROCESS_0 :: Telegram in use with API KEY: my API Key
2020-08-11 12:24:03 INFO :: WEBSERVER-POSTPROCESS_0 :: Error while sending Telegram message: POST data should be bytes, an iterable of bytes, or a file object. It cannot be of type str.
2020-08-11 12:24:03 DEBUG :: WEBSERVER-POSTPROCESS_0 :: PLEX: Updating hosts where TV section paths match the downloaded show: 12, 4, 1
Yep I just saw the editshow one, I'll be working on that later.
Also, posts
@DrDrewZA you need to update, that is already fixed.
pip install -U sickchill
Cool - forgot the auto updater wasn't sorted yet. As a matter of course now, seeing as you're pushing updates thick and fast, I'll run an update at least daily.
And it is fast. I notice a significant difference on my media server which is an older gen i5. Loving it.
It will be much faster and lighter once I get the providers loading through entrypoints on stevedore =P
We have every provider class, notifier class, client, etc instantiated at runtime and that makes no sense.
Another mako error when you get to it - the history page:
File C:/Users/Bia/AppData/Local/Programs/Python/Python38/lib/site-packages/sickchill/gui/slick/views/history.mako:158, in render_content:
TypeError: '<' not supported between instances of 'dict' and 'dict'
All reported issues fixed so far. Update and find me some more new py3 related bugs =P
Will do. I'll switch back to the develop branch on my daily driver. :1st_place_medal:
I've switched full time - anything crops up will post it, but seems to be behaving rather well already!
Only thing so far is a small one not related to Py3, as it was already doing it under the old version: .png images for itv encore and peacock not available.
Here you go:
Add new show from Trakt lists is timing out:
AA ModuleNotFoundError: No module named 'settings'
AA from settings.helpers import anon_url
AA File "C:\Users\Bia\AppData\Local\Programs\Python\Python38\lib\site-packages\sickchill\gui\slick\cache\mako\trendingShows.mako.py", line 18, in
AA File "", line 219, in _call_with_frames_removed
AA File "", line 783, in exec_module
AA File "", line 671, in _load_unlocked
AA File "", line 702, in _load
AA File "", line 265, in _load_module_shim
AA File "", line 787, in load_module
AA File "", line 962, in load_module
AA File "", line 462, in _check_name_wrapper
AA return machinery.SourceFileLoader(module_id, path).load_module()
AA File "C:\Users\Bia\AppData\Local\Programs\Python\Python38\lib\site-packages\mako\compat.py", line 105, in load_module
AA module = compat.load_module(self.module_id, path)
AA File "C:\Users\Bia\AppData\Local\Programs\Python\Python38\lib\site-packages\mako\template.py", line 416, in _compile_from_file
AA module = self._compile_from_file(path, filename)
AA File "C:\Users\Bia\AppData\Local\Programs\Python\Python38\lib\site-packages\mako\template.py", line 348, in __init__
AA self._collection[uri] = template = Template(
AA File "C:\Users\Bia\AppData\Local\Programs\Python\Python38\lib\site-packages\mako\lookup.py", line 322, in _load
AA return self._load(srcfile, uri)
AA File "C:\Users\Bia\AppData\Local\Programs\Python\Python38\lib\site-packages\mako\lookup.py", line 260, in get_template
AA self.template = lookup.get_template(filename)
AA File "C:\Users\Bia\AppData\Local\Programs\Python\Python38\lib\site-packages\sickchill\views\common.py", line 33, in __init__
AA t = PageTemplate(rh=self, filename="trendingShows.mako")
AA File "C:\Users\Bia\AppData\Local\Programs\Python\Python38\lib\site-packages\sickchill\views\manage\add_shows.py", line 251, in getTrendingShows
AA return function(*kwargs)
AA File "C:\Users\Bia\AppData\Local\Programs\Python\Python38\lib\site-packages\sickchill\views\index.py", line 182, in async_call
AA result = self.fn(self.args, *self.kwargs)
AA File "C:\Users\Bia\AppData\Local\Programs\Python\Python38\lib\concurrent\futures\thread.py", line 57, in run
AA value = future.result()
AA File "C:\Users\Bia\AppData\Local\Programs\Python\Python38\lib\site-packages\tornado\gen.py", line 735, in run
AA results = yield self.async_call(method)
AA File "C:\Users\Bia\AppData\Local\Programs\Python\Python38\lib\site-packages\sickchill\views\index.py", line 159, in get
AA yielded = self.gen.throw(exc_info) # type: ignore
AA File "C:\Users\Bia\AppData\Local\Programs\Python\Python38\lib\site-packages\tornado\gen.py", line 742, in run
AA result = await result
AA File "C:\Users\Bia\AppData\Local\Programs\Python\Python38\lib\site-packages\tornado\web.py", line 1703, in _execute
AA Traceback (most recent call last):
AA During handling of the above exception, another exception occurred:
AA KeyError: 'trendingShows.mako'
AA return self._check(uri, self._collection[uri])
AA File "C:\Users\Bia\AppData\Local\Programs\Python\Python38\lib\site-packages\mako\lookup.py", line 249, in get_template
AA Traceback (most recent call last):
AA HTTPServerRequest(protocol='http', host='127.0.0.1:8081', method='GET', uri='/addShows/getTrendingShows/?traktList=anticipated', version='HTTP/1.1', remote_ip='127.0.0.1')
2020-08-12 08:12:39 ERROR :: WEBSERVER :: Uncaught exception GET /addShows/getTrendingShows/?traktList=anticipated (127.0.0.1)
Just switched to develop (actually, deleted entire master install and started again with develop branch) and using my previous config.
On startup, it says it can't update?
2020-08-12 17:11:33 INFO :: MAIN :: Starting SickChill [develop] using '/home/me/.sickchill/config.ini'
2020-08-12 17:11:33 INFO :: WEBSERVER :: Starting SickChill on http://0.0.0.0:7073/
2020-08-12 17:11:36 ERROR :: WEBSERVER-HOME_0 :: Could not open static file '/opt/SickChill/sickchill/gui/slick/images/network/sic comédia.png'
2020-08-12 17:11:36 ERROR :: WEBSERVER-HOME_0 :: Could not open static file '/opt/SickChill/sickchill/gui/slick/images/network/really.png'
2020-08-12 17:11:36 ERROR :: WEBSERVER-HOME_0 :: Could not open static file '/opt/SickChill/sickchill/gui/slick/images/network/smithsonian channel (ca).png'
2020-08-12 17:11:37 ERROR :: WEBSERVER-HOME_0 :: Could not open static file '/opt/SickChill/sickchill/gui/slick/images/network/hbo max.png'
2020-08-12 17:11:37 ERROR :: WEBSERVER-HOME_0 :: Could not open static file '/opt/SickChill/sickchill/gui/slick/images/network/motortrendondemand.png'
2020-08-12 17:11:37 INFO :: CHECKVERSION :: New update found for SickChill, starting auto-updater ...
2020-08-12 17:11:39 INFO :: CHECKVERSION :: Request failed: 404 Client Error: Not Found for url: https://raw.githubusercontent.com/SickChill/SickChill/9cda88e21c9d53d296e6c434c1279d2d75dd1eaa/oldbeard/databases/main.py (<class 'str'>)
2020-08-12 17:11:40 INFO :: CHECKVERSION :: Request failed: 404 Client Error: Not Found for url: https://raw.githubusercontent.com/SickChill/SickChill/master/oldbeard/databases/main.py (<class 'str'>)
2020-08-12 17:11:40 WARNING :: CHECKVERSION :: We can't proceed with the update. Unable to check remote DB version. Error: AssertionError('Empty response from https://raw.githubusercontent.com/{0}/{1}/{2}/oldbeard/databases/main.py')
Also, it's not letting me clear the warning about the failed update. :confused:
@OneCDOnly thats a bug, missing sickchill/ before oldbeard in that URL xD
Supposed to be https://raw.githubusercontent.com/SickChill/SickChill/9cda88e21c9d53d296e6c434c1279d2d75dd1eaa/sickchill/oldbeard/databases/main.py
Updated SickChill today to build 0.30, got some errors. Tried removing the cache.db made no difference.
Find propers:
2020-08-12 08:42:04 INFO :: FINDPROPERS :: [drunkenslug.com] :: Searching for any new PROPER releases from drunkenslug.com
2020-08-12 08:42:04 ERROR :: FINDPROPERS :: [drunkenslug.com] :: Fatal error executing query with db.action in database C:\Config\sickchill\cache.db: unrecognized token: "'%.REAL.% AND time >= 1597041721"
2020-08-12 08:42:04 INFO :: FINDPROPERS :: [drunkenslug.com] :: If this happened in cache.db, you can safely stop SickChill, and delete the cache.db file without losing any data
2020-08-12 08:42:04 INFO :: FINDPROPERS :: [drunkenslug.com] :: Here is the arguments that were passed to this function (This is what the developers need to know): {'self':, 'query': "SELECT * FROM results WHERE provider = ? AND name LIKE '%.PROPER.%' OR name LIKE '%.REPACK.%' OR name LIKE '%.REAL.% AND time >= 1597041721", 'args': ['drunkenslug_com'], 'fetchall': True, 'fetchone': False, 'sql_results': [], 'attempt': 0, 'e': OperationalError('unrecognized token: "\'%.REAL.% AND time >= 1597041721"'), 'severity': 40}
2020-08-12 08:42:04 DEBUG :: FINDPROPERS :: [drunkenslug.com] :: Traceback (most recent call last):
File "C:\Python38\lib\site-packages\sickchill\oldbeard\properFinder.py", line 68, in _getProperList
curPropers = curProvider.find_propers(search_date)
File "C:\Python38\lib\site-packages\sickchill\providers\GenericProvider.py", line 116, in find_propers
results = self.cache.list_propers(search_date)
File "C:\Python38\lib\site-packages\sickchill\oldbeard\tvcache.py", line 263, in list_propers
propers_results = cache_db_con.select(sql, [self.provider_id])
File "C:\Python38\lib\site-packages\sickchill\oldbeard\db.py", line 299, in select
sql_results = self.action(query, args, fetchall=True)
File "C:\Python38\lib\site-packages\sickchill\oldbeard\db.py", line 264, in action
sql_results = self._execute(query, args, fetchall=fetchall, fetchone=fetchone)
File "C:\Python38\lib\site-packages\sickchill\oldbeard\db.py", line 120, in _execute
sql_results = self.connection.cursor().execute(query, args)
sqlite3.OperationalError: unrecognized token: "'%.REAL.% AND time >= 1597041721"
2020-08-12 08:42:04 INFO :: FINDPROPERS :: [animetosho] :: Searching for any new PROPER releases from animetosho
Daily search:
2020-08-12 09:41:44 DEBUG :: SEARCHQUEUE-DAILY-SEARCH :: [drunkenslug.com] :: Unable to match WWE.The.R-Truth.Game.Show.S01E05.Tag.Team.Treatment.720p.Hi.WEB.h264-HEEL to a show in your database. Parser result: WWE The R-Truth Game Show - S01E05 [GROUP: HEEL] [ABD: False] [ANIME: False] [whichReg: ['standard']]
2020-08-12 09:41:44 ERROR :: SEARCHQUEUE-DAILY-SEARCH :: [drunkenslug.com] :: Fatal error executing query with db.mass_action in database C:\Config\sickchill\cache.db: UNIQUE constraint failed: results.provider
2020-08-12 09:41:44 INFO :: SEARCHQUEUE-DAILY-SEARCH :: [drunkenslug.com] :: If this happened in cache.db, you can safely stop SickChill, and delete the cache.db file without losing any data
2020-08-12 09:41:44 INFO :: SEARCHQUEUE-DAILY-SEARCH :: [drunkenslug.com] :: Here is the arguments that were passed to this function (This is what the developers need to know): {'self':, 'query_list': [['INSERT INTO results (provider, name, season, episodes, indexerid, url, time, quality, release_group, version, seeders, leechers, size) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ON CONFLICT (url, name, provider) DO UPDATE SET seeders=excluded.seeders, leechers=excluded.leechers, time=excluded.time', ['drunkenslug_com', 'Jimmy.Fallon.2020.08.11.Orlando.Bloom.720p.HDTV.x264-SORNY', 7, '|186|', 270261, 'https://drunkenslug.com/getnzb/e397597a460a3c22ad9d4e34eb8ad2c0898f4bde.nzb&i=5269&r=3c73f249ccb01784fb05603f7dbf3f22', 1597218103, 4, 'SORNY', -1, None, None, 992291808]], ['INSERT INTO results (provider, name, season, episodes, indexerid, url, time, quality, release_group, version, seeders, leechers, size) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ON CONFLICT (url, name, provider) DO UPDATE SET seeders=excluded.seeders, leechers=excluded.leechers, time=excluded.time', ['drunkenslug_com', 'Jimmy.Fallon.2020.08.11.Orlando.Bloom.720p.HEVC.x265-MeGusta', 7, '|186|', 270261, 'https://drunkenslug.com/getnzb/78d496d9dfe1f3cdcf316fa13e1d786990fc1b1b.nzb&i=5269&r=3c73f249ccb01784fb05603f7dbf3f22', 1597218103, 0, 'MeGusta', -1, None, None, 323919914]], ['INSERT INTO results (provider, name, season, episodes, indexerid, url, time, quality, release_group, version, seeders, leechers, size) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ON CONFLICT (url, name, provider) DO UPDATE SET seeders=excluded.seeders, leechers=excluded.leechers, time=excluded.time', ['drunkenslug_com', 'Jimmy.Fallon.2020.08.11.Orlando.Bloom.720p.HDTV.x264-SORNY', 7, '|186|', 270261, 'https://drunkenslug.com/getnzb/018a663a96dd76fda4d20c3970dd75f76c40b4cc.nzb&i=5269&r=3c73f249ccb01784fb05603f7dbf3f22', 1597218104, 4, 'SORNY', -1, None, None, 991560730]], ['INSERT INTO results (provider, name, season, episodes, indexerid, url, time, quality, release_group, version, seeders, leechers, size) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ON CONFLICT (url, name, provider) DO UPDATE SET seeders=excluded.seeders, leechers=excluded.leechers, time=excluded.time', ['drunkenslug_com', 'Perry.Mason.2020.S01E08.Chapter.8.1080p.AMZN.Webrip.x265.10bit.EAC3.5.1.HxD.TAoE', 1, '|8|', 363026, 'https://drunkenslug.com/getnzb/273a104208622e86a5b7bd627b140d13a7dbee49.nzb&i=5269&r=3c73f249ccb01784fb05603f7dbf3f22', 1597218104, 0, None, -1, None, None, 1914998771]]], 'log_transaction': False, 'fetchall': False, 'sql_results': [], 'attempt': 0, 'log_level': 5, 'qu': ['INSERT INTO results (provider, name, season, episodes, indexerid, url, time, quality, release_group, version, seeders, leechers, size) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ON CONFLICT (url, name, provider) DO UPDATE SET seeders=excluded.seeders, leechers=excluded.leechers, time=excluded.time', ['drunkenslug_com', 'Jimmy.Fallon.2020.08.11.Orlando.Bloom.720p.HEVC.x265-MeGusta', 7, '|186|', 270261, 'https://drunkenslug.com/getnzb/78d496d9dfe1f3cdcf316fa13e1d786990fc1b1b.nzb&i=5269&r=3c73f249ccb01784fb05603f7dbf3f22', 1597218103, 0, 'MeGusta', -1, None, None, 323919914]], 'e': IntegrityError('UNIQUE constraint failed: results.provider'), 'severity': 40}
2020-08-12 09:41:44 DEBUG :: SEARCHQUEUE-DAILY-SEARCH :: [drunkenslug.com] :: Error while searching drunkenslug.com, skipping: IntegrityError('UNIQUE constraint failed: results.provider')
2020-08-12 09:41:44 DEBUG :: SEARCHQUEUE-DAILY-SEARCH :: [animetosho] :: Checking database structure...cache.db
2020-08-12 09:41:45 DEBUG :: SEARCHQUEUE-DAILY-SEARCH :: [animetosho] :: GET URL: https://feed.animetosho.org/api [Status: 200]
@Soebedar I fixed the propers error, and tried to work on the cache conflict but I cannot reproduce that one. 0.0.33
so I had a weird one a few minutes ago - I added a new series and let it download 4 seasons for me automatically. All went perfectly, except for one episode, which was snatched and downloaded, but then not reflected in Sickrage as snatched - still showed as wanted. The file was deleted during processing. I downloaded it manually again and let sickrage post process it - the log showed only that it had been processed before and deleted it again. Downloaded it a third trime and filed it manually then ran a rescan of files and it was picked up properly.
If the logs had anything to show, I would have pasted them here for you - but alas nothing to show even in the debug, which showed only successful processing of the file as per normal.
Clearly there is nothing that can be done about it now, as theres nothing to show - but should this crop up again and again, maybe we should dig deeper...
@OneCDOnly thats a bug, missing sickchill/ before oldbeard in that URL xD
Supposed to be
https://raw.githubusercontent.com/SickChill/SickChill/9cda88e21c9d53d296e6c434c1279d2d75dd1eaa/sickchill/oldbeard/databases/main.py
Yup, confirmed fixed. Thank you. :+1:
New problem: after a quick git pull then an application launch, this is shown as an error (red) via the UI 'Error logs page':
2020-08-13 04:54:36 Could not open static file %r
Checking the logs manually, we find:
2020-08-13 04:53:47 INFO :: MAIN :: Starting SickChill [develop] using '/home/me/.sickchill/config.ini'
2020-08-13 04:53:47 INFO :: WEBSERVER :: Starting SickChill on http://0.0.0.0:7073/
2020-08-13 04:54:35 ERROR :: WEBSERVER-HOME_0 :: Could not open static file '/opt/SickChill/sickchill/gui/slick/images/network/sic comédia.png'
2020-08-13 04:54:35 ERROR :: WEBSERVER-HOME_0 :: Could not open static file '/opt/SickChill/sickchill/gui/slick/images/network/really.png'
2020-08-13 04:54:35 ERROR :: WEBSERVER-HOME_0 :: Could not open static file '/opt/SickChill/sickchill/gui/slick/images/network/smithsonian channel (ca).png'
2020-08-13 04:54:35 ERROR :: WEBSERVER-HOME_0 :: Could not open static file '/opt/SickChill/sickchill/gui/slick/images/network/hbo max.png'
2020-08-13 04:54:36 ERROR :: WEBSERVER-HOME_0 :: Could not open static file '/opt/SickChill/sickchill/gui/slick/images/network/motortrendondemand.png'
BTW: is there a way to permanently acknowledge this message at the top of each page?

When I click on the tick icon on the right, it is hidden, but comes back again on page reload. :disappointed:
"Proper" error is fixed with build 0.0.33 :punch:
Will create a clean install on a new VM to test the "cache conflict" error.
I have SickChill installed on Windows with Python version 3.8.5-amd64.
BTW: is there a way to permanently acknowledge this message at the top of each page?
When I click on the tick icon on the right, it is hidden, but comes back again on page reload. :disappointed:
Shut down, edit config.ini and change developer=1
After #6633 is merged you all will need to delete your cache.db since I changed the structure a little bit to remove the unique index errors.
Cool - done that.
I get an error on restart (not a new one - it happened before the latest update as well)
2020-08-13 08:07:55 Could not open static file %r
I can only assume its related to these log entries - no other mishap in the debug log a all:
2020-08-13 08:07:55 ERROR :: WEBSERVER-HOME_0 :: Could not open static file 'C:\Users\Bia\AppData\Local\Programs\Python\Python38\lib\site-packages\sickchill\gui\slick\images\network\itv encore.png'
2020-08-13 08:07:55 ERROR :: WEBSERVER-HOME_0 :: Could not open static file 'C:\Users\Bia\AppData\Local\Programs\Python\Python38\lib\site-packages\sickchill\gui\slick\images\network\peacock.png'
@DrDrewZA makes sense because those images are not in the repo. You can make a PR or pass me the images for those networks and I can add them. They need to be 64x32
ie: That is not a python3 branch bug, just missing network images.
Updated to build 0.0.35 and removed cache.db, "UNIQUE constraint" errors fix confirmed:+1:
Just noticed when a notification is send, it seems there's a extra "b" in the notification.
b'Test' : b'This is a test notification from SickChill'
b'Finished Download' : b"Marvel's Agents of S.H.I.E.L.D - 7x12x13 - The End is at Hand & What We're Fighting For - 720p HDTV"
@Soebedar I need to know which notifier, some require me to send it as bytes (that's what that b means)
I use Telegram for the notifications.
@DrDrewZA https://github.com/SickChill/SickChill/blob/ce22d8cfa5e35c2cc72ce89f8f86051b131c0d57/sickchill/gui/slick/images/network/peacock.png
@Soebedar https://github.com/SickChill/SickChill/pull/6635/files#diff-69761309394544ac83cabbcb89d8d507L45
I will merge this in a bit
@DrDrewZA makes sense because those images are not in the repo. You can make a PR or pass me the images for those networks and I can add them. They need to be 64x32
ie: That is not a python3 branch bug, just missing network images.
Cool - I'll get the images - do they need to be transparent?
yes they need to be transparent, but I did add the peacock one (they have an svg right on their site)
Wow, lovin' this speed. So much faster than Py2.7 :+1:
Wow, lovin' this speed. So much faster than Py2.7
And I haven't even gotten into many of the optimizations yet that are available to me!
Tested Telegram notifications, fix confirmed.:+1:
So i restored my old database from Python2.7, now it shows Database Version: 44.1 at the configuration page. Restart of SickChill did not upgrade the version.
When i create a clean config, it shows Database Version: 44.4.
Tested Telegram notifications, fix confirmed.:+1:
So i restored my old database from Python2.7, now it shows Database Version: 44.1 at the configuration page. Restart of SickChill did not upgrade the version.
When i create a clean config, it shows Database Version: 44.4.
That's ok
yes they need to be transparent, but I did add the peacock one (they have an svg right on their site)
@miigotu I sent the other network image via email bud - you get it?
Yeah just working one something else rn
Just wanted to add that I switched from Python 2.7/master to Python 3/develop today - everything seems to be working just fine 👍
@miigotu on dockerhub can you please add a develop tag that uses the python3.7 dockerfile ?
@Parlane it already is there docker pull sickchill/sickchill:develop
https://hub.docker.com/repository/docker/sickchill/sickchill/tags?page=1&name=develop
Sickchill part of my docker-compose:
version: "3.3"
services:
sickchill:
container_name: sickchill
image: sickchill/sickchill:develop
volumes:
- $USERDIR/sickchill:/config
- $USERDIR/sickchill:/data
ports:
- 8081:8081
network_mode: host
restart: unless-stopped
(docker builds are pushed every commit to develop)
@miigotu Thanks, for some reason I have been using https://hub.docker.com/r/linuxserver/sickchill
It is the number one result on google for me when searching "docker sickchill"
@Parlane it is a decent alternative, but ours works great also. Ours is built for every PR and branch, theirs you will be limited to master and a broken updater. YMMV
Hi,
just did a checkout of develop to test that python3 version (thanks by the way :+1: ), getting that error :
root@DiskStation:/volume1/@appstore/sickbeard-custom-py3/var/SickBeard# python3 /volume1/@appstore/sickbeard-custom-py3/var/SickBeard/SickChill.py
Traceback (most recent call last):
File "/volume1/@appstore/sickbeard-custom-py3/var/SickBeard/SickChill.py", line 14, in <module>
import sickchill.start
File "/volume1/@appstore/sickbeard-custom-py3/var/SickBeard/sickchill/__init__.py", line 1, in <module>
from .show.indexers import indexer, ShowIndexer
File "/volume1/@appstore/sickbeard-custom-py3/var/SickBeard/sickchill/show/indexers/__init__.py", line 1, in <module>
from .handler import ShowIndexer
File "/volume1/@appstore/sickbeard-custom-py3/var/SickBeard/sickchill/show/indexers/handler.py", line 3, in <module>
from sickchill import logger, settings
File "/volume1/@appstore/sickbeard-custom-py3/var/SickBeard/sickchill/logger.py", line 19, in <module>
from sickchill import settings
File "/volume1/@appstore/sickbeard-custom-py3/var/SickBeard/sickchill/settings.py", line 8, in <module>
import rarfile
File "/volume1/@appstore/sickbeard-custom-py3/var/SickBeard/lib3/rarfile.py", line 946
warnings.warn(f"Windows junction not supported - {info.filename}", UnsupportedWarning)
^
SyntaxError: invalid syntax
I'm using the default python3 shipped with synology which is 3.5.1
If you have an idea ?
If you have an idea ?
Is it a fresh clone, or just a checkout? If a checkout, you'll have .pyc files you need to delete first. something like find -name '*.pyc' to list them all (and then -delete to auto delete once you've checked you're not nuking too many things)
It's a checkout, i'm gonna do a fresh clone that will be better anyway and we'll see :)
Edit : still getting the same error with a fresh clone :(
Did you delete your cache.db too? I think one of the PRs higher up in here means you need to do that.
@aurelien-joly python3.6+ 3.7+
synocommunity has updated the package, but I do not see the new package on the repo site yet. You need to build the newer package or find it somewhere:
https://github.com/SynoCommunity/spksrc/commits/master/spk/python3
Python 3.0-3.5 have been sort of deprecated across the board for most open source.
You could also use the docker plugin in synology to get it that way.
Thks, i will look into that.
Sadly, my synology model is not compatible with docker :( I'm gonna need to do that the old way :)
updated to build 0.0.42 today, noticed two errors.
First one, seems to happen only with the HorribleSubs rss feed:
2020-08-18 11:49:52 DEBUG :: SEARCHQUEUE-DAILY-SEARCH :: [HorribleSubs] :: The data returned from the HorribleSubs feed is incomplete, this result is unusable
2020-08-18 11:49:52 DEBUG :: SEARCHQUEUE-DAILY-SEARCH :: [HorribleSubs] :: The data returned from the HorribleSubs feed is incomplete, this result is unusable
2020-08-18 11:49:52 DEBUG :: SEARCHQUEUE-DAILY-SEARCH :: [HorribleSubs] :: The data returned from the HorribleSubs feed is incomplete, this result is unusable
2020-08-18 11:49:52 DEBUG :: SEARCHQUEUE-DAILY-SEARCH :: [HorribleSubs] :: Error while searching HorribleSubs, skipping: TypeError('cannot unpack non-iterable bool object')
2020-08-18 11:49:52 DEBUG :: SEARCHQUEUE-DAILY-SEARCH :: [HorribleSubs] :: Traceback (most recent call last):
File "C:\Python38\lib\site-packages\sickchill\oldbeard\tvcache.py", line 82, in update_cache
cache_db_con.mass_upsert('results', cl)
File "C:\Python38\lib\site-packages\sickchill\oldbeard\db.py", line 332, in mass_upsert
for values, control in query_list:
TypeError: cannot unpack non-iterable bool object
Second one, logging shows there is a column missing:
2020-08-18 13:09:48 INFO :: FINDPROPERS :: [Nyaa] :: Searching for any new PROPER releases from Nyaa
2020-08-18 13:09:48 ERROR :: FINDPROPERS :: [Nyaa] :: Fatal error executing query with db.action in database C:\Config\sickchill\sickchill.db: no such column: s.name
2020-08-18 13:09:48 INFO :: FINDPROPERS :: [Nyaa] :: If this happened in cache.db, you can safely stop SickChill, and delete the cache.db file without losing any data
2020-08-18 13:09:48 INFO :: FINDPROPERS :: [Nyaa] :: Here is the arguments that were passed to this function (This is what the developers need to know): {'self':, 'query': 'SELECT s.name, e.showid, e.season, e.episode, e.status, e.airdate FROM tv_episodes AS e INNER JOIN tv_shows AS s ON (e.showid = s.indexer_id) WHERE e.airdate >= 737653 AND e.status IN (4,104,204,404,804,1604,3204,6404,12804,25604,51204,102404,204804,409604,819204,1638404,3276804,2,102,202,402,802,1602,3202,6402,12802,25602,51202,102402,204802,409602,819202,1638402,3276802,12,112,212,412,812,1612,3212,6412,12812,25612,51212,102412,204812,409612,819212,1638412,3276812) and e.is_proper = 0', 'args': None, 'fetchall': True, 'fetchone': False, 'sql_results': [], 'attempt': 0, 'e': OperationalError('no such column: s.name'), 'severity': 40}
2020-08-18 13:09:48 DEBUG :: FINDPROPERS :: [Nyaa] :: Traceback (most recent call last):
File "C:\Python38\lib\site-packages\sickchill\oldbeard\properFinder.py", line 68, in _getProperList
curPropers = curProvider.find_propers(search_date)
File "C:\Python38\lib\site-packages\sickchill\providers\torrent\TorrentProvider.py", line 26, in find_propers
sql_results = db.select(
File "C:\Python38\lib\site-packages\sickchill\oldbeard\db.py", line 299, in select
sql_results = self.action(query, args, fetchall=True)
File "C:\Python38\lib\site-packages\sickchill\oldbeard\db.py", line 264, in action
sql_results = self._execute(query, args, fetchall=fetchall, fetchone=fetchone)
File "C:\Python38\lib\site-packages\sickchill\oldbeard\db.py", line 118, in _execute
sql_results = self.connection.cursor().execute(query)
sqlite3.OperationalError: no such column: s.name
2020-08-18 13:09:48 INFO :: FINDPROPERS :: [TokyoToshokan] :: Searching for any new PROPER releases from TokyoToshokan
2020-08-18 13:09:48 ERROR :: FINDPROPERS :: [TokyoToshokan] :: Fatal error executing query with db.action in database C:\Config\sickchill\sickchill.db: no such column: s.name
I have a crash that results in an Inactive (Dead) systemctl status - but the log files show it literally died without logging anything. It was doing a git check at the time - but nothing to indicate whatever actually went wrong.
sickchill.service - SickChill Daemon
Loaded: loaded (/etc/systemd/system/sickchill.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Tue 2020-08-18 02:14:13 BST; 13h ago
Process: 537295 ExecStart=/usr/bin/python3 /opt/sickchill/SickChill.py -q --daemon --nolaunch --datadir=/var/opt/sickchill/ (code=exited, status=0/SUCCESS)
Aug 17 13:58:02 nas systemd[1]: Starting SickChill Daemon...
Aug 17 13:58:03 nas systemd[1]: Started SickChill Daemon.
Aug 18 02:14:13 nas systemd[1]: sickchill.service: Succeeded.
Log file at the point of crash suggests git update check is attempting every second...
2020-08-18 02:14:09 DEBUG :: CHECKVERSION :: Executing git symbolic-ref -q HEAD with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:09 DEBUG :: CHECKVERSION :: git symbolic-ref -q HEAD : returned successful
2020-08-18 02:14:09 DEBUG :: CHECKVERSION :: Executing git rev-parse HEAD with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:09 DEBUG :: CHECKVERSION :: git rev-parse HEAD : returned successful
2020-08-18 02:14:09 DEBUG :: CHECKVERSION :: Executing git config remote.origin.url https://github.com/SickChill/SickChill.git with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:09 DEBUG :: CHECKVERSION :: git config remote.origin.url https://github.com/SickChill/SickChill.git : returned successful
2020-08-18 02:14:09 DEBUG :: CHECKVERSION :: Executing git fetch origin --prune with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:09 INFO :: SEARCHQUEUE-BACKLOG-357864 :: Pushover notification successful.
2020-08-18 02:14:10 DEBUG :: CHECKVERSION :: git fetch origin --prune : returned successful
2020-08-18 02:14:10 DEBUG :: CHECKVERSION :: Executing git branch --set-upstream-to origin/develop with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:10 DEBUG :: CHECKVERSION :: git branch --set-upstream-to origin/develop : returned successful
2020-08-18 02:14:10 DEBUG :: CHECKVERSION :: Executing git rev-parse --verify --quiet "@{upstream}" with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:10 DEBUG :: CHECKVERSION :: git rev-parse --verify --quiet "@{upstream}" : returned successful
2020-08-18 02:14:10 DEBUG :: CHECKVERSION :: Executing git rev-list --left-right "@{upstream}"...HEAD with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:10 DEBUG :: CHECKVERSION :: git rev-list --left-right "@{upstream}"...HEAD : returned successful
2020-08-18 02:14:10 DEBUG :: CHECKVERSION :: cur_commit = 976a467387b97478454c68aeb2836341917d5f75, newest_commit = c2e94bde644078053dd3782afec0d2577f312104, num_commits_behind = 4, num_commits_ahead = 0
2020-08-18 02:14:10 DEBUG :: CHECKVERSION :: Executing git symbolic-ref -q HEAD with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:10 DEBUG :: CHECKVERSION :: git symbolic-ref -q HEAD : returned successful
2020-08-18 02:14:10 DEBUG :: CHECKVERSION :: Executing git rev-parse HEAD with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:10 DEBUG :: CHECKVERSION :: git rev-parse HEAD : returned successful
2020-08-18 02:14:10 DEBUG :: CHECKVERSION :: Executing git config remote.origin.url https://github.com/SickChill/SickChill.git with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:10 DEBUG :: CHECKVERSION :: git config remote.origin.url https://github.com/SickChill/SickChill.git : returned successful
2020-08-18 02:14:10 DEBUG :: CHECKVERSION :: Executing git fetch origin --prune with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:11 DEBUG :: CHECKVERSION :: git fetch origin --prune : returned successful
2020-08-18 02:14:11 DEBUG :: CHECKVERSION :: Executing git branch --set-upstream-to origin/develop with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:11 DEBUG :: CHECKVERSION :: git branch --set-upstream-to origin/develop : returned successful
2020-08-18 02:14:11 DEBUG :: CHECKVERSION :: Executing git rev-parse --verify --quiet "@{upstream}" with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:11 DEBUG :: CHECKVERSION :: git rev-parse --verify --quiet "@{upstream}" : returned successful
2020-08-18 02:14:11 DEBUG :: CHECKVERSION :: Executing git rev-list --left-right "@{upstream}"...HEAD with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:11 DEBUG :: CHECKVERSION :: git rev-list --left-right "@{upstream}"...HEAD : returned successful
2020-08-18 02:14:11 DEBUG :: CHECKVERSION :: cur_commit = 976a467387b97478454c68aeb2836341917d5f75, newest_commit = c2e94bde644078053dd3782afec0d2577f312104, num_commits_behind = 4, num_commits_ahead = 0
2020-08-18 02:14:11 DEBUG :: CHECKVERSION :: Executing git symbolic-ref -q HEAD with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:11 DEBUG :: CHECKVERSION :: git symbolic-ref -q HEAD : returned successful
2020-08-18 02:14:11 DEBUG :: CHECKVERSION :: Executing git rev-parse HEAD with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:11 DEBUG :: CHECKVERSION :: git rev-parse HEAD : returned successful
2020-08-18 02:14:11 DEBUG :: CHECKVERSION :: Executing git config remote.origin.url https://github.com/SickChill/SickChill.git with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:11 DEBUG :: CHECKVERSION :: git config remote.origin.url https://github.com/SickChill/SickChill.git : returned successful
2020-08-18 02:14:11 DEBUG :: CHECKVERSION :: Executing git fetch origin --prune with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: git fetch origin --prune : returned successful
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: Executing git branch --set-upstream-to origin/develop with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: git branch --set-upstream-to origin/develop : returned successful
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: Executing git rev-parse --verify --quiet "@{upstream}" with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: git rev-parse --verify --quiet "@{upstream}" : returned successful
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: Executing git rev-list --left-right "@{upstream}"...HEAD with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: git rev-list --left-right "@{upstream}"...HEAD : returned successful
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: cur_commit = 976a467387b97478454c68aeb2836341917d5f75, newest_commit = c2e94bde644078053dd3782afec0d2577f312104, num_commits_behind = 4, num_commits_ahead = 0
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: Executing git symbolic-ref -q HEAD with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: git symbolic-ref -q HEAD : returned successful
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: Executing git rev-parse HEAD with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: git rev-parse HEAD : returned successful
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: Executing git config remote.origin.url https://github.com/SickChill/SickChill.git with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: git config remote.origin.url https://github.com/SickChill/SickChill.git : returned successful
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: Executing git fetch origin --prune with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: git fetch origin --prune : returned successful
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: Executing git branch --set-upstream-to origin/develop with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: git branch --set-upstream-to origin/develop : returned successful
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: Executing git rev-parse --verify --quiet "@{upstream}" with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: git rev-parse --verify --quiet "@{upstream}" : returned successful
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: Executing git rev-list --left-right "@{upstream}"...HEAD with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: git rev-list --left-right "@{upstream}"...HEAD : returned successful
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: cur_commit = 976a467387b97478454c68aeb2836341917d5f75, newest_commit = c2e94bde644078053dd3782afec0d2577f312104, num_commits_behind = 4, num_commits_ahead = 0
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: Executing git symbolic-ref -q HEAD with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: git symbolic-ref -q HEAD : returned successful
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: Executing git rev-parse HEAD with your shell in /opt/sickchill/sickchill
2020-08-18 02:14:12 DEBUG :: CHECKVERSION :: git rev-parse HEAD : returned successful
And incase this is something trying to happen with a restart, here's my service:
[Unit]
Description=SickChill Daemon
Wants=network-online.target
After=network-online.target
[Service]
User=sickchill
Group=sickchill
Type=forking
GuessMainPID=no
ExecStart=/usr/bin/python3 /opt/sickchill/SickChill.py -q --daemon --nolaunch --datadir=/var/opt/sickchill/
[Install]
WantedBy=multi-user.target
Hi,
installed python 3.6.2 from entware which seems to be the alternate unofficial package manager on synology
It's a fresh install, i just cp the config.ini file from my 2.7 install.
Now i get that error :
root@DiskStation:/volume1/@appstore/sickbeard-custom-py3# python3 SickChill.py
DEPRECATION: The OpenSSL being used by this python install (OpenSSL 1.0.2n 7 Dec 2017) does not meet the minimum supported version (>= OpenSSL 1.1.1) in order to support TLS 1.3 required by Cloudflare, You may encounter an unexpected Captcha or cloudflare 1020 blocks.
2020-08-18 21:54:05 INFO :: MAIN :: Backing up database before upgrade
2020-08-18 21:54:05 INFO :: MAIN :: Proceeding with upgrade
2020-08-18 21:54:05 INFO :: MAIN :: Adding column rls_prefer_words to tvshows
2020-08-18 21:54:05 INFO :: MAIN :: Updated to: 44.4
2020-08-18 21:54:05 INFO :: MAIN :: Backing up database before upgrade
2020-08-18 21:54:05 INFO :: MAIN :: Proceeding with upgrade
2020-08-18 21:54:05 INFO :: MAIN :: Adding column custom_name to tvshows
2020-08-18 21:54:06 INFO :: MAIN :: Updated to: 44.5
Traceback (most recent call last):
File "SickChill.py", line 468, in <module>
SickChill().start()
File "SickChill.py", line 183, in start
sickchill.start.initialize(consoleLogging=self.console_logging)
File "/volume1/@appstore/sickbeard-custom-py3/sickchill/start.py", line 863, in initialize
update_manager.UpdateManager(),
File "/volume1/@appstore/sickbeard-custom-py3/sickchill/update_manager/runner.py", line 28, in __init__
self.updater = GitUpdateManager()
File "/volume1/@appstore/sickbeard-custom-py3/sickchill/update_manager/git.py", line 13, in __init__
self._git_path = self._find_working_git()
File "/volume1/@appstore/sickbeard-custom-py3/sickchill/update_manager/git.py", line 51, in _find_working_git
stdout_, stderr_, exit_status = self._run_git(main_git, test_cmd)
File "/volume1/@appstore/sickbeard-custom-py3/sickchill/update_manager/git.py", line 105, in _run_git
p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True, text=True, cwd=settings.PROG_DIR)
TypeError: __init__() got an unexpected keyword argument 'text'
p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True, text=True, cwd=settings.PROG_DIR)TypeError: __init__() got an unexpected keyword argument 'text'`
@aurelien-joly
Seems that parameter was added in 3.7 -.- get 3.7+
Also, entware is not for Synology. There is a python 3.7 package available for synocommunity that just is not on their site yet.
EDIT: https://synocommunity.com/package/python3 is now v3.7.7-12
The other 2 questions I will look into when I get on my laptop later.
updated to build 0.0.42 today, noticed two errors.
First one, seems to happen only with the HorribleSubs rss feed:
cache_db_con.mass_upsert('results', cl)
File "C:\Python38\lib\site-packages\sickchill\oldbeard\db.py", line 332, in mass_upsert
for values, control in query_list:
TypeError: cannot unpack non-iterable bool objectSecond one, logging shows there is a column missing:
2020-08-18 13:09:48 ERROR :: FINDPROPERS :: [TokyoToshokan] :: Fatal error executing query with db.action in database C:\Config\sickchill\sickchill.db: no such column: s.name
@Soebedar
Both should be fixed in 0.0.44
@lgladdy I need you to try again with the latest version, and if it still happens I need more information. This doesn't happen here on python 3.7 or 3.8. Python 3.7 is minimum required now.
@lgladdy I need you to try again with the latest version, and if it still happens I need more information. This doesn't happen here on python 3.7 or 3.8. Python 3.7 is minimum required now.
Updated and re-enabled auto updating, so I'll let you know! (Turning off auto updating fixed it in the previous version) I'm on Python 3.8.2
Reinstalled from scratch! Seems to work well and indeed much faster, except I'm missing qBitorrent api v2 in the search settings.
Reinstalled from scratch! Seems to work well and indeed much faster, except I'm missing qBitorrent api v2 in the search settings.
There is only one qbittorent and one rtorrent client now. They are both the new API versions.
I've hidden a lot of comments as outdated/resolved, even my own. Don't take offense I'm just trying to keep track of remaining issues and keep it all in this thread and still be able to load the issue on my phone app lol
p = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True, text=True, cwd=settings.PROG_DIR)TypeError: init() got an unexpected keyword argument 'text'`
@aurelien-joly
Seems that parameter was added in 3.7 -.- get 3.7+Also, entware is not for Synology. There is a python 3.7 package available for synocommunity that just is not on their site yet.
EDIT: https://synocommunity.com/package/python3 is now v3.7.7-12
I used entware-ng.
I installed python 3.7.7 manually (still not poppin in the syno pkg interface ... ), it starts ant it works.
Damn, it is so fast and fluid, before the app was having latency issues on my 415play but now the response time is almost immediate (and it's doing a full update of my shows while i'm playing with it).
Thanks @miigotu for all the hard work :)
Reinstalled from scratch! Seems to work well and indeed much faster, except I'm missing qBitorrent api v2 in the search settings.
There is only one qbittorent and one rtorrent client now. They are both the new API versions.
I'm still getting the "authentication failure" issue
@HazMatt69 I will test it here locally later. It worked when I did the clients last week.
Got an error when sickchill tried to process a movie in my extracted directory:
2020-08-21 13:23:35 INFO :: POSTPROCESSOR-AUTO :: This show isn't in your list, you need to add it to SR before post-processing an episode
AA TypeError: expected string or bytes-like object
AA return _compile(pattern, flags).match(string)
AA File "/usr/local/lib/python3.7/re.py", line 175, in match
AA test = re.match(r'^(.+?)[. -]+\(\d{4}\)?$', name)
AA File "/app/sickchill/sickchill/show/indexers/tvdb.py", line 119, in search
AA result = target(*args, **kwargs)
AA File "/app/sickchill/sickchill/show/indexers/wrappers.py", line 20, in wrapper
AA result = self._series(self.search(name, language)[0]['id'])
AA File "/app/sickchill/sickchill/show/indexers/tvdb.py", line 63, in get_series_by_name
AA result = self.indexers[i].get_series_by_name(n, indexerid, language)
AA File "/app/sickchill/sickchill/show/indexers/handler.py", line 114, in search_indexers_for_series_id
AA settings.showList, sickchill.indexer.search_indexers_for_series_id(name=full_sanitizeSceneName(name))[1].id)
AA File "/app/sickchill/sickchill/oldbeard/helpers.py", line 944, in get_show
AA TypeError: expected string or bytes-like object
AA return _compile(pattern, flags).match(string)
AA File "/usr/local/lib/python3.7/re.py", line 175, in match
AA test = re.match(r'^(.+?)[. -]+\(\d{4}\)?$', name)
AA File "/app/sickchill/sickchill/show/indexers/tvdb.py", line 119, in search
AA result = target(*args, **kwargs)
AA File "/app/sickchill/sickchill/show/indexers/wrappers.py", line 20, in wrapper
AA result = self._series(self.search(name, language)[0]['id'])
AA File "/app/sickchill/sickchill/show/indexers/tvdb.py", line 63, in get_series_by_name
AA result = self.indexers[i].get_series_by_name(n, indexerid, language)
AA File "/app/sickchill/sickchill/show/indexers/handler.py", line 114, in search_indexers_for_series_id
AA settings.showList, sickchill.indexer.search_indexers_for_series_id(name=full_sanitizeSceneName(name))[1].id)
AA File "/app/sickchill/sickchill/oldbeard/helpers.py", line 944, in get_show
AA TypeError: expected string or bytes-like object
AA return _compile(pattern, flags).match(string)
AA File "/usr/local/lib/python3.7/re.py", line 175, in match
AA test = re.match(r'^(.+?)[. -]+\(\d{4}\)?$', name)
AA File "/app/sickchill/sickchill/show/indexers/tvdb.py", line 119, in search
AA result = target(*args, **kwargs)
AA File "/app/sickchill/sickchill/show/indexers/wrappers.py", line 20, in wrapper
AA result = self._series(self.search(name, language)[0]['id'])
AA File "/app/sickchill/sickchill/show/indexers/tvdb.py", line 63, in get_series_by_name
AA result = self.indexers[i].get_series_by_name(n, indexerid, language)
AA File "/app/sickchill/sickchill/show/indexers/handler.py", line 114, in search_indexers_for_series_id
AA settings.showList, sickchill.indexer.search_indexers_for_series_id(name=full_sanitizeSceneName(name))[1].id)
AA File "/app/sickchill/sickchill/oldbeard/helpers.py", line 944, in get_show
2020-08-21 13:23:35 INFO :: POSTPROCESSOR-AUTO :: Processing /downloads/extracted/Death.Race.2000.1975.1080p.BluRay.H264.AAC-RARBG.mp4 (None)
@Parlane sort of to be expected, SC cannot tell if a file is a movie, it just knows it can't parse the title. This is why we have separate download locations for movies and shows, you set that in the settings.
@miigotu I have never seen a 50 line stack trace because of it before. And I use a script in deluge to auto extract and create a hard link to the video files inside the extracted directory that both sickchill and radarr look in..
@miigotu I have never seen a 50 line stack trace because of it before. And I use a script in deluge to auto extract and create a hard link to the video files inside the extracted directory that both sickchill and radarr look in..
Sure, it definitely should be handled better. I'll see when I can get this cleaned up. 😎
I think I saw this mentioned before but when there are warnings it is not possible to clear them using the clear warnings button.
The reason being is that the clear warnings button points to:
http://192.168.1.100:1280/errorlogs/clearerrors/?level=
Note the level is missing, instead I visited http://192.168.1.100:1280/errorlogs/clearerrors/?level=30 manually and that cleared the warnings.
@miigotu not sure if you want the pip installed bugs in this topic too? Please advise.
After using the flash new pypi method, everything installed correctly on my QNAP via Entware/OpenWRT into a venv environment. 👍🏽
But when attempting to launch:
(tester) [/share/Public] # SickChill.py --help
Traceback (most recent call last):
File "/share/MD0_DATA/Public/tester/bin/SickChill.py", line 14, in <module>
import sickchill.start
File "/share/MD0_DATA/Public/tester/lib/python3.8/site-packages/sickchill/__init__.py", line 1, in <module>
from .show.indexers import indexer, ShowIndexer
File "/share/MD0_DATA/Public/tester/lib/python3.8/site-packages/sickchill/show/indexers/__init__.py", line 1, in <module>
from .handler import ShowIndexer
File "/share/MD0_DATA/Public/tester/lib/python3.8/site-packages/sickchill/show/indexers/handler.py", line 5, in <module>
from sickchill.tv import Show, TVEpisode
File "/share/MD0_DATA/Public/tester/lib/python3.8/site-packages/sickchill/tv.py", line 21, in <module>
import sickchill.oldbeard.providers
File "/share/MD0_DATA/Public/tester/lib/python3.8/site-packages/sickchill/oldbeard/providers/__init__.py", line 6, in <module>
from sickchill.oldbeard.providers import (abnormal, alpharatio, archetorrent, binsearch, bitcannon, bjshare, btn, cpasbien, danishbits, demonoid, elitetorrent,
File "/share/MD0_DATA/Public/tester/lib/python3.8/site-packages/sickchill/oldbeard/providers/abnormal.py", line 8, in <module>
from sickchill.oldbeard import tvcache
File "/share/MD0_DATA/Public/tester/lib/python3.8/site-packages/sickchill/oldbeard/tvcache.py", line 13, in <module>
from .rssfeeds import getFeed
File "/share/MD0_DATA/Public/tester/lib/python3.8/site-packages/sickchill/oldbeard/rssfeeds.py", line 1, in <module>
from feedparser import parse
File "/share/MD0_DATA/Public/tester/lib/python3.8/site-packages/feedparser.py", line 316
raise KeyError, "object doesn't have key 'category'"
^
SyntaxError: invalid syntax
Not sure if this is a SickChill issue or a feedparser.py issue.
@OneCDOnly Im pretty sure that is because I do not specify version numbers of requirements yet, and you do not have an up to date feedparser.
grep __version__ /share/MD0_DATA/Public/tester/lib/python3.8/site-packages/feedparser.py
You should have 5.2.1
Strange, my v5.2.1 has:
raise KeyError("object doesn't have key 'category'")
and on their git: https://github.com/kurtmckee/feedparser/blob/master/feedparser/feedparser.py#L316 has what you have (also 5.2.1)
Did you pip3 or just pip?
That line was changed here: https://github.com/kurtmckee/feedparser/commit/ad0b0eb7fe7ccc887f57f4d3b09221e8a6743586#diff-06a0ec68c1b195ec7d78bf910e75b750
They have their releases buggered up.
You should have 5.2.1
Yup, that's the one that's installed.
Did you pip3 or just pip?
pip3
I just tested with both py37 and py38 and got the python3 version of 5.2.1

Did you install any other applications in that venv? They may have installed an editable package from feedparser git
https://github.com/kurtmckee/feedparser/issues/136
My process was:
opkg install python3python3 -m venv --without-pip SickChill. SickChill/bin/activatecurl https://bootstrap.pypa.io/get-pip.py | python3pip3 install sickchillSickChill.py --helpI had to install pip separately due to an error I was getting when creating the venv environment.
It was something like this:
Error: Command '['/share/MD0_DATA/Public/tester/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1
@OneCDOnly curl https://bootstrap.pypa.io/get-pip.py | python3 is wrong, pip comes with python3 automatically. Just python3 -m pip install -U pip to update pip
You are mistakenly installing python2.7 pip into pip3
Also, --without-pip is not what you want
opkg install python3
python3.8 -m pip install -U pip
python3.8 -m pip install virtualenv
mkvirtualenv -p python3.8 sickchill
pip install sickchill
SickChill.py --help
@OneCDOnly
curl https://bootstrap.pypa.io/get-pip.py | python3is wrong, pip comes with python3 automatically. Justpython3 -m pip install -U pipto update pip
Yup, I added to my last post. The problem I had was like this one: https://stackoverflow.com/q/26215790/14072675
Check my edit ^
Ah, I learn something new about Python every time I touch it.
OK, I'll power-up my old NAS and try again. Thanks! 👍🏽
@Parlane both of those issues fixed in 0.0.45
@HazMatt69


@miigotu
[/share/Public] # opkg install python3
Installing python3 (3.8.3-2) to root...
Downloading http://bin.entware.net/x64-k3.2/python3_3.8.3-2_x64-3.2.ipk
Installing zlib (1.2.11-3) to root...
Downloading http://bin.entware.net/x64-k3.2/zlib_1.2.11-3_x64-3.2.ipk
Installing python3-base (3.8.3-2) to root...
Downloading http://bin.entware.net/x64-k3.2/python3-base_3.8.3-2_x64-3.2.ipk
Installing libffi (3.3-2) to root...
Downloading http://bin.entware.net/x64-k3.2/libffi_3.3-2_x64-3.2.ipk
Installing libbz2 (1.0.8-1) to root...
Downloading http://bin.entware.net/x64-k3.2/libbz2_1.0.8-1_x64-3.2.ipk
Installing libuuid (2.35.1-2) to root...
Downloading http://bin.entware.net/x64-k3.2/libuuid_2.35.1-2_x64-3.2.ipk
Installing libtirpc (1.2.6-1) to root...
Downloading http://bin.entware.net/x64-k3.2/libtirpc_1.2.6-1_x64-3.2.ipk
Installing python3-light (3.8.3-2) to root...
Downloading http://bin.entware.net/x64-k3.2/python3-light_3.8.3-2_x64-3.2.ipk
Installing python3-unittest (3.8.3-2) to root...
Downloading http://bin.entware.net/x64-k3.2/python3-unittest_3.8.3-2_x64-3.2.ipk
Installing libncursesw (6.2-1) to root...
Downloading http://bin.entware.net/x64-k3.2/libncursesw_6.2-1_x64-3.2.ipk
Installing libncurses (6.2-1) to root...
Downloading http://bin.entware.net/x64-k3.2/libncurses_6.2-1_x64-3.2.ipk
Installing python3-ncurses (3.8.3-2) to root...
Downloading http://bin.entware.net/x64-k3.2/python3-ncurses_3.8.3-2_x64-3.2.ipk
Installing python3-ctypes (3.8.3-2) to root...
Downloading http://bin.entware.net/x64-k3.2/python3-ctypes_3.8.3-2_x64-3.2.ipk
Installing python3-pydoc (3.8.3-2) to root...
Downloading http://bin.entware.net/x64-k3.2/python3-pydoc_3.8.3-2_x64-3.2.ipk
Installing python3-logging (3.8.3-2) to root...
Downloading http://bin.entware.net/x64-k3.2/python3-logging_3.8.3-2_x64-3.2.ipk
Installing python3-decimal (3.8.3-2) to root...
Downloading http://bin.entware.net/x64-k3.2/python3-decimal_3.8.3-2_x64-3.2.ipk
Installing python3-multiprocessing (3.8.3-2) to root...
Downloading http://bin.entware.net/x64-k3.2/python3-multiprocessing_3.8.3-2_x64-3.2.ipk
Installing python3-codecs (3.8.3-2) to root...
Downloading http://bin.entware.net/x64-k3.2/python3-codecs_3.8.3-2_x64-3.2.ipk
Installing libgdbm (1.18.1-1) to root...
Downloading http://bin.entware.net/x64-k3.2/libgdbm_1.18.1-1_x64-3.2.ipk
Installing python3-gdbm (3.8.3-2) to root...
Downloading http://bin.entware.net/x64-k3.2/python3-gdbm_3.8.3-2_x64-3.2.ipk
Installing libsqlite3 (3320100-1) to root...
Downloading http://bin.entware.net/x64-k3.2/libsqlite3_3320100-1_x64-3.2.ipk
Installing python3-sqlite3 (3.8.3-2) to root...
Downloading http://bin.entware.net/x64-k3.2/python3-sqlite3_3.8.3-2_x64-3.2.ipk
Installing python3-email (3.8.3-2) to root...
Downloading http://bin.entware.net/x64-k3.2/python3-email_3.8.3-2_x64-3.2.ipk
Installing python3-urllib (3.8.3-2) to root...
Downloading http://bin.entware.net/x64-k3.2/python3-urllib_3.8.3-2_x64-3.2.ipk
Installing libexpat (2.2.9-1) to root...
Downloading http://bin.entware.net/x64-k3.2/libexpat_2.2.9-1_x64-3.2.ipk
Installing python3-xml (3.8.3-2) to root...
Downloading http://bin.entware.net/x64-k3.2/python3-xml_3.8.3-2_x64-3.2.ipk
Installing python3-distutils (3.8.3-2) to root...
Downloading http://bin.entware.net/x64-k3.2/python3-distutils_3.8.3-2_x64-3.2.ipk
Installing libopenssl (1.1.1g-1) to root...
Downloading http://bin.entware.net/x64-k3.2/libopenssl_1.1.1g-1_x64-3.2.ipk
Installing ca-certificates (20200601-1) to root...
Downloading http://bin.entware.net/x64-k3.2/ca-certificates_20200601-1_all.ipk
Installing python3-openssl (3.8.3-2) to root...
Downloading http://bin.entware.net/x64-k3.2/python3-openssl_3.8.3-2_x64-3.2.ipk
Installing python3-cgi (3.8.3-2) to root...
Downloading http://bin.entware.net/x64-k3.2/python3-cgi_3.8.3-2_x64-3.2.ipk
Installing python3-cgitb (3.8.3-2) to root...
Downloading http://bin.entware.net/x64-k3.2/python3-cgitb_3.8.3-2_x64-3.2.ipk
Installing libxml2 (2.9.10-1) to root...
Downloading http://bin.entware.net/x64-k3.2/libxml2_2.9.10-1_x64-3.2.ipk
Installing libdb47 (4.7.25.4.NC-5) to root...
Downloading http://bin.entware.net/x64-k3.2/libdb47_4.7.25.4.NC-5_x64-3.2.ipk
Installing python3-dbm (3.8.3-2) to root...
Downloading http://bin.entware.net/x64-k3.2/python3-dbm_3.8.3-2_x64-3.2.ipk
Installing liblzma (5.2.5-1) to root...
Downloading http://bin.entware.net/x64-k3.2/liblzma_5.2.5-1_x64-3.2.ipk
Installing python3-lzma (3.8.3-2) to root...
Downloading http://bin.entware.net/x64-k3.2/python3-lzma_3.8.3-2_x64-3.2.ipk
Installing python3-asyncio (3.8.3-2) to root...
Downloading http://bin.entware.net/x64-k3.2/python3-asyncio_3.8.3-2_x64-3.2.ipk
Configuring zlib.
Configuring python3-base.
Configuring libffi.
Configuring libbz2.
Configuring libuuid.
Configuring libtirpc.
Configuring python3-light.
Configuring python3-email.
Configuring python3-urllib.
Configuring python3-pydoc.
Configuring liblzma.
Configuring python3-cgi.
Configuring python3-cgitb.
Configuring python3-decimal.
Configuring libexpat.
Configuring python3-xml.
Configuring libxml2.
Configuring libncursesw.
Configuring libncurses.
Configuring python3-ncurses.
Configuring python3-distutils.
Configuring python3-codecs.
Configuring python3-multiprocessing.
Configuring python3-unittest.
Configuring python3-ctypes.
Configuring python3-logging.
Configuring libgdbm.
Configuring python3-gdbm.
Configuring libsqlite3.
Configuring python3-sqlite3.
Configuring libopenssl.
Configuring ca-certificates.
Configuring python3-openssl.
Configuring libdb47.
Configuring python3-dbm.
Configuring python3-lzma.
Configuring python3-asyncio.
Configuring python3.
[/share/Public] # python3.8 -m pip install -U pip
/opt/bin/python3.8: No module named pip
md5-0e4b3cf4bfc09206a984faed65778f1a
[/share/Public] # opkg install python3-pip
Installing python3-pip (19.2.3-4) to root...
Downloading http://bin.entware.net/x64-k3.2/python3-pip_19.2.3-4_x64-3.2.ipk
Installing python3-pkg-resources (41.2.0-3) to root...
Downloading http://bin.entware.net/x64-k3.2/python3-pkg-resources_41.2.0-3_x64-3.2.ipk
Installing python3-setuptools (41.2.0-3) to root...
Downloading http://bin.entware.net/x64-k3.2/python3-setuptools_41.2.0-3_x64-3.2.ipk
Installing python-pip-conf (0.1-1) to root...
Downloading http://bin.entware.net/x64-k3.2/python-pip-conf_0.1-1_x64-3.2.ipk
Configuring python-pip-conf.
Configuring python3-pkg-resources.
Configuring python3-setuptools.
Configuring python3-pip.
md5-0e4b3cf4bfc09206a984faed65778f1a
[/share/Public] # python3.8 -m pip install -U pip
Collecting pip
Downloading https://files.pythonhosted.org/packages/5a/4a/39400ff9b36e719bdf8f31c99fe1fa7842a42fa77432e584f707a5080063/pip-20.2.2-py2.py3-none-any.whl (1.5MB)
|████████████████████████████████| 1.5MB 2.4MB/s
Installing collected packages: pip
Found existing installation: pip 19.2.3
Uninstalling pip-19.2.3:
Successfully uninstalled pip-19.2.3
Successfully installed pip-20.2.2
md5-0e4b3cf4bfc09206a984faed65778f1a
[/share/Public] # python3.8 -m pip install virtualenv
Collecting virtualenv
Downloading virtualenv-20.0.31-py2.py3-none-any.whl (4.9 MB)
|████████████████████████████████| 4.9 MB 3.0 MB/s
Collecting appdirs<2,>=1.4.3
Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Collecting distlib<1,>=0.3.1
Downloading distlib-0.3.1-py2.py3-none-any.whl (335 kB)
|████████████████████████████████| 335 kB 3.2 MB/s
Collecting filelock<4,>=3.0.0
Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB)
Collecting six<2,>=1.9.0
Downloading six-1.15.0-py2.py3-none-any.whl (10 kB)
Installing collected packages: appdirs, distlib, filelock, six, virtualenv
Successfully installed appdirs-1.4.4 distlib-0.3.1 filelock-3.0.12 six-1.15.0 virtualenv-20.0.31
md5-0e4b3cf4bfc09206a984faed65778f1a
[/share/Public] # mkvirtualenv
-sh: mkvirtualenv: command not found
md5-0e4b3cf4bfc09206a984faed65778f1a
[/share/Public] # python3.8 -m mkvirtualenv
/opt/bin/python3.8: No module named mkvirtualenv
md5-0e4b3cf4bfc09206a984faed65778f1a
[/share/Public] # python3.8 -m virtualenv
usage: virtualenv [--version] [--with-traceback] [-v | -q] [--app-data APP_DATA] [--reset-app-data] [--upgrade-embed-wheels] [--discovery {builtin}] [-p py] [--creator {builtin,cpython3-posix,venv}] [--seeder {app-data,pip}] [--no-seed]
[--activators comma_sep_list] [--clear] [--system-site-packages] [--symlinks | --copies] [--no-download | --download] [--extra-search-dir d [d ...]] [--pip version] [--setuptools version] [--wheel version] [--no-pip]
[--no-setuptools] [--no-wheel] [--no-periodic-update] [--symlink-app-data] [--prompt prompt] [-h]
dest
virtualenv: error: the following arguments are required: dest
SystemExit: 2
md5-0e4b3cf4bfc09206a984faed65778f1a
[/share/Public] # python3.8 -m virtualenv -p python3.8 sickchill
created virtual environment CPython3.8.3.final.0-64 in 3823ms
creator CPython3Posix(dest=/share/MD0_DATA/Public/sickchill, clear=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/root/.local/share/virtualenv)
added seed packages: pip==20.2.2, setuptools==49.6.0, wheel==0.35.1
activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
md5-0e4b3cf4bfc09206a984faed65778f1a
[/share/Public] # . sickchill/bin/activate
(sickchill) [/share/Public] #
... and then I attempted to install SickChill via pip install sickchill, but forgot to specify a --cache-dir, so my NAS has crashed with drive-full errors. 😞
I'll be back soon with the thrilling conclusion.
Uh-oh, just noticed this too: app_data_dir=/root/.local/share/virtualenv
That'll need changing. Can't write anything into /root.
... and back. Reinstalled everything from scratch again, as I need to document this process.
Anyway, let's rejoin here:
[/share/Public] # python3.8 -m virtualenv -p python3.8 sickchill --app-data /share/Public/config
created virtual environment CPython3.8.3.final.0-64 in 3763ms
creator CPython3Posix(dest=/share/MD0_DATA/Public/sickchill, clear=False, global=False)
seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/share/MD0_DATA/Public/config)
added seed packages: pip==20.2.2, setuptools==49.6.0, wheel==0.35.1
activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator
(sickchill) [/share/Public] # pip install sickchill --cache-dir /share/Public/pip.cache/
Collecting sickchill
Downloading sickchill-0.0.45-py3-none-any.whl (15.6 MB)
|████████████████████████████████| 15.6 MB 2.7 MB/s
Collecting timeago
Downloading timeago-1.0.14.tar.gz (24 kB)
Collecting PySocks
Downloading PySocks-1.7.1-py3-none-any.whl (16 kB)
...
< insert several hundred lines of good blah here>
...
Successfully built timeago tvdbsimple bencodepy pyaes feedparser pynma tornado twilio enzyme tus.py configobj pymediainfo putio.py xmltodict pyjsparser dogpile.cache babelfish guessit pysrt future trans rebulk wrapt
Installing collected packages: timeago, PySocks, certifi, urllib3, idna, chardet, requests, tvdbsimple, xmltodict, beekeeper, httplib2, six, webencodings, html5lib, pycparser, cffi, cryptography, pyOpenSSL, ifaddr, pytz, tzlocal, pyjsparser, Js2Py, python3-fanart, bencodepy, rarfile, decorator, pbr, stevedore, dogpile.cache, soupsieve, beautifulsoup4, babelfish, rebulk, python-dateutil, guessit, pysrt, enzyme, click, appdirs, subliminal, pyjwt, wrapt, deprecated, PyGithub, pyaes, new-rtorrent-python, MarkupSafe, Mako, send2trash, feedparser, pynma, deluge-client, gntp, validators, pyparsing, packaging, ipaddress, tornado, twilio, enum34, attrdict, qbittorrent-api, jsonrpclib-pelix, msgpack, CacheControl, tmdbsimple, imagesize, kodipydent, win-inet-pton, tus.py, configobj, Unidecode, pymediainfo, future, oauthlib, requests-oauthlib, python-twitter, requests-toolbelt, cloudscraper, backports-abc, putio.py, markdown2, boto, diskcache, trans, attrs, wheel, imdbpie, profilehooks, sickchill
Attempting uninstall: wheel
Found existing installation: wheel 0.35.1
Uninstalling wheel-0.35.1:
Successfully uninstalled wheel-0.35.1
Successfully installed CacheControl-0.12.6 Js2Py-0.70 Mako-1.1.3 MarkupSafe-1.1.1 PyGithub-1.53 PySocks-1.7.1 Unidecode-1.1.1 appdirs-1.4.4 attrdict-2.0.1 attrs-18.2.0 babelfish-0.5.5 backports-abc-0.5 beautifulsoup4-4.9.1 beekeeper-0.9.2 bencodepy-0.9.5 boto-2.48.0 certifi-2020.6.20 cffi-1.14.2 chardet-3.0.4 click-7.1.2 cloudscraper-1.2.46 configobj-5.0.6 cryptography-3.0 decorator-4.4.2 deluge-client-1.9.0 deprecated-1.2.10 diskcache-2.9.0 dogpile.cache-1.0.2 enum34-1.1.10 enzyme-0.4.1 feedparser-5.2.1 future-0.18.2 gntp-1.0.3 guessit-3.1.1 html5lib-1.1 httplib2-0.18.1 idna-2.10 ifaddr-0.1.7 imagesize-1.2.0 imdbpie-5.6.4 ipaddress-1.0.23 jsonrpclib-pelix-0.4.1 kodipydent-0.3.1 markdown2-2.3.9 msgpack-1.0.0 new-rtorrent-python-1.0.0a0 oauthlib-3.1.0 packaging-20.4 pbr-5.4.5 profilehooks-1.12.0 putio.py-8.6.2 pyOpenSSL-19.1.0 pyaes-1.6.1 pycparser-2.20 pyjsparser-2.7.1 pyjwt-1.7.1 pymediainfo-4.2.1 pynma-1.0 pyparsing-2.4.7 pysrt-1.1.2 python-dateutil-2.8.1 python-twitter-3.5 python3-fanart-2.0.0 pytz-2020.1 qbittorrent-api-2020.8.8 rarfile-4.0 rebulk-2.0.1 requests-2.24.0 requests-oauthlib-1.3.0 requests-toolbelt-0.9.1 send2trash-1.5.0 sickchill-0.0.45 six-1.15.0 soupsieve-2.0.1 stevedore-3.2.0 subliminal-2.1.0 timeago-1.0.14 tmdbsimple-2.6.6 tornado-6.0.4 trans-2.1.0 tus.py-1.3.4 tvdbsimple-1.0.6 twilio-6.45.0 tzlocal-2.1 urllib3-1.25.10 validators-0.18.0 webencodings-0.5.1 wheel-0.30.0 win-inet-pton-1.1.0 wrapt-1.12.1 xmltodict-0.10.1
md5-0e4b3cf4bfc09206a984faed65778f1a
(sickchill) [/share/Public] # SickChill.py --help
Traceback (most recent call last):
File "/share/MD0_DATA/Public/sickchill/bin/SickChill.py", line 14, in <module>
import sickchill.start
File "/share/MD0_DATA/Public/sickchill/lib/python3.8/site-packages/sickchill/__init__.py", line 1, in <module>
from .show.indexers import indexer, ShowIndexer
File "/share/MD0_DATA/Public/sickchill/lib/python3.8/site-packages/sickchill/show/indexers/__init__.py", line 1, in <module>
from .handler import ShowIndexer
File "/share/MD0_DATA/Public/sickchill/lib/python3.8/site-packages/sickchill/show/indexers/handler.py", line 5, in <module>
from sickchill.tv import Show, TVEpisode
File "/share/MD0_DATA/Public/sickchill/lib/python3.8/site-packages/sickchill/tv.py", line 21, in <module>
import sickchill.oldbeard.providers
File "/share/MD0_DATA/Public/sickchill/lib/python3.8/site-packages/sickchill/oldbeard/providers/__init__.py", line 6, in <module>
from sickchill.oldbeard.providers import (abnormal, alpharatio, archetorrent, binsearch, bitcannon, bjshare, btn, cpasbien, danishbits, demonoid, elitetorrent,
File "/share/MD0_DATA/Public/sickchill/lib/python3.8/site-packages/sickchill/oldbeard/providers/abnormal.py", line 8, in <module>
from sickchill.oldbeard import tvcache
File "/share/MD0_DATA/Public/sickchill/lib/python3.8/site-packages/sickchill/oldbeard/tvcache.py", line 13, in <module>
from .rssfeeds import getFeed
File "/share/MD0_DATA/Public/sickchill/lib/python3.8/site-packages/sickchill/oldbeard/rssfeeds.py", line 1, in <module>
from feedparser import parse
File "/share/MD0_DATA/Public/sickchill/lib/python3.8/site-packages/feedparser.py", line 316
raise KeyError, "object doesn't have key 'category'"
^
SyntaxError: invalid syntax
Dammit. 😞
(sickchill) [/share/Public] # pip install sickchill --cache-dir /share/Public/pip.cache/
to
python3.8 -m pip install --no-cache-dir sickchill
But you need to recreate the virtualenv, because that one already has the wrong feedparser and it will show as requirement already installed.
But you need to recreate the virtualenv, because that one already has the wrong feedparser and it will show as requirement already installed.
Yep, did that. The whole lot was from scratch. Looks like it's downloaded the same broken version of feedparser as last time.
Your pip is still the wrong version then, getpip screwed your installation.
@HazMatt69
@miigotu


@miigotu File logging is also different:

I think I saw this mentioned before but when there are warnings it is not possible to clear them using the clear warnings button.
The reason being is that the clear warnings button points to:
http://192.168.1.100:1280/errorlogs/clearerrors/?level=Note the level is missing, instead I visited http://192.168.1.100:1280/errorlogs/clearerrors/?level=30 manually and that cleared the warnings.
Same thing happening when you want to update, pid is missing in link:


@HazMatt69 Both of those are already fixed (the update and clear warnings/errors links, and the qbittorrent error now also)
File logging is not broken here, those are set to only log on critical errors.
@miigotu Updated to latest version but still getting Authentication failed

@miigotu Same error on the newest build, once a update to develop is available, CHECKVERSION repeats the same check forever to logs until the process "dies"
The following block just repeats forever.
2020-08-21 12:11:50 DEBUG :: CHECKVERSION :: Executing git config remote.origin.url https://github.com/SickChill/SickChill.git with your shell in /opt/sickchill/sickchill
2020-08-21 12:11:50 DEBUG :: CHECKVERSION :: git config remote.origin.url https://github.com/SickChill/SickChill.git : returned successful
2020-08-21 12:11:50 DEBUG :: CHECKVERSION :: Executing git fetch origin --prune with your shell in /opt/sickchill/sickchill
2020-08-21 12:11:51 DEBUG :: CHECKVERSION :: git fetch origin --prune : returned successful
2020-08-21 12:11:51 DEBUG :: CHECKVERSION :: Executing git branch --set-upstream-to origin/develop with your shell in /opt/sickchill/sickchill
2020-08-21 12:11:51 DEBUG :: CHECKVERSION :: git branch --set-upstream-to origin/develop : returned successful
2020-08-21 12:11:51 DEBUG :: CHECKVERSION :: Executing git rev-parse --verify --quiet "@{upstream}" with your shell in /opt/sickchill/sickchill
2020-08-21 12:11:51 DEBUG :: CHECKVERSION :: git rev-parse --verify --quiet "@{upstream}" : returned successful
2020-08-21 12:11:51 DEBUG :: CHECKVERSION :: Executing git rev-list --left-right "@{upstream}"...HEAD with your shell in /opt/sickchill/sickchill
2020-08-21 12:11:51 DEBUG :: CHECKVERSION :: git rev-list --left-right "@{upstream}"...HEAD : returned successful
2020-08-21 12:11:51 DEBUG :: CHECKVERSION :: cur_commit = 0df16a92466be543d8ac434bfedbdae3e456782f, newest_commit = 3c9f5b4d745609144129ffa1ee6cac0e77c77f6e, num_commits_behind = 12, num_commits_ahead = 0
2020-08-21 12:11:51 DEBUG :: CHECKVERSION :: Executing git symbolic-ref -q HEAD with your shell in /opt/sickchill/sickchill
2020-08-21 12:11:51 DEBUG :: CHECKVERSION :: git symbolic-ref -q HEAD : returned successful
2020-08-21 12:11:51 DEBUG :: CHECKVERSION :: Executing git rev-parse HEAD with your shell in /opt/sickchill/sickchill
2020-08-21 12:11:51 DEBUG :: CHECKVERSION :: git rev-parse HEAD : returned successful
Edit 19:51 BST: So, I added a whole bunch more debugging to update_manager/runner.py and update_manager/git.py and there is some recursion happening. Adding a traceback.print_stack() to def update() in runner.py shows that it's continually looping.
I think the bug might be simply: self.update() should be self.updater.update(). PR here: https://github.com/SickChill/SickChill/pull/6666
@OneCDOnly we should probably clean all those comments up, we can discuss that in discord, slack, telegram, or IRC (links in the tools menu and the help&info page for them and the invite to slack)
@miigotu no worries, I've documented the steps I need (thank you). 🤓
@miigotu I've caught up on my other projects, so I revisited SickChill again today. Specifically, the alive column being all-red.
After lots of testing running from both the develop branch source and the pip installed SickChill, I've found no matter which unit I run it on (NAS, workstation and laptop), I only get a red 'alive' column when I launch in --daemon mode - every time. But I can get an all-green alive column - if I launch it in the foreground.
Any thoughts?
@miigotu I've caught up on my other projects, so I revisited SickChill again today. Specifically, the
alivecolumn being all-red.After lots of testing running from both the develop branch source and the
pipinstalled SickChill, I've found no matter which unit I run it on (NAS, workstation and laptop), I only get a red 'alive' column when I launch in--daemonmode - every time. But I can get an all-greenalivecolumn - if I launch it in the foreground.Any thoughts?
Nice find, now I can reproduce it. This must be a quirk with python3 when forking. I will look into it.
Hi @miigotu
seems the app won't start since this morning (GMT +1 here),
2020-08-24 11:36:11 INFO :: EVENT-QUEUE :: Restarting SickChill with ['/usr/local/python3/bin/python3', /volume1/@appstore/sickbeard-custom-py3/SickChill.py', '--daemon', '--nolaunch']
DEPRECATION: The OpenSSL being used by this python install (OpenSSL 1.0.2n 7 Dec 2017) does not meet the minimum supported version (>= OpenSSL 1.1.1) in order to support TLS 1.3 required by Cloudflare, You may encounter an unexpected Captcha or cloudflare 1020 blocks.
Traceback (most recent call last):
File "/volume1/@appstore/sickbeard-custom-py3/SickChill.py", line 17, in <module>
from sickchill.movies import MovieList
File "/volume1/@appstore/sickbeard-custom-py3/sickchill/movies.py", line 10, in <module>
from .oldbeard.databases import movie
File "/volume1/@appstore/sickbeard-custom-py3/sickchill/oldbeard/databases/movie.py", line 5, in <module>
from slugify import slugify
ModuleNotFoundError: No module named 'slugify
Seems that my postprocessing metadata config was deleted too, just had to reactivate it, putting it there is someone else is messing their nfo :smiley:
Some impact of the movies commit it seems, is that coming to sickchill ? :heart_eyes:
Confirmed here. I tried adding slugify to the requirements.txt, but couldn't figure out how to execute setup.py successfully (is that documented anywhere?) - so can't make a PR for this one.
sudo apt install python3-slugify fixes this on systems which support it :)
slugify is in requirements.tx (python-slugify)t, it just wasnt added to lib3.
It is now in the latest versions
If you installed with git, do a git pull
If you installed with pip, pip install -U sickchill
@HazMatt69 please try 0.0.52 - qbittorrent lib was updated.
Well this thread seems to have quietened don a lot - and sickrage seems to be behavng nicely - any eta on when the auto updater will be put backÉ
You will not be able to auto update from python 2 to the python 3 version.
Pip updater isn't finished, but all the other ones should still work the same.
Also, please read the news page.
@miigotu great work, SC is running very well now. 👍🏽
Found a minor grammatical error:

... should say "4 commits behind".
Oh, now I've done it. After posting my last, I noticed SC had generated a warning:
2020-09-01 15:59:23 %d %s %.2fms
Not sure what to make of it. 😕
More to report: when looking at the log file via the UI, I see a continual stream of these being added (2 - 3 per second)
2020-09-01 16:08:21 INFO :: AUTO :: 200 POST /errorlogs/viewlog/ (10.0.0.10) 307.34ms
10.0.0.10 is my client PC.
Converted, locally, the sickchill-git package from the Arch Linux AUR to Python 3. SickChill fails to start for me. Do I need to change something manually?
systemd[1]: sickchill.service: Failed with result 'exit-code'.
systemd[1]: sickchill.service: Main process exited, code=exited, status=1/FAILURE
SickChill.py[16555]: ImportError: bad magic number in 'sickchill.providers': b'\x03\xf3\r\n'
SickChill.py[16555]: from sickchill.providers.torrent.TorrentProvider import TorrentProvider
SickChill.py[16555]: File "/opt/sickchill/app/sickchill/oldbeard/providers/abnormal.py", line 10, in <module>
SickChill.py[16555]: from sickchill.oldbeard.providers import (abnormal, alpharatio, archetorrent, binsearch, bitcannon, bjshare, btn, cpasbien, danishbits, >
SickChill.py[16555]: File "/opt/sickchill/app/sickchill/oldbeard/providers/__init__.py", line 6, in <module>
SickChill.py[16555]: import sickchill.oldbeard.providers
SickChill.py[16555]: File "/opt/sickchill/app/sickchill/tv.py", line 21, in <module>
SickChill.py[16555]: from sickchill.tv import Show, TVEpisode
SickChill.py[16555]: File "/opt/sickchill/app/sickchill/show/indexers/handler.py", line 5, in <module>
SickChill.py[16555]: from .handler import ShowIndexer
SickChill.py[16555]: File "/opt/sickchill/app/sickchill/show/indexers/__init__.py", line 1, in <module>
SickChill.py[16555]: from .show.indexers import indexer, ShowIndexer
SickChill.py[16555]: File "/opt/sickchill/app/sickchill/__init__.py", line 1, in <module>
SickChill.py[16555]: import sickchill.start
SickChill.py[16555]: File "/opt/sickchill/app/SickChill.py", line 14, in <module>
SickChill.py[16555]: Traceback (most recent call last):
sudo[16552]: pam_unix(sudo:session): session closed for user root
systemd[1]: Started SickChill Daemon.
sickchill.service:
...
Type=simple
Environment=PYTHONPATH=/opt/sickchill/app/lib3
ExecStart=/opt/sickchill/app/SickChill.py --quiet --nolaunch --datadir=/opt/sickchill/data
...
Commenting out "Environment=" has the same effect.
Branch 'develop'. Python 3.8.5.
Converted, locally, the sickchill-git package from the Arch Linux AUR to Python 3. SickChill fails to start for me. Do I need to change something manually?
systemd[1]: sickchill.service: Failed with result 'exit-code'. systemd[1]: sickchill.service: Main process exited, code=exited, status=1/FAILURE SickChill.py[16555]: ImportError: bad magic number in 'sickchill.providers': b'\x03\xf3\r\n' SickChill.py[16555]: from sickchill.providers.torrent.TorrentProvider import TorrentProvider SickChill.py[16555]: File "/opt/sickchill/app/sickchill/oldbeard/providers/abnormal.py", line 10, in <module> SickChill.py[16555]: from sickchill.oldbeard.providers import (abnormal, alpharatio, archetorrent, binsearch, bitcannon, bjshare, btn, cpasbien, danishbits, > SickChill.py[16555]: File "/opt/sickchill/app/sickchill/oldbeard/providers/__init__.py", line 6, in <module> SickChill.py[16555]: import sickchill.oldbeard.providers SickChill.py[16555]: File "/opt/sickchill/app/sickchill/tv.py", line 21, in <module> SickChill.py[16555]: from sickchill.tv import Show, TVEpisode SickChill.py[16555]: File "/opt/sickchill/app/sickchill/show/indexers/handler.py", line 5, in <module> SickChill.py[16555]: from .handler import ShowIndexer SickChill.py[16555]: File "/opt/sickchill/app/sickchill/show/indexers/__init__.py", line 1, in <module> SickChill.py[16555]: from .show.indexers import indexer, ShowIndexer SickChill.py[16555]: File "/opt/sickchill/app/sickchill/__init__.py", line 1, in <module> SickChill.py[16555]: import sickchill.start SickChill.py[16555]: File "/opt/sickchill/app/SickChill.py", line 14, in <module> SickChill.py[16555]: Traceback (most recent call last): sudo[16552]: pam_unix(sudo:session): session closed for user root systemd[1]: Started SickChill Daemon.sickchill.service:
... Type=simple Environment=PYTHONPATH=/opt/sickchill/app/lib3 ExecStart=/opt/sickchill/app/SickChill.py --quiet --nolaunch --datadir=/opt/sickchill/data ...Commenting out "Environment=" has the same effect.
Branch 'develop'. Python 3.8.5.
You just need to remove the precompiled Python files.
On a terminal, access to your SickChill folder and type:
find . -name "*.pyc" -delete
The command above will find all files with pyc extension and remove them.
After that you could have some empty folders. To remove them type:
find . -type d -empty -delete
Thanks, that worked. I'll add that to the AUR package.
find . -type d -name __pycache__ -delete
might be safer. Or is it better to delete all empty folders?
The only manual action that was required was to delete the cache file (/opt/sickchill/data/cache.db).
Im on the latest version, but still unable to clear warnings and error messages (win10) - nothing shows in the logs at all. The clear button appears to work and sickchill takes me to the logs as it should, but the warnings remain...
Converted, locally, the sickchill-git package from the Arch Linux AUR to Python 3. SickChill fails to start for me. Do I need to change something manually?
systemd[1]: sickchill.service: Failed with result 'exit-code'. systemd[1]: sickchill.service: Main process exited, code=exited, status=1/FAILURE SickChill.py[16555]: ImportError: bad magic number in 'sickchill.providers': b'\x03\xf3\r\n' SickChill.py[16555]: from sickchill.providers.torrent.TorrentProvider import TorrentProvider SickChill.py[16555]: File "/opt/sickchill/app/sickchill/oldbeard/providers/abnormal.py", line 10, in <module> SickChill.py[16555]: from sickchill.oldbeard.providers import (abnormal, alpharatio, archetorrent, binsearch, bitcannon, bjshare, btn, cpasbien, danishbits, > SickChill.py[16555]: File "/opt/sickchill/app/sickchill/oldbeard/providers/__init__.py", line 6, in <module> SickChill.py[16555]: import sickchill.oldbeard.providers SickChill.py[16555]: File "/opt/sickchill/app/sickchill/tv.py", line 21, in <module> SickChill.py[16555]: from sickchill.tv import Show, TVEpisode SickChill.py[16555]: File "/opt/sickchill/app/sickchill/show/indexers/handler.py", line 5, in <module> SickChill.py[16555]: from .handler import ShowIndexer SickChill.py[16555]: File "/opt/sickchill/app/sickchill/show/indexers/__init__.py", line 1, in <module> SickChill.py[16555]: from .show.indexers import indexer, ShowIndexer SickChill.py[16555]: File "/opt/sickchill/app/sickchill/__init__.py", line 1, in <module> SickChill.py[16555]: import sickchill.start SickChill.py[16555]: File "/opt/sickchill/app/SickChill.py", line 14, in <module> SickChill.py[16555]: Traceback (most recent call last): sudo[16552]: pam_unix(sudo:session): session closed for user root systemd[1]: Started SickChill Daemon.sickchill.service:
... Type=simple Environment=PYTHONPATH=/opt/sickchill/app/lib3 ExecStart=/opt/sickchill/app/SickChill.py --quiet --nolaunch --datadir=/opt/sickchill/data ...Commenting out "Environment=" has the same effect.
Branch 'develop'. Python 3.8.5.
On arch a package to use pip would probably be more appropriate now.
Most dependencies, with the correct versions, are already included in this git repo. So there is no real need to switch to using PIP. Correct me if I am wrong.
Most dependencies, with the correct versions, are already included in this git repo. So there is no real need to switch to using PIP. Correct me if I am wrong.
(A PIP download can fail, leaving you with a broken package. I don't think you can use PKGBUILD checksums to protect you from that.)
The libs included in git are not optimized and have no speedups or c extensions. I only include libs for backwards compatibility. Pip is the preferred install method, and just add a service script.
Could not find any Python 3 PIP install instructions for SickChill. Are they already available somewhere?
For Linux and systemd:
Is it only 'pip install sickchill' or are there more steps?
Some questions when looking at SickChill's Dockerfile:
There is nothing other than python3 -m pip install sickchill
(OR, if you don't have python2 pip you can just pip install sickchill)
Data and config will be in ~/sickchill by default
Service file just needs to python3 SickChill.py (+ any command line options if you want)
There is also no need to install nodejs and unrar packages for a PIP install?
For mediainfo, I have basically only:
.../pymediainfo/__init__.py
.../pymediainfo/__pycache__/__init__.cpython-38.pyc
installed by the SickChill package. libmediainfo files are not installed. There is no need to (optionally) install the mediainfo or libmediainfo package?
@willemw12 libmediainfo is optional, and only used to try and guess the resolution of a file with no resolution in the original file name, and only for mkv or avi (no mp4, etc).
Utilizing Python 3 in Ubuntu 18. Everything works fine except Mass Edit. When I select shows and then edit, I get the edit page. When I submit I end up with a page not found. The debug trace is as follows:
2020-09-06 01:55:45 DEBUG :: WEBSERVER :: Failed doing webui request "massEditSubmit": Traceback (most recent call last):
File "/opt/sickchill/sickchill/views/index.py", line 183, in async_call
return function(**kwargs)
File "/opt/sickchill/sickchill/views/manage/index.py", line 438, in massEditSubmit
dir_map[kwargs[cur_arg]] = str(kwargs[cur_arg.replace('orig_root_dir_', 'new_root_dir_')], 'utf-8')
TypeError: decoding str is not supported
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/sickchill/sickchill/views/index.py", line 160, in get
results = yield self.async_call(method)
File "/opt/sickchill/lib3/tornado/gen.py", line 735, in run
value = future.result()
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(self.args, *self.kwargs)
File "/opt/sickchill/sickchill/views/index.py", line 185, in async_call
return function()
File "/opt/sickchill/sickchill/views/manage/index.py", line 440, in massEditSubmit
showIDs = toEdit.split("|")
AttributeError: 'NoneType' object has no attribute 'split'
I was noticing the 'UTF-8' issue and I checked locale -
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
For Information. Ubuntu 18.04 Headless Server. Steps I needed to do to get up and running with Python 3:-
sudo systemctl stop sickchill
git fetch
git checkout master
git reset --hard origin/master
git pull
sudo sed -i 's/python2.7/python3/g' /etc/systemd/system/sickchill.service
sudo sed -i 's/python2/python3/g' /etc/systemd/system/sickchill.service
sudo sed -i 's/SickBeard.py/SickChill.py/g' /etc/systemd/system/sickchill.service
sudo systemctl daemon-reload
sudo find . -name \*.pyc -delete
sudo systemctl start sickchill
Built-in updater fails:
INFO :: WEBSERVER :: Starting SickChill on http://0.0.0.0:8081/
INFO :: CHECKVERSION :: New update found for SickChill, starting auto-updater ...
INFO :: CHECKVERSION :: Config backup in progress...
INFO :: CHECKVERSION :: Config backup successful, updating...
INFO :: CHECKVERSION :: Clearing out update folder /opt/sickchill/data/sr-update before extracting
INFO :: CHECKVERSION :: Creating update folder /opt/sickchill/data/sr-update before extracting
INFO :: CHECKVERSION :: Downloading update from https://github.com/SickChill/SickChill/tarball/master
INFO :: CHECKVERSION :: Extracting file /opt/sickchill/data/sr-update/sr-update.tar
INFO :: CHECKVERSION :: Deleting file /opt/sickchill/data/sr-update/sr-update.tar
INFO :: CHECKVERSION :: Moving files from /opt/sickchill/data/sr-update/SickChill-SickChill-c115315 to /opt/sickchill/app/lib/python3.8/site-packages
INFO :: CHECKVERSION :: Update failed!
Pip version 0.0.56.
There are no file permission conflicts: service running as sickchill and files owned by sickchill.
The updater isn't supposed to run when installed with pip. I'll look into it later.
Updater should be able to tell that it is a pip install now, and not do anything other than tell you there is an update available. You will need to pip install-U sickchill to update this time and until I figure a clean way to update pip installs from inside the code.
Seeing message: "You're using the pip branch. Please use 'master' unless specifically asked". Should I ignore it?
Changed branch = pip to branch = master in the config file when SC was not running. Still seeing the same message.
I followed @dracupg's instructions for Ubuntu, and the service starts up fine with no errors, but when I try to access the site, I get a plain white page with the following text: Looks like we do not have enough disk space to render the page! {error}.
I checked the available space on my system (25GB free), so I doubt that's the real issue.
EDIT:
I did a fresh git clone and modified the service file to use python3. I get the same error message.
The reason I'm not using the recommended pip3 install sickchill is because it's failing to create the data directory in ~/sickchill/ on Ubuntu 18.04, and the documentation in this thread didn't provide enough info (for me) to set up the service file to use the pip installation.
FIX:
I had to change permissions on the new sickchill directory: chown -R sickchill:sickchill /path/to/sickchill
Hi. I deleted the old python2 install and now I'm trying to reinstall it on Ubuntu 20.04, but no luck yet. All the guides are outdated, are there up-to-date instructions? Thanks
The pip way:
sudo apt install python3.8
pip install -U sickchill
<create service file that runs SickChill.py>
Otherwise it would be just
sudo apt install python3.8
cd /path/to/sickchill
git fetch origin
git reset --hard origin/master
<edit existing service file and make it use python3 and SickChill.py instead of python2.7 and SickBEard.py>
I'm working on a universal deb package, and maybe an rpm down the road
I've been running SickChill for ages with no issues. Just cut over to Python3 and it won't start now. Getting an error about translations?
Traceback (most recent call last):
File "/usr/local/bin/sickchill", line 14, in <module>
import sickchill.start
File "/opt/sickchill/sickchill/__init__.py", line 1, in <module>
from .show.indexers import indexer, ShowIndexer
File "/opt/sickchill/sickchill/show/indexers/__init__.py", line 1, in <module>
from .handler import ShowIndexer
File "/opt/sickchill/sickchill/show/indexers/handler.py", line 3, in <module>
from sickchill import logger, settings
File "/opt/sickchill/sickchill/logger.py", line 19, in <module>
from sickchill import settings
File "/opt/sickchill/sickchill/settings.py", line 11, in <module>
from sickchill.oldbeard.common import SD
File "/opt/sickchill/sickchill/oldbeard/common.py", line 16, in <module>
setup_gettext()
File "/opt/sickchill/sickchill/init_helpers.py", line 27, in setup_gettext
gt = gettext.translation('messages', locale_dir(), languages=languages)
File "/usr/lib/python3.7/gettext.py", line 539, in translation
'No translation file found for domain', domain)
FileNotFoundError: [Errno 2] No translation file found for domain: 'messages'
Also just tried switching from installing from source, to installing with pip. Reinstalled the entire python runtime, and still get the same message.
Any hints?
I'm currently experiencing this with Opensuse Tumbleweed x64 as well.
I've been running SickChill for ages with no issues. Just cut over to Python3 and it won't start now. Getting an error about translations?
Traceback (most recent call last): File "/usr/local/bin/sickchill", line 14, in <module> import sickchill.start File "/opt/sickchill/sickchill/__init__.py", line 1, in <module> from .show.indexers import indexer, ShowIndexer File "/opt/sickchill/sickchill/show/indexers/__init__.py", line 1, in <module> from .handler import ShowIndexer File "/opt/sickchill/sickchill/show/indexers/handler.py", line 3, in <module> from sickchill import logger, settings File "/opt/sickchill/sickchill/logger.py", line 19, in <module> from sickchill import settings File "/opt/sickchill/sickchill/settings.py", line 11, in <module> from sickchill.oldbeard.common import SD File "/opt/sickchill/sickchill/oldbeard/common.py", line 16, in <module> setup_gettext() File "/opt/sickchill/sickchill/init_helpers.py", line 27, in setup_gettext gt = gettext.translation('messages', locale_dir(), languages=languages) File "/usr/lib/python3.7/gettext.py", line 539, in translation 'No translation file found for domain', domain) FileNotFoundError: [Errno 2] No translation file found for domain: 'messages'Also just tried switching from installing from source, to installing with pip. Reinstalled the entire python runtime, and still get the same message.
Any hints?
I've got the same problem. Fresh install of python 3.8.5 on Mac OS X 10.15.6
Big-Mac:SickChill tony$ python3 SickChill.py
Traceback (most recent call last):
File "SickChill.py", line 14, in <module>
import sickchill.start
File "/Applications/SickChill/sickchill/__init__.py", line 1, in <module>
from .show.indexers import indexer, ShowIndexer
File "/Applications/SickChill/sickchill/show/indexers/__init__.py", line 1, in <module>
from .handler import ShowIndexer
File "/Applications/SickChill/sickchill/show/indexers/handler.py", line 3, in <module>
from sickchill import logger, settings
File "/Applications/SickChill/sickchill/logger.py", line 19, in <module>
from sickchill import settings
File "/Applications/SickChill/sickchill/settings.py", line 11, in <module>
from sickchill.oldbeard.common import SD
File "/Applications/SickChill/sickchill/oldbeard/common.py", line 16, in <module>
setup_gettext()
File "/Applications/SickChill/sickchill/init_helpers.py", line 27, in setup_gettext
gt = gettext.translation('messages', locale_dir(), languages=languages)
File "/usr/local/Cellar/[email protected]/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/gettext.py", line 588, in translation
raise FileNotFoundError(ENOENT,
FileNotFoundError: [Errno 2] No translation file found for domain: 'messages'
Translations issue should be fixed. I think you all have a variable set in the environment that is empty: One of these: 'LANGUAGE', 'LC_ALL', 'LC_MESSAGES', 'LANG'
If it is empty, I force it to en_US.UTF-8 now, and then if that still fails we just fall back to English trnaslations.
Can confirm its working for me now. Thank you!
On Debian linux, I fixed this by building en_US with dpkg-reconfigure locales. I only had en_AU active previously.
Thanks.
The update message is back: "There is a newer version available — Update Now", https://pypi.org/project/sickchill/2020.9.7.post4/
A newer version is already installed. On the Changelog page: v2020.09.07-5
@willemw12 this is a mistake in my release process (pain in the azz because twine is not integrated into the process, and setuptools_scm bumps the version different)
Just do the pip install -U sickchill to update it.
Information to get running on Synology DSM if you're using Synology Package Centre's "sickbeard-custom" installer for SickChill...
/var/packages/sickbeard-custom/scripts/service-setup...sed -i 's/SickBeard.py/SickChill.py/g' /var/packages/sickbeard-custom/scripts/service-setup
sed -i '/^PYTHON_DIR=/c\PYTHON_DIR="/volume1/@appstore/python3" ' /var/packages/sickbeard-custom/scripts/service-setup
sed -i '/^PYTHON=/c\PYTHON="/volume1/@appstore/python3/bin/python3" ' /var/packages/sickbeard-custom/scripts/service-setup
Information to get running on Synology DSM if you're using Synology Package Centre's "sickbeard-custom" installer for SickChill...
- Install python 3.7.7 from the Package Centre
- Edit
/var/packages/sickbeard-custom/scripts/service-setup...sed -i 's/SickBeard.py/SickChill.py/g' /var/packages/sickbeard-custom/scripts/service-setup sed -i '/^PYTHON_DIR=/c\PYTHON_DIR="/volume1/@appstore/python3" ' /var/packages/sickbeard-custom/scripts/service-setup sed -i '/^PYTHON=/c\PYTHON="/volume1/@appstore/python3/bin/python3" ' /var/packages/sickbeard-custom/scripts/service-setup
- Start package from package centre.
Well, tried this, did not work for me. I have sickbeard custom, pointed at the sickchill master git. both python 2.7 and python 3 (3.7.7.) installed. Package will not start after the above changes. I guess I am missing something else in the config/setup.
Assuming /volume1 is correct for your environment and the sed commands ran as expected. What does your /var/packages/sickbeard-custom/scripts/service-setup look like? A good result would contain this...
PYTHON_DIR="/volume1/@appstore/python3"
GIT_DIR="/usr/local/git"
PATH="${SYNOPKG_PKGDEST}/bin:${SYNOPKG_PKGDEST}/env/bin:${PYTHON_DIR}/bin:${GIT_DIR}/bin:${PATH}"
HOME="${SYNOPKG_PKGDEST}/var"
VIRTUALENV="${PYTHON_DIR}/bin/virtualenv"
GIT="${GIT_DIR}/bin/git"
PYTHON="/volume1/@appstore/python3/bin/python3"
SICKBEARD="${SYNOPKG_PKGDEST}/var/SickBeard/SickChill.py"
CFG_FILE="${SYNOPKG_PKGDEST}/var/config.ini"
I suggest chmod 777 -R /volume1/@appstore/sickbeard-custom to see if there are no permission issues, and try running again.
If all else fails, back-up the current /volume1/@appstore/sickbeard-custom/var/config.ini and uninstall sickbeard-custom from the Synology package manager, and re-install using the 20200804-8 sickbeard-custom installer pointed at the sickchill master git.
Try running the sed commands again from any path and check these lines in /var/packages/sickbeard-custom/scripts/service-setup
PYTHON_DIR="/volume1/@appstore/python3"
PYTHON="/volume1/@appstore/python3/bin/python3"
SICKBEARD="${SYNOPKG_PKGDEST}/var/SickBeard/SickChill.py"
For syno, go comment/like this PR and maybe it will get merged: https://github.com/SynoCommunity/spksrc/pull/4161
Syno package built for testing: https://github.com/SynoCommunity/spksrc/pull/4161#issuecomment-690940177
Closing this issue since everyone just creates ten new issues anyway.
Most helpful comment
Manual snatch selection is coming soon =P

Halfway there