Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Caută ajutor

Atenție la excrocheriile de asistență. Noi nu îți vom cere niciodată să suni sau să trimiți vreun SMS la vreun număr de telefon sau să dai informații personale. Te rugăm să raportezi activitățile suspecte folosind opțiunea „Raportează un abuz”.

Află mai multe
Deschis

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

Toate răspunsurile (1)

> I'm working with a lot of ... folders..

Please specify

> explain why TB "forgets" whats in a folder

Can happen for various reasons - running out of file handles, AV interference, corrupt or missing .msf file

Adresează o întrebare

Trebuie să intri în cont ca să răspunzi la o postare. Te rugăm să adresezi o întrebare nouă dacă nu ai încă un cont.