AutoarchiveReloaded icon indicating copy to clipboard operation
AutoarchiveReloaded copied to clipboard

AAR settings page does not load properly : exception in options.js on line 176

Open smonsarr opened this issue 5 years ago • 1 comments

Hi, on one of my machines (TB 68.4.1 - Ubuntu), AAR 1.0.0.3 cannot init the addon's settings page, I get an exception in options.js line 176 : const accounts = await browser.accounts.list();

The exception is just "An unexpected error occured" which is NOT very helpful. I would love to debug further but for some reason all TB freezes when I add a breakpoint anywhere in options.js which makes debugging almost impossible.

The result is a settings page with no tab for any account.

AAR was operational with the same TB profile exactly one year ago, but since then both TB and AAR have of course been updated.

smonsarr avatar Jan 20 '20 21:01 smonsarr

This is really strange. I just tried on Xubuntu with the same versions and it worked.

The line simply calls a Thunderbird API function. (https://thunderbird-webextensions.readthedocs.io/en/latest/accounts.html) It might be a right problem. For this function a certain right is needed. ("The permission accountsRead is required to use accounts.") On the other hand when you install the addon you should only be able to use it when you acceppt the rights?

Have you tried to uninstall and reinstall the addon? What types of accounts do you have set up in thunderbird? Mail (IMAP/POP3)? Chat? Feed? Newsgroup? Anything special about these?

Brummolix avatar Jan 22 '20 19:01 Brummolix