It is currently Sat Mar 23, 2019 2:27 am
All times are UTC + 8 hours

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.

Moderators: JohnnyFive, clinton.hall

Latest sichrage update broken startup script

Postby infinityzx » Mon Oct 19, 2015 7:29 am

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

Postby infinityzx » Mon Oct 19, 2015 7:38 am

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

Re: Latest sichrage update broken startup script

Postby clinton.hall » Mon Oct 19, 2015 5:42 pm

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

Re: Latest sichrage update broken startup script

Postby infinityzx » Mon Oct 19, 2015 7:15 pm

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

Re: Latest sichrage update broken startup script

Postby clinton.hall » Thu Oct 22, 2015 7:58 pm

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

Re: Latest sichrage update broken startup script

Postby infinityzx » Tue Nov 10, 2015 5:39 pm

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

Postby infinityzx » Tue Nov 10, 2015 6:30 pm

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

Return to SickBeard

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 3 guests