Unable to Add Mail Account from Tools -> Account Settings. Error "JS frame :: chrome://messenger/content/AccountManager.js :: AddMailAccount :: line 386" data: no]

UNCONFIRMED
Unassigned

Status

Thunderbird
Account Manager
--
major
UNCONFIRMED
9 years ago
3 years ago

People

(Reporter: Nicholas Chan, Unassigned, NeedInfo)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(3 attachments)

(Reporter)

Description

9 years ago
User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3

Clicking through from Tools -> Account Settings and clicking on "Account Actions" and clicking "Add Mail Account..." results in nothing happening. Clicking on "Add Other Account..." pops up the Account Wizard. Replicable even after restarting Thunderbird.

Reproducible: Always

Steps to Reproduce:
1. Clickthrough from Tools -> Account Settings 
2. Click "Account Actions" and click "Add Mail Account..." 
3.
Actual Results:  
Nothing happened.

Expected Results:  
Account Wizard is supposed to start.

Theme is default, no crashes. Error from Error Console.

Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgMailSession.topmostMsgWindow]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://messenger/content/AccountManager.js :: AddMailAccount :: line 386"  data: no]

Warning: The 'charCode' property of a keyup event should not be used. The value is meaningless.
Source File: chrome://messenger/content/messenger.xul
Line: 0

Error: buildconfig is not defined
Source File: javascript:%20about:buildconfig
Line: 1
Have you tried Thunderbird's safe mode? (see https://support.mozillamessaging.com/en-US/kb/Safe+Mode for more information)
Nicholas, if comment #1 don't solve your problem try disabling your antivirus.

If your problem is related to anti-virus, please post here more info about it.

Comment 3

8 years ago
So I had very similar problem. I had just installed Thunderbird on a Mac system and got this same error every time I tried to add a mail account.

Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgMailSession.topmostMsgWindow]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://messenger/content/AccountManager.js :: AddMailAccount :: line 386"  data: no]

I solved it by removing this directory:
/Users/"myusername"/Library/Thunderbird

I restarted Thunderbird after I removed the directory.

Comment 4

7 years ago
Nicholas, Stormy, do you still see this problem in a curent version?
Summary: Unable to Add Mail Account from Tools -> Account Settings → Unable to Add Mail Account from Tools -> Account Settings. Error "JS frame :: chrome://messenger/content/AccountManager.js :: AddMailAccount :: line 386" data: no]

Updated

7 years ago
Duplicate of this bug: 612898

Comment 6

6 years ago
Could anybody reproduce this? What steps are necessary?

Comment 7

6 years ago
I have this issue as well.
Just installed Thunderbird version 13.0 beta 4 (NL) on a Windows 7 PC without administrative rights. Clicking any of the buttons in the initial 'email account wizard' does nothing. The 'Add email account' in the accounts overview does nothing either (results in error mentioned below).
The adding of news accounts and such is working fine.

----------

Tijdstempel: 6/1/2012 2:01:42 PM
Fout: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgMailSession.topmostMsgWindow]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://messenger/content/AccountManager.js :: AddMailAccount :: line 386"  data: no]

Comment 8

6 years ago
Can reproduce it time after time here if you want something traced or so.

Comment 9

6 years ago
OK, installed same version on my home PC, also Windows 7 x64, now with administrative rights, same issue.

Comment 10

6 years ago
Can you attach a screenshot of what Thunderbird windows are up when the problem appears? So that we are sure if the main window is up and what is the initial 'email account wizard'. Thanks.

Comment 11

6 years ago
Created attachment 629722 [details]
Screenshot of exception just after selecting 'add e-mail account'

Comment 12

6 years ago
Created attachment 629723 [details]
Screenshot of 'initial account wizard'

Comment 13

6 years ago
Thanks. Can you tell the exact steps you do? I do not understand why you are already in the Account settings window with only the SMTP server and no accounts. Maybe it is because the exception and therefore no account was created.
I assume the 'initial account wizard' window comes before the other screenshot and is already closed when you are in the Account settings (other screenshot).

Comment 14

6 years ago
The steps for me to reproduce:
- Start Thunderbird
- Close the initial account wizard (the buttons don't work, same error)
- Select Extra->Account settings
- Select Actions->Add email account

The actions are best guesses from the Dutch translation, might not be the exact wording in the English version.

Comment 15

6 years ago
So does it mean that you can't actually create any accounts on your installation? Or did you find some way to do it?

Do you have an antivirus?

Comment 16

6 years ago
I cannot create any (mail) account on my installations, or is there some way to do this manually via config files?

At home I run MS Security Essentials, at work we have McAfee (not the latest version, not sure which version at the moment as I'm working from home now).

Furthermore stuff running at home and work:
- AlwaysMouseWheel
- Bvckup
- Citrix Connection Center
- Wuala

Don't expect these to interfere, but you never know.

Comment 17

6 years ago
Could you try installing TB12 and trying the process there?

Comment 18

6 years ago
Installing 12.0.1 Dutch as I type...

Comment 19

6 years ago
Created attachment 629744 [details]
Account setup Thunderbird 12.0.1 Dutch

In version 12.0.1 Dutch the account wizard does function.

Comment 20

6 years ago
Installed 13.0 Beta 4 Dutch over 12.0.1 Dutch without first creating an account and immediately have the same issue again, will revert the 12.0.1 create an account and then install 13.0 beta 4 to see if I can add a second account.

Comment 21

6 years ago
It seems the new Account provisioning wizard (that you cancelled in TB13) is not in TB12. So that new feature may interfere. However the older reporters in this bug have used older TB versions (down to 3.0). Maybe the same bug is reappearing again.

If you were not able to create a new account in TB13 that is a very major problem.

Comment 22

6 years ago
OK
- installed 12.0.1
- created an email account (gmail/imap)
- installed 13.0 beta 4
- added another email account (gmail/imap)

It thus only fails for the initial account.

Comment 23

6 years ago
Mconley, Standard8, can you look at the account provisioning thingy here (starting at comment 7)?

Hendrik, when you already had an account and you created next account in TB13 did you get the new white dialog (account provisioning) or did you immediately get the older wizard as in attachment 629744 [details]?

Comment 24

6 years ago
I got the older wizard like in TB12
aceman:

Have you been able to reproduce this?

-Mike
I just reproduced this using the Dutch version of Thunderbird 13b4.
Status: UNCONFIRMED → NEW
Ever confirmed: true
This is in the Error Console:

Tijdstempel: 04/06/2012 9:38:30 AM
Fout: onjuist gevormd
Bronbestand: 
Regel: 1, Kolom: 169
Broncode:
<div xmlns="http://www.w3.org/1999/xhtml"><span>De gebruikte zoektermen zijn naar Mozilla (<a href="https://www.mozilla.org/thunderbird/legal/privacy/" class="external"privacybeleid</a>) en naar derde e-mailproviders <span class="placeholder"></span> verzonden om beschikbare e-mailadressen te vinden.</span></
"onjuist gevormd" translates to "incorrectly formed", and I can see where:

(<a href="https://www.mozilla.org/thunderbird/legal/privacy/" class="external"privacybeleid</a>)

The anchor is malformed (there should be a > before "privacybeleid").

See:  http://mxr.mozilla.org/comm-central/source/mail/locales/en-US/chrome/messenger/newmailaccount/accountProvisioner.properties#25
This only appears to affect the Dutch locale, and while the symptoms appear to be the same as this bug, I think it's actually a separate issue.

I've filed a new bug for this at bug 761143.
Status: NEW → UNCONFIRMED
Ever confirmed: false

Comment 30

6 years ago
(In reply to Mike Conley (:mconley) from comment #25)
> aceman:
> Have you been able to reproduce this?

Not yet, need to wait some hours for a suitable machine.

Ok, thanks for looking into it. Do you think that typo causes the problem? Could you simulate the typo in english build?
(In reply to :aceman from comment #30)
> (In reply to Mike Conley (:mconley) from comment #25)
> > aceman:
> > Have you been able to reproduce this?
> 
> Not yet, need to wait some hours for a suitable machine.
> 
> Ok, thanks for looking into it. Do you think that typo causes the problem?
> Could you simulate the typo in english build?

I didn't simulate the type in the English build, but I did manually fix the Dutch version locally by altering accountProvisioner.properties in my omni.ja.  This resolved the startup issue and also fixed the case where the wizard is spawned from the Account Settings dialog.

Comment 32

6 years ago
OK, that should be equivalent. I didn't know if you can fix the Dutch build.

Comment 33

3 years ago
Are bug 912176 and bug 989591 in any way related?

Comment 34

3 years ago
I don't think so.

It seems the bug here was caused by a typo in Dutch translation. Was that actually ever fixed in newer versions? Can we close this?
Flags: needinfo?(nicholas)
You need to log in before you can comment on or make changes to this bug.