Cannot import from Thunderbird release into beta (when server directory outside of the profile)
Categories
(Thunderbird :: Migration, defect)
Tracking
(thunderbird_esr91 unaffected, thunderbird97 wontfix)
Tracking | Status | |
---|---|---|
thunderbird_esr91 | --- | unaffected |
thunderbird97 | --- | wontfix |
People
(Reporter: 1justinpeter, Assigned: rnons)
References
Details
Attachments
(2 files)
(Not sure if this should go here or in MailNews Core:Import; apologies if it's in the wrong one.)
When attempting to import my profile from Thunderbird release into beta, I receive the error "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nslFile.append]". (This text is not copiable, which is a huge pain.) It appears that at least part of my profile did import successfully; I see all (or at least most?) of the folders, but I can't see the mail in them, and the layout, etc. are different.
Interestingly, about the fourth time I started Thunderbird, it asked me for passwords for my email accounts.
STR:
- Start Thunderbird
- In the main screen (which may be for an account), click "Import".
- Import Everything
- Thunderbird (profile folder)
- Find the folder (default-release)
Please let me know if there is anything I can do to help.
Assignee | ||
Comment 1•2 years ago
|
||
Thanks for reporting. I'm currently writing a new importing page in bug 1720042. Can you open the Config Editor, set mail.import.in_new_tab
to true
, then click the "Import" button and try importing again?
This text is not copiable, which is a huge pain
Were you seeing the error in the console tab?
Reporter | ||
Comment 2•2 years ago
|
||
Were you seeing the error in the console tab?
No, that text appears as the contents of the "import wizard" box (the same one that says "Import Settings and Mail Folders"; the one that pops up after the first time you press next when importing).
mail.import.in_new_tab
That results in an (also not copiable) "Import failed unexpectedly, more information may be available in the Error Console." The console (where, for some reason, I did not think to look before you mentioned it) has the following:
Uncaught (in promise)
Exception { name: "NS_ERROR_FILE_UNRECOGNIZED_PATH", message: "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIFile.append]", result: 2152857601, filename: "resource:///modules/ThunderbirdProfileImporter.jsm", lineNumber: 561, columnNumber: 0, data: null, stack: "_importMailMessages@resource:///modules/ThunderbirdProfileImporter.jsm:561:19\n_importServersAndAccounts@resource:///modules/ThunderbirdProfileImporter.jsm:277:16\n", location: XPCWrappedNative_NoHelper }
ThunderbirdProfileImporter.jsm:561
Assignee | ||
Comment 3•2 years ago
|
||
Thanks, the error happens at https://searchfox.org/comm-central/rev/ebb466e874faceafe7deeb9db812e426efae90f5/mailnews/import/modules/ThunderbirdProfileImporter.jsm#561
Please open the Config Editor, search for directory-rel
, tell us if there is anything suspicious, or just upload a screenshot here.
Reporter | ||
Comment 4•2 years ago
|
||
I'm not sure what the syntax is supposed to be, but there are potentially a few things here that could throw it for a loop.
Reporter | ||
Comment 5•2 years ago
|
||
Assignee | ||
Comment 6•2 years ago
|
||
This is interesting, your server2 has a directory outside of the Profile Directory, I didn't know it's possible. Do you know how it happened? Maybe some extensions?
I will try to make a fix later.
Reporter | ||
Comment 7•2 years ago
|
||
I did make local copies of a number of emails using an extension at some point, but it looks like the directory can be changed in account settings > local folders > local directory. (That said, I don't know for sure if "local folders" is just something that appears by default or if I - or the extension - had to do something to make it appear.)
Assignee | ||
Comment 8•2 years ago
|
||
Never mind, I find that there is a Local Directory
setting in the Server Settings
, that's good enough for me to fix this.
Updated•2 years ago
|
Assignee | ||
Comment 9•2 years ago
|
||
If .directory-rel is outside the ProfD, use .directory instead.
Depends on D136455.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Comment 10•2 years ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/bf70d7cd19eb
Fix importing from server directory outside of ProfD in ThunderbirdProfileImporter. r=darktrojan
Description
•