This is strange, I just did a apt-get update to my server running Ubuntu and now SABNZBD+ is throwing an error. Here are the details:
Version: 0.5.6
OS: Ubuntu Maverick
Install-type: linux repository
Skin (if applicable): Default
Firewall Software: none
Are you using IPV6? no
Is the issue reproducible? yes
Python version: 2.6
Error when running "sudo /etc/init.d/sabnzbdplus start"
* Starting SABnzbd+ binary newsgrabber Traceback (most recent call last):
File "/usr/bin/sabnzbdplus", line 24, in
import logging
File "/usr/lib/python2.6/logging/__init__.py", line 1525, in
import atexit
File "/usr/lib/python2.6/atexit.py", line 60
$ print "running x3(%r, kwd=%r)"$% (n, kwd)
^
SyntaxError: invalid syntax
Any idea what's going on?
Getting a SyntaxError when trying to start from startup script in Ubuntu
Forum rules
Help us help you:
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.
-
- Newbie
- Posts: 4
- Joined: February 3rd, 2010, 4:54 am
Re: Getting a SyntaxError when trying to start from startup script in Ubuntu
That error appears to be in some standard python library, please check if the updates included something relevant there. Nothing has changed on the sab side.liquidplastik wrote: This is strange, I just did a apt-get update to my server running Ubuntu and now SABNZBD+ is throwing an error. Here are the details:
* Starting SABnzbd+ binary newsgrabber Traceback (most recent call last):
File "/usr/bin/sabnzbdplus", line 24, in
import logging
File "/usr/lib/python2.6/logging/__init__.py", line 1525, in
import atexit
File "/usr/lib/python2.6/atexit.py", line 60
$ print "running x3(%r, kwd=%r)"$% (n, kwd)
^
SyntaxError: invalid syntax
Last edited by jcfp on December 26th, 2010, 5:14 am, edited 1 time in total.
-
- Newbie
- Posts: 4
- Joined: February 3rd, 2010, 4:54 am
Re: Getting a SyntaxError when trying to start from startup script in Ubuntu
I fixed this by manually editing the python files in question and removing the "$" characters. That seemed to do it. I just hope they weren't important