Fedora Account System
Red Hat Associate
Red Hat Customer
ERROR: Exceptions occurred during the run! ERROR: While attempting to sync account 'foo' AttributeError: module 'ssl' has no attribute 'PROTOCOL_TLSv1'. Did you mean '.PROTOCOL_TLS' instead of '.PROTOCOL_TLSv1'? Traceback: File "/usr/lib/python3.15/site-packages/offlineimap/accounts.py", line 298, in syncrunner self.__sync() ~~~~~~~~~~~^^ File "/usr/lib/python3.15/site-packages/offlineimap/accounts.py", line 378, in __sync remoterepos.getfolders() ~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/lib/python3.15/site-packages/offlineimap/repository/IMAP.py", line 700, in getfolders imapobj = self.imapserver.acquireconnection() File "/usr/lib/python3.15/site-packages/offlineimap/imapserver.py", line 638, in acquireconnection imapobj = imaplibutil.WrappedIMAP4_SSL( host=self.hostname, ...<11 lines>... af=self.af, ) File "/usr/lib/python3.15/site-packages/offlineimap/imaplibutil.py", line 199, in __init__ super(WrappedIMAP4_SSL, self).__init__(*args, **kwargs) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/offlineimap/imaplib2.py", line 2124, in __init__ IMAP4.__init__(self, host, port, debug, debug_file, identifier, timeout, debug_buf_lvl) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/offlineimap/imaplib2.py", line 357, in __init__ self.open(host, port) ~~~~~~~~~^^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/offlineimap/imaplibutil.py", line 207, in open super(WrappedIMAP4_SSL, self).open(host, port) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^ File "/usr/lib/python3.15/site-packages/offlineimap/imaplib2.py", line 2137, in open self.ssl_wrap_socket() ~~~~~~~~~~~~~~~~~~~~^^ File "/usr/lib/python3.15/site-packages/offlineimap/imaplib2.py", line 491, in ssl_wrap_socket "tls1": ssl.PROTOCOL_TLSv1, ^^^^^^^^^^^^^^^^^^ Seems related to https://bugzilla.redhat.com/show_bug.cgi?id=2494735 and https://github.com/python/cpython/issues/152709 Reproducible: Always
@Michele, can you give a try to https://koji.fedoraproject.org/koji/taskinfo?taskID=150445500 ? It should fix the issue.
Works like a charm, thank you so much for the quick turnaround! :)
FEDORA-2026-80b5cde60c (offlineimap-8.0.3-2.fc46) has been submitted as an update to Fedora 46. https://bodhi.fedoraproject.org/updates/FEDORA-2026-80b5cde60c
FEDORA-2026-80b5cde60c (offlineimap-8.0.3-2.fc46) has been pushed to the Fedora 46 stable repository. If problem still persists, please make note of it in this bug report.