Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

ఇంకా తెలుసుకోండి
Open

Handling stale folders

Adrian

Hi,

I've started experimenting with Vibecoding some extensions for myself.. But I keep hitting a problem where TB reports back that folders are stale.

Specifically I'll hit something like this:

[Exception... "Component returned failure code: 0x80550005 (NS_MSG_ERROR_FOLDER_SUMMARY_OUT_OF_DATE) [nsIMsgFolder.messages]" nsresult: "0x80550005 (NS_MSG_ERROR_FOLDER_SUMMARY_OUT_OF_DATE)" location: "JS frame :: resource:///modules/ExtensionMessages.sys.mjs :: getMessagesInFolder :: line 925" data: no] ExtensionMessages.sys.mjs:928:13 [Exception... "Component returned failure code: 0x80550005

Usually when I go look at these folders in the UI, the total-email-count for the folder in blank, but the Size of the folder will show >1kb (eg .. something greater than zero). If I click on the folder, TB updates the summary file and all is well, for a while.

Some folders do report as no messages, and "blank" for file size as well.. but those seem to be genuinely empty.

These types of issues are causing pain in several extension ideas I've had, and I can't seem to figure out a way to handle them.

For example: I had an idea to create and extension to delete empty folders. The original version would encounter these NS_MSG_ERROR_FOLDER_SUMMARY_OUT_OF_DATE folders, and then just wipe them out as TB told the extension there were no emails in it. I found this out a little too late for some folders..

Another idea was to create and manage Virtual Search folders automatically. But I've hit a similar issue there with this staleness and had to skip such folders.

I've tried to get the extensions to trigger rebuilding summary files when we hit this error, but that never seems to do the job. The only method I've found is to open the folder manually in TB. Sometimes I'll find that starting a Search across the folders also helps - but that also tends to bail out unexplained.

I'm working with a lot of emails and folders..

If anyone can help explain why TB "forgets" whats in a folder, and how to trigger a summary-rebuild for a specific folder I'd be interested in hearing it.

Thanks

Hi, I've started experimenting with Vibecoding some extensions for myself.. But I keep hitting a problem where TB reports back that folders are stale. Specifically I'll hit something like this: [Exception... "Component returned failure code: 0x80550005 (NS_MSG_ERROR_FOLDER_SUMMARY_OUT_OF_DATE) [nsIMsgFolder.messages]" nsresult: "0x80550005 (NS_MSG_ERROR_FOLDER_SUMMARY_OUT_OF_DATE)" location: "JS frame :: resource:///modules/ExtensionMessages.sys.mjs :: getMessagesInFolder :: line 925" data: no] ExtensionMessages.sys.mjs:928:13 [Exception... "Component returned failure code: 0x80550005 Usually when I go look at these folders in the UI, the total-email-count for the folder in blank, but the Size of the folder will show >1kb (eg .. something greater than zero). If I click on the folder, TB updates the summary file and all is well, for a while. Some folders do report as no messages, and "blank" for file size as well.. but those seem to be genuinely empty. These types of issues are causing pain in several extension ideas I've had, and I can't seem to figure out a way to handle them. For example: I had an idea to create and extension to delete empty folders. The original version would encounter these NS_MSG_ERROR_FOLDER_SUMMARY_OUT_OF_DATE folders, and then just wipe them out as TB told the extension there were no emails in it. I found this out a little too late for some folders.. Another idea was to create and manage Virtual Search folders automatically. But I've hit a similar issue there with this staleness and had to skip such folders. I've tried to get the extensions to trigger rebuilding summary files when we hit this error, but that never seems to do the job. The only method I've found is to open the folder manually in TB. Sometimes I'll find that starting a Search across the folders also helps - but that also tends to bail out unexplained. I'm working with a lot of emails and folders.. If anyone can help explain why TB "forgets" whats in a folder, and how to trigger a summary-rebuild for a specific folder I'd be interested in hearing it. Thanks

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.