Pour l'erreur : SEARCHQUEUE-DAILY-SEARCH :: [T411] :: [7814387] Request failed: data must be a byte string
J'ai eu la meme pendant pas mal de jours.. En temps que gros noob, j'ai epluché les tutos afin de trouver une soluce autre que d'utiliser T411 avec jackett.
Voila ce que j'ai fait:
J'ai du lancer Sickrage avec Python 2.7.13
Donc j'ai verifié ma version de Python
python -V
python2.7 -V
Il etait en 2.7.9, il me fallait installer Python 2.7.13
cd /usr/src
wget https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tgz
tar xzf Python-2.7.13.tgz
cd Python-2.7.13
sudo ./configure
sudo make altinstall
J'ai reverifié si Python est en 2.7.13
python2.7 -V
je l'ai installé dans python2 ce qui donne : python2 -V => Python 2.7.13
Ensuite j'ai modifié le service :
suivant les config, le chemin est /etc/systemd/system/sickrage.service
nano /etc/systemd/system/sickrage@.service
J'ai cherché la ligne
/usr/bin/python /home/"USER"/.sickrage/SickBeard.py -q --daemon --nolaunch --datadir=/home/"USER"/.sickrage
J'ai changé le chemin de python pour celui du 2.7.13 (donc /usr/local/bin/python2)
/usr/local/bin/python2 /home/"USER"/.sickrage/SickBeard.py -q --daemon --nolaunch --datadir=/home/"USER"/.sickrage
Puis relance les deamon,
systemctl daemon-reload
Et j'ai pu enfin redemarré Sickrage (directement de l'application, en haut a droite)
Et voila enfin Sickrage lancé avec python 2.7.13, et sans erreur sur T411