Linux: SABnzbd-2.0.1 startup problem / CoreFoundation

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
lucsch
Newbie
Newbie
Posts: 6
Joined: April 16th, 2016, 4:43 pm

Linux: SABnzbd-2.0.1 startup problem / CoreFoundation

Post by lucsch »

I try on Debian 8.7 to start SABnzbd and get the message:

./SABnzbd.py --server 192.168.1.20:8080 -d
/usr/lib/python2.7/dist-packages/cryptography/hazmat/bindings/__pycache__/_Cryptography_cffi_d62b3d91x972e1c0b.c:187:43: fatal error: CoreFoundation/CoreFoundation.h: No such file or directory
#include <CoreFoundation/CoreFoundation.h>

As far as I know is CoreFoundation a Mac part. How do I get this on linux? or is there something else thats wrong.
User avatar
safihre
Administrator
Administrator
Posts: 5580
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Linux: SABnzbd-2.0.1 startup problem

Post by safihre »

Re-install cryptography packages, and/or the pyopenssl package.
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
lucsch
Newbie
Newbie
Posts: 6
Joined: April 16th, 2016, 4:43 pm

Re: Linux: SABnzbd-2.0.1 startup problem / CoreFoundation

Post by lucsch »

I did that but still the same error message.
User avatar
safihre
Administrator
Administrator
Posts: 5580
Joined: April 30th, 2015, 7:35 am
Contact:

Re: Linux: SABnzbd-2.0.1 startup problem / CoreFoundation

Post by safihre »

Sorry, I don't know these distribution specific problems..
Try reinstalling cffi?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: Linux: SABnzbd-2.0.1 startup problem / CoreFoundation

Post by sander »

lucsch wrote:I try on Debian 8.7
Please tell us more:
- is it really a plain Debian? On x86? Or something else, for example different CPU Architecture, a NAS, or homebrew, or ... ?
- how did you install SABnzbd and the packages? From the plain Debian repositories?

And, yes, CoreFoundation is something Mac. Therefor I can't believe that you're on plain Debian ... Debian packagers don't make mistakes like that.

FWIW: https://forums.sabnzbd.org/viewtopic.php?f=2&t=22420 had the same problem on a NAS. Problem caused by packager.
lucsch
Newbie
Newbie
Posts: 6
Joined: April 16th, 2016, 4:43 pm

Re: Linux: SABnzbd-2.0.1 startup problem / CoreFoundation

Post by lucsch »

real debian:
uname -a
Linux c-server 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64 GNU/Linux

I installed it from the source file.
I used SABnzbd version 1.2.2 before.

The reinstall from python-cffi solved the problem.
Thanks for your help.
Post Reply