Can not run python...
Posted: March 4th, 2016, 1:54 pm
I have a few problems with installing Sabnzbdplus:
When I visit the QPKG-log file it's giving this errors:
Probably the error is that Python could not start becausse the path does not exists:
SABnzbdplus/usr
it has to be
/usr/....
I have looked in the file sabnzbd.sh
and I have found that the path is correct... So why is it not working?
Can someone help me with remote desktop for example?
Thanks,
deef
When I visit the QPKG-log file it's giving this errors:
Code: Select all
Performing SABnzbdplus prestartup checks at Fri Mar 4 19:19:23 CET 2016...
Checking for git... Found!
HEAD is now at 3e4861e V10.13 for merge
Already up-to-date.
Checking environment
Checking if all configured directories exist....... Done
Creating Symbolic links for required utils. Done
AUTO_RESTART tag found. Checking if crontab needs to be altered... Yes, Done
Checking for a new version...
Downloading online version file... Done
Reading file... Done
Determine current (installed) version... 0.0.0 (99)
Determine stable release... 0.7.20 (72099)
ALL_RELEASES tag found, also checking unstable branch...
Determine Unstable release... 1.0.0RC2 (1000082)
Checking which is newest... Unstable, upgrading
Upgrading SAB remotely...gzip: Invalid magic
/bin/tar: Child returned status 1
/bin/tar: Exiting with failure status due to previous errors
. Done
Starting SABnzbplus once... Done
Starting SABnzbdplus/usr/bin/python2.7: can't open file 'SABnzbd.py': [Errno 2] No such file or directory
Done (Fri Mar 4 19:19:46 CET 2016)SABnzbdplus/usr
it has to be
/usr/....
I have looked in the file sabnzbd.sh
Code: Select all
#!/bin/sh
#/share/CACHEDEV1_DATA/.qpkg/SABnzbdplus
QPKG_NAME="SABnzbdplus"
QPKG_DIR=$(/sbin/getcfg $QPKG_NAME Install_Path -f /etc/config/qpkg.conf) #root of the qpkg dir
LOG_DIR=$(/sbin/getcfg misc log_dir -f $QPKG_DIR/Config/sabnzbd.ini) #log dir where the TAG files are stored
DAEMON="/usr/bin/python2.7"
DAEMON_PACKAGE="$QPKG_DIR/Repository/lib/python"
DAEMON_OPTS=" SABnzbd.py -f Config/sabnzbd.ini --browser 0 --daemon --pid /tmp" #watch out that --pid only sets the path to the pidfile, not the name
PID_NAME="/tmp/sabnzbd" #am a bit lazy to code the pidpath in a variable too, so change path here to path set by --pid in the line above
PID_FILE="$PID_NAME-$(/sbin/getcfg Misc port -f $QPKG_DIR/Config/sabnzbd.ini).pid" #sabnzbd itself names it's pidfile to sabnzbd-<portnr-listening-on> can be http or https port
Url="http://sabnzbdplus.sourceforge.net/version/latest" #url to the upgrade file
QDOWNLOAD=$(/sbin/getcfg SHARE_DEF defDownload -d Qdownload -f /etc/config/def_share.info)
#The url to the git repository we're going to install
GIT_URL=git://github.com/clinton-hall/nzbToMedia.git
GIT_URL1=http://github.com/clinton-hall/nzbToMedia.gitCan someone help me with remote desktop for example?
Thanks,
deef