Here we go again :-/ new update new bug
Starting SickBeard-TVRage/usr/local/bin/python2.7: can't open file 'SickBeard.py': [Errno 2] No such file or directory
It's just me?
Thanks
Latest sichrage update broken startup script
Moderator: Lillian.W@AST
-
- Posts: 14
- youtube meble na wymiar Warszawa
- Joined: Tue Aug 18, 2015 1:16 am
-
- Posts: 14
- Joined: Tue Aug 18, 2015 1:16 am
Re: Latest sichrage update broken startup script
You should change this line into start-stop.sh
DAEMON="/usr/local/bin/python2.7 SickBeard.py"
TO
DAEMON="/usr/local/bin/python2.7 $PKG_DIR/SickBeard-TVRage/SickBeard.py"
DAEMON="/usr/local/bin/python2.7 SickBeard.py"
TO
DAEMON="/usr/local/bin/python2.7 $PKG_DIR/SickBeard-TVRage/SickBeard.py"
- clinton.hall
- Posts: 845
- Joined: Thu May 09, 2013 7:01 pm
- Location: New Zealand
- Contact:
Re: Latest sichrage update broken startup script
in the start-stop.sh script it does before calling the daemon.
So this should work... and this has not changed in recent updates... Works fine here...
What version have you updated to?
Code: Select all
cd $PKG_DIR/$PKG_NAME
So this should work... and this has not changed in recent updates... Works fine here...
What version have you updated to?
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T
Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python
Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic
About Me: http://fockwulf.wix.com/index
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T
Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python
Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic
About Me: http://fockwulf.wix.com/index
-
- Posts: 14
- Joined: Tue Aug 18, 2015 1:16 am
Re: Latest sichrage update broken startup script
Updated to version: 20150812, but oddly I don't have that entry in my startup scrips
PKG_NAME="SickBeard-TVRage"
PKG_DIR="/usr/local/AppCentral/sickbeard-tvrage"
RUN_AS="admin:administrators"
CONFIG_DIR="$PKG_DIR/config"
REPOS_DIR="$PKG_DIR/repository"
PID_FILE="$PKG_DIR/$PKG_NAME.pid"
DAEMON="/usr/local/bin/python2.7 SickBeard.py"
DAEMON_PACKAGE="/usr/local/AppCentral/python/lib/python2.7/site-packages" #change according to daemon version used
DAEMON_OPTS=" --daemon --datadir $PKG_DIR/config --pidfile $PID_FILE"
GIT_URL="git://github.com/SICKRAGETV/SickRage.git"
GIT_URL1="http://github.com/SICKRAGETV/SickRage.git"
export PYTHON_EGG_CACHE=/volume1/home/admin/.python-eggs
PKG_NAME="SickBeard-TVRage"
PKG_DIR="/usr/local/AppCentral/sickbeard-tvrage"
RUN_AS="admin:administrators"
CONFIG_DIR="$PKG_DIR/config"
REPOS_DIR="$PKG_DIR/repository"
PID_FILE="$PKG_DIR/$PKG_NAME.pid"
DAEMON="/usr/local/bin/python2.7 SickBeard.py"
DAEMON_PACKAGE="/usr/local/AppCentral/python/lib/python2.7/site-packages" #change according to daemon version used
DAEMON_OPTS=" --daemon --datadir $PKG_DIR/config --pidfile $PID_FILE"
GIT_URL="git://github.com/SICKRAGETV/SickRage.git"
GIT_URL1="http://github.com/SICKRAGETV/SickRage.git"
export PYTHON_EGG_CACHE=/volume1/home/admin/.python-eggs
- clinton.hall
- Posts: 845
- Joined: Thu May 09, 2013 7:01 pm
- Location: New Zealand
- Contact:
Re: Latest sichrage update broken startup script
search further down the script... it must be there... in the start section.
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T
Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python
Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic
About Me: http://fockwulf.wix.com/index
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T
Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python
Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic
About Me: http://fockwulf.wix.com/index
-
- Posts: 14
- Joined: Tue Aug 18, 2015 1:16 am
Re: Latest sichrage update broken startup script
Really don't know why, but I'm facing with any kind of issues
This after the latest upgrade :-/
Traceback (most recent call last):
File "SickBeard-TVRage/SickBeard.py", line 58, in <module>
import sickbeard
File "/volume1/.@plugins/AppCentral/sickbeard-tvrage/SickBeard-TVRage/sickbeard/__init__.py", line 37, in <module>
from sickbeard import providers
File "/volume1/.@plugins/AppCentral/sickbeard-tvrage/SickBeard-TVRage/sickbeard/providers/__init__.py", line 19, in <module>
from sickbeard.providers import btn, newznab, womble, thepiratebay, torrentleech, kat, iptorrents, torrentz, \
File "/volume1/.@plugins/AppCentral/sickbeard-tvrage/SickBeard-TVRage/sickbeard/providers/kat.py", line 184, in <module>
provider = KATProvider()
File "/volume1/.@plugins/AppCentral/sickbeard-tvrage/SickBeard-TVRage/sickbeard/providers/kat.py", line 52, in __init__
'search': base_url + '%s/',
NameError: global name 'base_url' is not defined
This after the latest upgrade :-/
Traceback (most recent call last):
File "SickBeard-TVRage/SickBeard.py", line 58, in <module>
import sickbeard
File "/volume1/.@plugins/AppCentral/sickbeard-tvrage/SickBeard-TVRage/sickbeard/__init__.py", line 37, in <module>
from sickbeard import providers
File "/volume1/.@plugins/AppCentral/sickbeard-tvrage/SickBeard-TVRage/sickbeard/providers/__init__.py", line 19, in <module>
from sickbeard.providers import btn, newznab, womble, thepiratebay, torrentleech, kat, iptorrents, torrentz, \
File "/volume1/.@plugins/AppCentral/sickbeard-tvrage/SickBeard-TVRage/sickbeard/providers/kat.py", line 184, in <module>
provider = KATProvider()
File "/volume1/.@plugins/AppCentral/sickbeard-tvrage/SickBeard-TVRage/sickbeard/providers/kat.py", line 52, in __init__
'search': base_url + '%s/',
NameError: global name 'base_url' is not defined
-
- Posts: 14
- Joined: Tue Aug 18, 2015 1:16 am
Re: Latest sichrage update broken startup script
Looks like an issue pulled from the GIT repository.
Fixed it by editing kat.py line
'search': base_url + '%s/',
should look like
'search': 'base_url' + '%s/',
after that sick rage starts and successfully updates
Fixed it by editing kat.py line
'search': base_url + '%s/',
should look like
'search': 'base_url' + '%s/',
after that sick rage starts and successfully updates