AyatanaIndicators / ayatana-webmail

Webmail notifications and actions for any desktop
GNU General Public License v3.0
8 stars 4 forks source link

Runtime error: `could not connect: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'` #38

Closed doronbehar closed 3 months ago

doronbehar commented 3 months ago

Hello,

With Python 3.12, on NixOS we experience the following error:

2024-07-11 14:03:44,272: Ayatana Webmail: WARNING: "<my>@gmail.com:INBOX" IMAP4_SSL failed, trying IMAP4.
2024-07-11 14:03:44,273: Ayatana Webmail: ERROR: "<my>@gmail.com:INBOX" could not connect: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'

With Python3.11 it works fine.

tari01 commented 3 months ago

Do you have the latest release installed? This issue was fixed in https://github.com/AyatanaIndicators/ayatana-webmail/commit/7a893853f6db3989a4cc2da8830bc81110b016a4.

doronbehar commented 3 months ago

Oh I'm sorry I didn't check that... Yes the issue is fixed with the latest tag (last GitHub release is very old).