Page 1 of 1

Linux: SABnzbd-2.0.1 startup problem / CoreFoundation

Posted: May 31st, 2017, 5:35 am
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.

Re: Linux: SABnzbd-2.0.1 startup problem

Posted: May 31st, 2017, 5:47 am
by safihre
Re-install cryptography packages, and/or the pyopenssl package.

Re: Linux: SABnzbd-2.0.1 startup problem / CoreFoundation

Posted: May 31st, 2017, 6:23 am
by lucsch
I did that but still the same error message.

Re: Linux: SABnzbd-2.0.1 startup problem / CoreFoundation

Posted: May 31st, 2017, 8:03 am
by safihre
Sorry, I don't know these distribution specific problems..
Try reinstalling cffi?

Re: Linux: SABnzbd-2.0.1 startup problem / CoreFoundation

Posted: May 31st, 2017, 8:25 am
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.

Re: Linux: SABnzbd-2.0.1 startup problem / CoreFoundation

Posted: May 31st, 2017, 8:49 am
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.