Latest sichrage update broken startup script

Sick Beard is a PVR for newsgroup users (with limited torrent support). It watches for new episodes of your favorite shows and when they are posted it downloads them, sorts and renames them, and optionally generates metadata for them. It currently supports NZBs.org, NZBMatrix, NZBs'R'Us, Newzbin, Womble's Index, NZB.su, TVTorrents and EZRSS and retrieves show information from theTVDB.com and TVRage.com.

Moderator: Lillian.W@AST

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

Latest sichrage update broken startup script

Post by infinityzx »

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
infinityzx
Posts: 14
Joined: Tue Aug 18, 2015 1:16 am

Re: Latest sichrage update broken startup script

Post by infinityzx »

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"
User avatar
clinton.hall
Posts: 845
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

Re: Latest sichrage update broken startup script

Post by clinton.hall »

in the start-stop.sh script it does

Code: Select all

	cd $PKG_DIR/$PKG_NAME
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?
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
infinityzx
Posts: 14
Joined: Tue Aug 18, 2015 1:16 am

Re: Latest sichrage update broken startup script

Post by infinityzx »

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
User avatar
clinton.hall
Posts: 845
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

Re: Latest sichrage update broken startup script

Post by clinton.hall »

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
infinityzx
Posts: 14
Joined: Tue Aug 18, 2015 1:16 am

Re: Latest sichrage update broken startup script

Post by infinityzx »

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
infinityzx
Posts: 14
Joined: Tue Aug 18, 2015 1:16 am

Re: Latest sichrage update broken startup script

Post by infinityzx »

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
Post Reply

Return to “SickBeard”