Error Importing OpenSSL Module

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
User avatar
haywire
Release Testers
Release Testers
Posts: 8
Joined: January 22nd, 2008, 3:00 am
Location: Surrey, UK

Error Importing OpenSSL Module

Post by haywire »

Hello, I'm trying to run from source on windows. I'm using amd64 versions of par2, python, pywin32, openssl. I've copied the dlls from my openssl libs directory over to my sab's lib directory, but still it says that it cannot load it.

I have a feeling I need pyopenssl but I cannot find a python 2.6 binary for it and if I try and compile the module I get an issue:

Code: Select all

src/crypto/x509name.c(16) : error C2133: 'crypto_X509Name_methods' : unknown size
Which seems to be Visual Studio having a shit at this:

Code: Select all

static PyMethodDef crypto_X509Name_methods[];
If there's a python 2.6 amd64 version of pyopenssl 0.8 for windows it would be useful but currently I'm stumped.

E: I got and installed the egenix.com version but this has not helped.
Last edited by haywire on February 17th, 2009, 11:55 pm, edited 1 time in total.
:|
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Error Importing OpenSSL Module

Post by shypike »

You should only use 32-bit versions of Python and all the modules.
Not all modules are 64-bit compliant.
Also Python 2.6 is not supported, since not all modules that we use support it.
Post Reply