You are not logged in.
Pages: 1
Hi, there!
I'm a new arch linux user and am having some problems trying to install sabnzbd. i installed the package from the aur and also all dependency's. now when i try to run sabnzbd doing this:
sabnzbd
i get the following message returned:
The following modules need to be installed: Cheetah, cherrypy(included, unpack the zip), sqlite(if python2 2.4)
and i'm pretty sure these are installed:
[sisco88@DIKKEPWN sabnzbd]$ pacman -Q | grep cheetah
python-cheetah 2.4.4-1
[sisco88@DIKKEPWN sabnzbd]$ pacman -Q | grep cherry
cherrypy 3.1.2-3
cherrypy2 2.3.0-2
[sisco88@DIKKEPWN sabnzbd]$ pacman -Q | grep sqlite
lib32-sqlite3 3.6.23.1-1
sqlite3 3.7.4-1
So what's the problem here?
EDIT:
So after doing
sudo pacman -Su
different errors like this show up
[sisco88@DIKKEPWN sabnzbd]$ sabnzbd
File "/opt/sabnzbd/SABnzbd.py", line 20
print "Sorry, requires Python 2.4 or higher."
^
SyntaxError: invalid syntax
[sisco88@DIKKEPWN ~]$ sabnzbd
File "/opt/sabnzbd/SABnzbd.py", line 37
print "Sorry, requires Python module Cheetah 2.0rc7 or higher."
^
SyntaxError: invalid syntax
does this have anything to do with having a too new version of python installed? because after the upgrade is do this:
pacman -Qi python
wich gives me this:
[sisco88@DIKKEPWN sabnzbd]$ pacman -Qi python
Name : python
Version : 3.1.3-1
URL : http://www.python.org
Licenses : custom
Groups : None
Provides : python3
Depends On : expat bzip2 gdbm openssl libffi zlib
Optional Deps : tk: for tkinter
Required By : None
Conflicts With : None
Replaces : python3
Installed Size : 66452.00 K
Packager : Unknown Packager
Architecture : x86_64
Build Date : Wed 01 Dec 2010 01:28:14 PM CET
Install Date : Fri 21 Jan 2011 09:14:44 PM CET
Install Reason : Installed as a dependency for another package
Install Script : No
Description : Next generation of the python high-level scripting language
EDIT: cant remember what file i had to edit but all i had to do was change
"python" to "python2" on a line.
Last edited by sisco88 (2011-01-22 14:16:02)
Offline
I'm having this EXACT issue. I can't figure out which file I need to edit to make SABnzbd+ run as a Python2 program rather than PythonWhateverVersionIt'sUsing. At this point, I've "fixed" the problem by making an alias that runs the SABnzbd.py script directly, but that's not optimal because: 1) I don't know how to make a Python script into a daemon without breaking my computer, and 2) it's just messy. From a previous Arch install, I know it's a really simple edit to one file, but I can't figure out which one; it almost looks as if it's not even there anymore. I use this program nearly every day, and I'd appreciate any help on this one.
Last edited by Fitzwilliam (2011-01-29 20:22:08)
Offline
I can't figure out which file I need to edit to make SABnzbd+ run as a Python2 program
The file is /usr/bin/sabnzbd
Change the invocation of "python" to "python2".
You need to do this every time you upgrade sabnzbd.
noobus in perpetuus
Offline
Thank you so much, eerok. That was driving me insane.
Offline
Pages: 1