Cant start sabnzbd anymore

Support for the Debian/Ubuntu package, created by JCFP.
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
clueo8
Newbie
Newbie
Posts: 2
Joined: February 15th, 2017, 8:33 pm

Cant start sabnzbd anymore

Post by clueo8 » February 15th, 2017, 8:36 pm

I think something is messed up with my python, I can no longer start sab:

* Starting SABnzbd+ binary newsgrabber Traceback (most recent call last):
File "/usr/bin/sabnzbdplus", line 55, in <module>
import cherrypy
File "/usr/share/sabnzbdplus/cherrypy/__init__.py", line 60, in <module>
import pkg_resources
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 72, in <module>
import packaging.requirements
File "/usr/local/lib/python2.7/dist-packages/packaging/requirements.py", line 59, in <module>
MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")
TypeError: __call__() takes exactly 2 arguments (1 given)
[fail]

I tried reinstalling both sab and python2.7, but nothing works. Also tried removing/reinstalling cherrypy with both pip and apt but does not resolve the issue. I don't want to remove python all together because it would remove over half of my OS! I'm on Ubuntu 14.04

User avatar
safihre
Administrator
Administrator
Posts: 2123
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

Re: Cant start sabnzbd anymore

Post by safihre » February 16th, 2017, 1:22 am

You should try and reinstall python disttools and/or setuptools and/or packaging (it's a pip module). Either using pip or apt.

clueo8
Newbie
Newbie
Posts: 2
Joined: February 15th, 2017, 8:33 pm

Re: Cant start sabnzbd anymore

Post by clueo8 » February 16th, 2017, 6:50 am

Thanks. I tried reinstalling but it did not work. I got it to work by removing packaging all together with:

Code: Select all

sudo pip uninstall packaging
Then sab started right up. I didn't even have to reinstall packaging, which I find odd.

Post Reply