[Pkg-ayatana-devel] Bug#1155451: Connection error after configuring account
Amin Bandali
bandali at debian.org
Thu Nov 26 16:23:46 GMT 2026
Package: ayatana-webmail
Severity: important
Tags: patch
After a fresh install of ayatana-webmail and configuring an account,
a 'Connection error' notification like the following is displayed and
the application exits:
Unable to connect to account "foo at example.org",
the application will now exit.
Debugging this, it turned out to be a side-effect of the packaging
patch for using Debian's python3-imaplib2 rather than the package's
vendored version of it: the system package (and indeed the upstream
imaplib2) does not have a LOGOUT symbol, and application.py's
Connection.isOpen() method's attempts to use imaplib.LOGOUT triggers
an exception that results in the application exiting.
The fix is simple: replace imaplib.LOGOUT with 'LOGOUT' directly.
The attached patch against the packaging repo applies this fix.
Best,
amin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-Connection-error-after-account-setup.patch
Type: text/x-diff
Size: 1129 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ayatana-devel/attachments/20261126/7c8830ad/attachment.patch>
More information about the Pkg-ayatana-devel
mailing list