Closed Bug 1825995 Opened 2 years ago Closed 2 months ago

Import SeaMonkey Installation - Continue Button does nothing

Categories

(Thunderbird :: Migration, defect)

Thunderbird 102
defect

Tracking

(thunderbird_esr128 affected, thunderbird128? affected)

RESOLVED FIXED
129 Branch
Tracking Status
thunderbird_esr128 --- affected
thunderbird128 ? affected

People

(Reporter: Christoph, Assigned: mkmelin)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/111.0

Steps to reproduce:

  1. Launch Thunderbird
  2. Select import button
  3. Select import from SeaMonkey installation
  4. Continue button does nothing

Actual results:

Can click on the continue button as many times as I want but nothing happens. The wizard does not continue to step #2.

Expected results:

Wizard should continue.

All other browsers were closed at that time. Whatever I tried did not make a difference.

I can confirm that I have the same behaviour.
I have the latest release version of Seamonkey. 2.53.17 and have noticed this problem on version 102 of Thunderbird. I had hopes that it would improve with the 115.2.2 version, but no. The problem still exists.
I am also on Windows 10 64 bit version. I use localized versions of both Windows, Thunderbird and Seamonkey.

Yes, I tried all Thunderbird updates since then and nothing has changed.

I finally want to migrate from Seamonkey to Thunderbird (after many many years of using it solely as an email app). The wizard should be the safest way to import all data, if it would work.

Seems to work for me.
Try Thunderbird 115. Anything in the error console?

There are something in the error console:

Uncaught (in promise) NS_ERROR_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIFile.append]
getSourceProfiles resource:///modules/SeamonkeyProfileImporter.jsm:62
_onSelectSource chrome://messenger/content/aboutImport.js:377
_onSelectSource chrome://messenger/content/aboutImport.js:1390
next chrome://messenger/content/aboutImport.js:1349
onclick about:import#:1

Repeated 18 times, maybe because I clicked multiple times.

(In reply to Peter Kihlstedt :peki from comment #4)

There are something in the error console:

Uncaught (in promise) NS_ERROR_FILE_UNRECOGNIZED_PATH: Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIFile.append]
getSourceProfiles resource:///modules/SeamonkeyProfileImporter.jsm:62
_onSelectSource chrome://messenger/content/aboutImport.js:377
_onSelectSource chrome://messenger/content/aboutImport.js:1390
next chrome://messenger/content/aboutImport.js:1349
onclick about:import#:1

Repeated 18 times, maybe because I clicked multiple times.

I have the exactly same error in my JS console.

Check the profiles.ini of the profile you're trying to import.
https://searchfox.org/comm-central/rev/6c99f20d1bf4e5141338737a8f00b3b51826ae47/mailnews/import/modules/SeamonkeyProfileImporter.sys.mjs#52,62
initWithPath will fail throw if it gets a relative path. Is the IsRelative entry correct in the profiles.ini?

My profiles.ini is very simple with only six lines. Four of them for the default and only profile. And IsRelative is set to 1. Path is set to Profiles/profilecode.default, where profilecode is the 8 character random string.
Can I change IsRelative to 0? I guess I need to change the Path then as well. How should it look? "C:\Users\peter\AppData\Roaming\Mozilla\SeaMonkey\Profiles" ? Or can this be changed through a profile manager?

If it's indeed 1 (can you attach the .ini file?) then maybe the relative path is wrong? Did you check it's a correct relative path, relative from profiles.ini?

Attached file profiles.ini β€”

Attached is my profiles.ini file. And yes, the file is in the Seamonkey folder, the same folder as the Profiles folder, so the path is correct.

Is the profile in the standard location?
For me the Path does not include a "Profiles/", it's simply

IsRelative=1
Path=djj2yet1.default

Yes, the profile folder is in the location described here: https://www.seamonkey-project.org/doc/profiles. The line for Windows 7 seems to be correct also for Windows 10.

I realized what the problem is here. https://searchfox.org/comm-central/rev/6c99f20d1bf4e5141338737a8f00b3b51826ae47/mailnews/import/modules/SeamonkeyProfileImporter.sys.mjs#59 is supposed to append a child, but since you're setting is a path instead of a single folder it will fail...

Assignee: nobody → mkmelin+mozilla
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Target Milestone: --- → 129 Branch

Can we create a follow up to this to add some tests?
We should add a UI test to ensure the buttons work here.
And then a dedicated unit test in here

Pushed by alessandro@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/15e9640f7dcd
Fix SeamonkeyProfileImporter when relative path is more than one node deep. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED

Comment on attachment 9409162 [details]
Bug 1825995 - Fix SeamonkeyProfileImporter when relative path is more than one node deep. r=#thunderbird-reviewers

[Approval Request Comment]
User impact if declined: can't import in the relevant case
Testing completed (on c-c, etc.): c-c, beta
Risk to taking this patch (and alternatives if risky): safe

Attachment #9409162 - Flags: approval-comm-esr128?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: