No user feedback in conditions when delete mail with keyboard or delete button fails. Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgDBView.doCommand]

NEW
Unassigned

Status

defect
--
major
7 years ago
Last year

People

(Reporter: el.cameleon.1, Unassigned)

Tracking

(4 keywords)

Thunderbird Tracking Flags

(thunderbird15 wontfix, thunderbird16 wontfix, thunderbird_esr24-, thunderbird_esr3139+ affected)

Details

(Whiteboard: [gs], )

Attachments

(4 attachments)

Reporter

Description

7 years ago
4 different Geckozone's users report that they cannot delete their mail messages anymore by using the delete button or the Suppr key.

Moving mail message manually to the trash work.

Creating a new profile solve the problem, so this seems to be due to a profile corruption.

Repairing the folder or using safe-mode doesn't solve the problem.

They are all using a POP account. 

I would like to heard any idea helping to identifying and solve this issue.
Reporter

Comment 1

7 years ago
Is there any file that could be attached to the bug report in order to help understand the cause of this issue?

Users report that there are no messages in the error console.
Reporter

Comment 2

7 years ago
Another user report this error message:
Erreur : An error occurred executing the button_delete command: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgDBView.doCommand]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://messenger/content/folderDisplay.js :: FolderDisplayWidget_doCommand :: line 1793" data: no]
Fichier Source : chrome://global/content/globalOverlay.js
Ligne : 100

Strange that some have it and others don't... Does it helps?
this is also reported in  gsfn
Whiteboard: [gs?]
Reporter

Comment 4

7 years ago
(In reply to Wayne Mery (:wsmwk) from comment #3)
> this is also reported in  gsfn

Could you tag these topics with this bug number, in order to find them easily?
This sounds like a regression can we get a regression window ?
Reporter

Comment 6

7 years ago
The bug starts with TB14 release.
please add regression* when regression suspected :)
Reporter

Comment 8

7 years ago
do you (In reply to Wayne Mery (:wsmwk) from comment #7)
> please add regression* when regression suspected :)

do you mean that I should add "regression14" because the bug start with tb14?
I was referring to keywords regression and regressionwindow-wanted.
but if regression bug is not known, it doesnt hurt to explicitly note regression version whiteboard whiteboard, IMO
Reporter

Comment 10

7 years ago
Another user report this error message for a similar issue: 
Horodatage : 11/09/2012 07:38:46
Avertissement : La boîte XUL pour l'élément _moz_generated_content_before contient un enfant #text intégré, forçant tous ses enfants à être englobés dans un bloc.
Fichier Source : chrome://messenger/content/messenger.xul
Ligne : 0

Hope this can help...
Reporter

Comment 11

7 years ago
(In reply to Vincent (caméléon) from comment #2)
> Another user report this error message:
> Erreur : An error occurred executing the button_delete command:
> [Exception... "Component returned failure code: 0x80004005
> (NS_ERROR_FAILURE) [nsIMsgDBView.doCommand]" nsresult: "0x80004005
> (NS_ERROR_FAILURE)" location: "JS frame ::
> chrome://messenger/content/folderDisplay.js :: FolderDisplayWidget_doCommand
> :: line 1793" data: no]
> Fichier Source : chrome://global/content/globalOverlay.js
> Ligne : 100

Another user got a similar (but not exactely identical) error message:
11/09/2012 19:15:46
Erreur : An error occurred executing the button_delete command: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgDBView.doCommand]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://messenger/content/folderDisplay.js :: FolderDisplayWidget_doCommand :: line 1758" data: no]
Fichier Source : chrome://global/content/globalOverlay.js
Ligne : 106

Is there any way we can help those people or help them to provide more information in order to understand the issue?
Reporter

Comment 12

7 years ago
Seems that this problem could be cause by the disappearance of the "trash" file (without extension) in the  profile folder.
Copying the "draft" file and rename it "trash" seems to solve the issue.

More details (in French) in the Geckozone's thread.
Reporter

Comment 13

7 years ago
This is what a user affected by this problem see in its profile folder!
Is there any explanation?

See: http://www.geckozone.org/forum/viewtopic.php?f=4&t=108738&p=708726#p708703
Reporter

Updated

7 years ago
Whiteboard: [gs?] → [gs]

Comment 15

7 years ago
Vincent do their anti virus logs show any activity around the time the problem commenced.  

While it has not been a problem for some time, there have been occasions in the past where anti virus programs simply delete or quarantine whole files because they do not like one of the emails it contains. 

Another possible cause is some sort of disk clean up / Optimization tool. Locating the file called trash and deleting it to recover disk space.

Comment 16

7 years ago
Reported today on GS https://getsatisfaction.com/mozilla_messaging/topics/cannot_delete_emails_possible_resolution

Started having problems deleting and then the trash folder disappeared.

Solution stop carbonite backing up the trash folder.

I think what we are starting to see are some of the cracks that appear when really large files are transferred over relatively slow connections. Thunderbird does not know anything about file locking or network shares as far as I can figure it.

Now people routinely backup to Carbonite, iCloud and a multitude of other cloud and network devices on a streaming basis.  More and more of the support issues are related to streaming/real time backups/ file contention. 

How difficult would it be for Thunderbird to seek a sharing lock on the whole profile from the file system when it starts? Or at least on MBOX files

Comment 17

6 years ago
pressing delete button:no response error code:

Tijdstempel: 12-2-2013 17:28:59
Fout: An error occurred executing the button_delete command: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgDBView.doCommand]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://messenger/content/folderDisplay.js :: FolderDisplayWidget_doCommand :: line 1768"  data: no]
Bronbestand: chrome://global/content/globalOverlay.js
Regel: 95

Updated

6 years ago
Duplicate of this bug: 913365

Comment 19

6 years ago
I was redirected here from bug #913365 by alta88, although I'm not sure it's the same bug. Thanks to his suggestion, however, I found out that when my problem occurs (cannot delete a feed article), the Trash folder of the "Feed" account is missing. If I restart Thunderbird, the Trash folder comes back and I can delete feed articles correctly. I can't understand why/when it disappears, although it seems to be something like 50% of the times.

No problems at all with any other mail (POP/IMAP) or newsgroup account, just the Feed account shows this problem.

Comment 20

6 years ago
Additional information for my case. The symptom (missing trash folder for the RSS feeds => unable to delete feed articles) happens on every other launch of Thunderbird. I mean:
- I start Thunderbird: no problem
- I restart Thunderbird: problem happens
- I restart Thunderbird: no problem
- I restart Thunderbird: problem happens
... and so on.
Should bug summary be changed to include "Trash folder missing"?
Flags: needinfo?(el.cameleon.1)
Reporter

Comment 22

6 years ago
(In reply to Wayne Mery (:wsmwk) from comment #21)
> Should bug summary be changed to include "Trash folder missing"?

I don't think so because in my first comment I  have explained that it is possible to move the messages to the trash folder, so I assume it is still there (in Thunderbird UI).
Flags: needinfo?(el.cameleon.1)

Comment 23

6 years ago
I am having similar problems as follows:

1. I start TBird and everything works fine: I can delete/move messages, either with the keyboard or the mouse.
2. at some point all that stops working (I've tried but haven't figured out the defining action): I can no delete or move messages and sending a message results in copying to the sent folder hangs and eventually has to be cancelled.
3. I have purged and re-installed Thunderbird.
4. I found that I have some mixed ownership on files in ~/.thunderbird wherein another group ('lp') had ownership on files in the folder. I have chown'ed them all to jseidel:jseidel
5. At one point, I found a ~/.mozilla-thunderbird folder, but have removed that with no ill effects.

This happens every time I start Thunderbird and let it run for a while... getting to the point where it's unusable because of all the starting/stopping.

There are no error messages... just failure to perform. If there's anything I can give you to help resolve this problem, let me know. Thanks...

Comment 24

6 years ago
This morning I tried running Thunderbird as sudo... 

same problem: started off working just fine and then eventually got to the same problem: cannot delete emails; cannot copy sent emails to the Sent folder. Sadly, I'm going to have to find another email client for Ubuntu unless this can be fixed!

Comment 25

6 years ago
I am having similar problems as
Can not delete emails with keyboard or delete button

Comment 26

6 years ago
Posted file report

Comment 27

5 years ago
FYI, this is happening on Thunderbird 24

Updated

5 years ago
Other reports: bug 877992, bug 807046
query: https://bugzilla.mozilla.org/buglist.cgi?list_id=9734955&short_desc=delet&query_format=advanced&longdesc=nsIMsgDBView.doComman&short_desc_type=allwordssubstr&product=MailNews%20Core&product=Thunderbird&longdesc_type=allwordssubstr

I've marked a couple dozen gsfn topics https://getsatisfaction.com/mozilla_messaging/tags/bug_784267
Severity: normal → major
Summary: cannot delete mail with keyboard or delete button → cannot delete mail with keyboard or delete button. Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgDBView.doCommand]
Reporter

Comment 29

5 years ago
another report on mozilla support: https://support.mozilla.org/fr/questions/999354

I didn't succeed to add a tag with the bug number reference. Is it possible on Support.mozilla (as it was on GSFN)?
I have the same problem with Thunderbird 31.4.0 and Ubuntu 14.10.
Posted file debug.txt
I am experiencing the same issue with 31.7.0.
Trying to remove Trash* in the TB directory didn't fix the issue.
Repairing the folder didn't.
Creating a new Trash (Corbeille as the install in french) failed too.

I am using a Windows system (not mine).
Nothing in the console. shift+delete does delete the email
Duplicate of this bug: 909087
Duplicate of this bug: 1056053
Duplicate of this bug: 1037915
Duplicate of this bug: 977482
Duplicate of this bug: 807046
Posted image sc.png
I have been able to fix the issue.
Instead of creating the "Trash" folder in the local folders, I created it in the account (in the screenshot: in the @wanadoo.fr account).

Anyway, we should detect this situation and trigger an error message like "Could not find the xxx@wanadoo.fr/Trash folder"

Comment 39

4 years ago
I'm embarrassed to admit that, at least some of the time I encountered this problem, I had inadvertently engaged the NUMBER LOCK, converting the DEL key I was using into a decimal point (my laptop has a dedicated DEL key as well).  Obviously, hitting decimal point won't delete anything.

Comment 40

4 years ago
Have just had a support issue where the deleted folder was removed by the program RegCure PRO.  To quote from the topic. "When using the program RegCure PRO it delets the trash folder"

https://support.mozilla.org/en-US/questions/1065652?

This apparently is only an issue on POP accounts.  The software leaves IMAP trash folders alone. 

Is any one else affected using this software?

Comment 41

4 years ago
When I had this problem with the Feed articles, no, I did not have that software.
Meanwhile, a lot of time has passed, my feeds are changed, my computers has changed, even my operating system has changed and the problem does not occur any more to me (although the Thunderbird profile I use is the same).

Comment 42

2 years ago
Problem appeared out of nowhere, maybe after a Windows 10 update.
ALL my email accounts are affected, not just a single account.
All accounts are POP3.
Platform is Windows 10, 64-bit.
Clicking the "delete" button in the email window does NOT work.
Shift-DEL still does work and deletes emails permanently.

Comment 43

2 years ago
(In reply to info from comment #42)
> Problem appeared out of nowhere, maybe after a Windows 10 update.
> ALL my email accounts are affected, not just a single account.
> All accounts are POP3.
> Platform is Windows 10, 64-bit.
> Clicking the "delete" button in the email window does NOT work.
> Shift-DEL still does work and deletes emails permanently.

After some more trying I created an empty "Trash" file in all of my email folders under:
...\Thunderbird\Profiles\xxx.default\Mail

After this the DEL button worked again!!
Btw, Thunderbird version is 52.5.0

Comment 44

Last year
When Thunderbird is installed using POP accounts, Thunderbird creates the Trash file as a folder which prevents you deleting the messages in Thunderbird.

If you:
- shutdown Thunderbird
- go to the affected Mail accounts
- remove the Trash folder
- Create an empty Trash file NOT a folder
- start Thunderbird

You should be able to delete once more using either you keyboard's delete key or the delete button in Thunderbird.

This worked for me on Ubuntu Linux 16.04 LTS, Thunderbird 52.7.0 (64-bit).

Cheers
> This worked for me on Ubuntu Linux 16.04 LTS, Thunderbird 52.7.0 (64-bit).

What are you using now, where it fails?
Summary: cannot delete mail with keyboard or delete button. Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgDBView.doCommand] → No user feedback in conditions when delete mail with keyboard or delete button fails. Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgDBView.doCommand]
You need to log in before you can comment on or make changes to this bug.