[SOLVED] Arch Linux First Startup Issue

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
cermi3
Newbie
Newbie
Posts: 3
Joined: September 9th, 2013, 1:30 am

[SOLVED] Arch Linux First Startup Issue

Post 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.
Last edited by cermi3 on September 11th, 2013, 7:45 pm, edited 1 time in total.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Arch Linux First Startup Issue

Post 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.
cermi3
Newbie
Newbie
Posts: 3
Joined: September 9th, 2013, 1:30 am

Re: Arch Linux First Startup Issue

Post 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?
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Arch Linux First Startup Issue

Post 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
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Arch Linux First Startup Issue

Post by sander »

... and? Solved?
cermi3
Newbie
Newbie
Posts: 3
Joined: September 9th, 2013, 1:30 am

Re: Arch Linux First Startup Issue

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