mailnag icon indicating copy to clipboard operation
mailnag copied to clipboard

module 'ssl' has no attribute 'wrap_socket'

Open knurd opened this issue 2 years ago • 4 comments

Got this error after upgrading to Fedora 39, which uses Python 3.12:

ERROR (2023-09-25 15:24:31): Failed to open mailbox for account 'truhe' (module 'ssl' has no attribute 'wrap_socket').

Quick googling (which might have gone sideways) indicated that this might have been removed: https://github.com/python/cpython/issues/94199

knurd avatar Sep 25 '23 13:09 knurd

Consider removing the package from the Fedora 39 repos before its released, as I fear (didn't check) this might break things for a lot of people. What do you think, @kparal

knurd avatar Oct 06 '23 11:10 knurd

Well, that's probably a discussion which should be led in a downstream bug with the Fedora package maintainer, not here in upstream. I don't have a good opinion on that, anyway :-)

kparal avatar Oct 09 '23 09:10 kparal

[...] with the Fedora package maintainer

That's me. ;-)

I don't have a good opinion on that, anyway :-)

Okay, was just fishing for an additional opinion, but then I'll proceed without one. :-D Thx for answering!

knurd avatar Oct 09 '23 09:10 knurd

Lalufu in #fedora-devel provided a patch to make things work again; did the trick for me

mailnag-deprecated_ssl_wrap.txt

knurd avatar Oct 09 '23 13:10 knurd