Two errors with Thunderbird 128.3.1esr
I just started with the addon and configured everything for the extended script (Win 11):
When I get a new email, the follows errors appear:
Error: Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.getFolderInfo() requires to specify a MailFolderId instead of a full MailFolder object.
ExtensionError: Native application tried to send a message of 1547322151 bytes, which exceeds the limit of 1048576 bytes.
Is this a configuration fault on my end or is the something wrong with the addon with TB 128?
Hi,
Thanks for reporting the errors.
I just fixed two deprecation errors, one of them being the first one you got:
Error: Support deprecated since Thunderbird 121 and removed in Manifest V3: folders.getFolderInfo() requires to specify a MailFolderId instead of a full MailFolder object
I also fixed:
Error: Warning processing folder: Support deprecated since Thunderbird 121 and removed in Manifest V3: messages.queryInfo.folder has been replaced by messages.queryInfo.folderId.
For your second error, it will be hard for me to debug since I do not use Windows and I do not use the "extended" mode. From what I see (for example here: https://discourse.mozilla.org/t/native-extension-exceed-message-limit/59039/2 ) it's maybe related to your Windows script and the way you send back an answer to the extension?
Let me know if you find your issue and if there is something to do in the extension code itself. Or if I can add something to the documentation to improve it.
I'll deploy a new version of the extension with the deprecation fixes soon.
If you are using one of the provided Windows script, maybe @sphh who developed the extended mode could have a look?
Thanks for fixing the errors and the quick reply.
Ok, maybe I messed up and used a script that is not compatible with windows:
- I configured the simple windows script which works fine (mode: simple, connection: connectionless).
- I wanted to give the script-systemtrayicon.py from your repository a go, so I installed the required python packages, made the config changes (mode: extended, connection: connection based) and in the script.bat from the simple Windows example I changed the line call python %~dp0\simpleNotification.py to call python %~dp0\script-systemtrayicon.py.
- When 2) was not working I also tried to directly link to script-systemtrayicon.py by changing the manifest file appropriately.
If you immediately find my mistake I'd like to know it. But in the end I am fine with the simple Windows script which already is a great improvement. So don't waste too much time with that :-) Also I just found out that the simple script can receive the extended data which I could use to build a more sophisticated script if I feel the simple script is not enough anymore.