LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-19-2015, 08:51 AM   #1
cendryon
Member
 
Registered: Aug 2005
Location: France
Distribution: Slackware64 current
Posts: 82

Rep: Reputation: 30
Exclamation -current: M2Crypto -> SALT_LEN = m2.PKCS5_SALT_LEN AttributeError


Hi

M2Crypto python module was updated to 0.22.3 in Fri Dec 18 05:28:25 UTC 2015 -current update.

However, this version has a bug preventing its import :
Code:
SALT_LEN = m2.PKCS5_SALT_LEN AttributeError: 'module' object has no attribute 'PKCS5_SALT_LEN'
see http://stackoverflow.com/questions/3...no-attribute-p and https://github.com/martinpaljak/M2Crypto/issues/60

Upgrading at least to 0.22.4 solves this issue.

I downloaded 0.22.5 from PyPI (0.22.6 is rc4), build and installed it with -current l/M2Crypto.SlackBuild, bumping version.
Everything runs fine so far.

Some context:
I run my own Firefox Sync server (see https://docs.services.mozilla.com/ho...-sync-1.5.html).
Syncing stopped working, and I found the M2Crypto import error in Apache logs.
To get Sync server working back, I had to do:
Code:
make clean
make build
Cheers
 
Old 12-23-2015, 11:51 AM   #2
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,041

Rep: Reputation: 7219Reputation: 7219Reputation: 7219Reputation: 7219Reputation: 7219Reputation: 7219Reputation: 7219Reputation: 7219Reputation: 7219Reputation: 7219Reputation: 7219
The 23* December 2015 updates to -current included,

Quote:
l/M2Crypto-0.22.5-x86_64-1.txz: Upgraded.


*Late on the 22nd, actually.

Last edited by cwizardone; 12-23-2015 at 11:54 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] yum M2Crypto.SSL.Checker errors - won't update Stuart07 Linux - Software 3 03-08-2012 05:40 PM
Qt Python - AttributeError threaderslash Programming 3 10-14-2009 01:17 PM
AttributeError: 'module' object has no attribute 'error' cmnorton Programming 1 04-09-2009 05:45 PM
yum update ===> AttributeError: CHECKSUM_VALUE PrimeMogul Linux - Software 14 05-26-2008 11:26 AM
Tkinter Attributeerror : Entry has no __call__ method jeffsouza Programming 0 02-05-2004 07:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration