Page 1 of 1

[SOLVED] Arch Linux First Startup Issue

Posted: September 9th, 2013, 1:41 am
by cermi3
Version: 0.7.16-1
OS:Arch Linux
Install-type: AUR via pacaur
Skin (if applicable): n/a
Firewall Software: none
Are you using IPV6? no
Is the issue reproducible? (yes/no) yes

The problem that I am having is that I just installed sabnzbd. I tried running through the application icon. I know it is supposed to run in the background so I then checked 127.0.0.1:8080 and localhost:8080. There was no webpage available. I tried to check the logs, but none were created. I then tried to run it using the CLI by typing in:

Code: Select all

sabnzbd
This came with an error message:

Code: Select all

python2: ../sysdeps/posix/getaddrinfo.c:1741: rfc3484_sort: Assertion `src->results[i].native == -1 || src->results[i].native == a1_native' failed.
/usr/bin/sabnzbd: line 3: 26250 Aborted                 (core dumped) python2 /opt/sabnzbd/SABnzbd.py -f ${HOME}/.sabnzbd.ini "${@}"

After that didn't work, I tried running as root. Same problem.
Anyone have any problems like this? I have no idea what to do. I've been searching the forums, both here and at archlinux.org, and have found nothing. Please help! Thanks.

Re: Arch Linux First Startup Issue

Posted: September 9th, 2013, 3:14 am
by sander
"core dumped"? That's not good.

I would start by downloading and unpacking the SABnzbd source version (http://sabnzbd.org/download/), and run that from the command line. Post the full output here.

Re: Arch Linux First Startup Issue

Posted: September 10th, 2013, 1:31 am
by cermi3

Code: Select all

(user) ~/Downloads/SABnzbd-0.7.16 $ python SABnzbd.py
  File "SABnzbd.py", line 20
    print "Sorry, requires Python 2.5, 2.6 or 2.7."
                                                  ^
SyntaxError: invalid syntax

Code: Select all

(user) ~/Downloads/SABnzbd-0.7.16 D: $ pacman -Q python
python 3.3.2-2
Should I downgrade my python?

Re: Arch Linux First Startup Issue

Posted: September 10th, 2013, 6:47 am
by sander
SABnzbd only works with python 2.x, not with python 3.x.

However: downgrading might not be necessary; on Ubuntu there is python (=python2) and python3, and you can install them parallel. Maybe your distro has "python2"? If so, install that.

PS: looks good: https://wiki.archlinux.org/index.php/Python#Python_2

Re: Arch Linux First Startup Issue

Posted: September 11th, 2013, 2:02 pm
by sander
... and? Solved?

Re: Arch Linux First Startup Issue

Posted: September 11th, 2013, 7:45 pm
by cermi3
Thank you very much for replying. I have been unable to do anything with this in a couple of days with life getting in the way. It worked!! I just had to call it with:

Code: Select all

python2 SABnzbd.py
Thanks again sander for all your knowledge! Thanks for everything! I really appreciate it.