Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 639052

Summary: =net-im/gajim-0.16.8-r1 with =dev-python/pyopenssl-17.4.0 - Traceback (most recent call last): File "gajim.py", line 307, in <module> OpenSSL.rand.load_file(str(RNG_SEED)) AttributeError: 'module' object has no attribute 'load_file'
Product: Gentoo Linux Reporter: Opportunist <axiator>
Component: Current packagesAssignee: Amadeusz Żołnowski (RETIRED) <aidecoe>
Status: RESOLVED FIXED    
Severity: normal CC: da_risk, noein93, v_2e
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gajim-0.16.9.ebuild
python-nbxmpp-0.6.1.ebuild

Description Opportunist 2017-11-28 11:15:28 UTC
Traceback (most recent call last):
  File "gajim.py", line 307, in <module>
    OpenSSL.rand.load_file(str(RNG_SEED))
AttributeError: 'module' object has no attribute 'load_file'


Commit from pyopenssl 17.4.0:

https://github.com/pyca/pyopenssl/commit/23c965e7864bd9f37cf2c6076895c9bec395f00c
 +- Removed the deprecated ``OpenSSL.rand`` module.
Comment 2 Hanno Böck gentoo-dev 2017-12-01 10:52:30 UTC
upstream bug:
https://dev.gajim.org/gajim/gajim/issues/8788
Comment 3 Vladimir 2017-12-14 20:20:44 UTC
Created attachment 510048 [details]
gajim-0.16.9.ebuild

An ebuild for the new version of Gajim. 
Contains a minor change in denepndency on dev-python/python-nbxmpp-0.6.1.ebuild. Otherwise a simply ranamed old ebuild file.
Comment 4 Vladimir 2017-12-14 20:21:45 UTC
Created attachment 510050 [details]
python-nbxmpp-0.6.1.ebuild

An ebuild for the python-nbxmp version required by Gajim 0.16.9.
Comment 5 Amadeusz Żołnowski (RETIRED) gentoo-dev 2017-12-17 20:53:01 UTC
Vladimir, on version/revision bump we always drop stable keywords. If have fixed that myself, but please keep it in mind.

Thank you for contribution.