FS#58713 - [matrix-synapse] python2-twisted >= 18.4 breaks synapse

Attached to Project: Community Packages
Opened by Thomas Wouters (twouters) - Thursday, 24 May 2018, 13:30 GMT
Last edited by Johannes Löthberg (demize) - Sunday, 27 May 2018, 00:05 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Johannes Löthberg (demize)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Synapse doesn't start after updating the python2-twisted package:

May 24 15:24:58 hostname systemd[1]: Started Synapse Matrix homeserver.
May 24 15:24:58 hostname python2.7[9879]: Traceback (most recent call last):
May 24 15:24:58 hostname python2.7[9879]: File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
May 24 15:24:58 hostname python2.7[9879]: "__main__", fname, loader, pkg_name)
May 24 15:24:58 hostname python2.7[9879]: File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
May 24 15:24:58 hostname python2.7[9879]: exec code in run_globals
May 24 15:24:58 hostname python2.7[9879]: File "/usr/lib/python2.7/site-packages/synapse/app/homeserver.py", line 31, in <module>
May 24 15:24:58 hostname python2.7[9879]: from synapse.crypto import context_factory
May 24 15:24:58 hostname python2.7[9879]: File "/usr/lib/python2.7/site-packages/synapse/crypto/context_factory.py", line 17, in <module>
May 24 15:24:58 hostname python2.7[9879]: from twisted.internet._sslverify import _OpenSSLECCurve, _defaultCurveName
May 24 15:24:58 hostname python2.7[9879]: ImportError: cannot import name _OpenSSLECCurve

See https://github.com/matrix-org/synapse/issues/3135
This task depends upon

Closed by  Johannes Löthberg (demize)
Sunday, 27 May 2018, 00:05 GMT
Reason for closing:  Fixed
Comment by Thomas Wouters (twouters) - Thursday, 24 May 2018, 13:33 GMT
Just noticed that this issue has been fixed in synapse v0.29.0
So it'll be fine once the matrix-synapse package has been updated to the latest stable release.

Loading...