Closed Bug 360696 Opened 13 years ago Closed 13 years ago

Migration wizard doesn't appear

Categories

(Calendar :: Import and Export, defect)

x86
Linux
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: koen.hendrickx, Assigned: mattwillis)

Details

Attachments

(2 files, 2 obsolete files)

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20061114 Calendar/0.4a1

When i start sunbird with an empty profile, the migration wizard does not appear. 
error console:
Failed to load XPCOM component: /home/koen/Sunbird/sunbird/extensions/talkback@mozilla.org/components/talkback/XTalkback.ad
---
Failed to load XPCOM component: /home/koen/Sunbird/sunbird/extensions/talkback@mozilla.org/components/talkback/talkback.so
---
Failed to load XPCOM component: /home/koen/Sunbird/sunbird/extensions/talkback@mozilla.org/components/talkback/talkback
---
Failed to load XPCOM component: /home/koen/Sunbird/sunbird/extensions/talkback@mozilla.org/components/talkback/master.ini
---
Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIBoxObject.getProperty]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://global/content/bindings/textbox.xml ::  :: line 102"  data: no]
---> this appears 4 times.
---
Error: Migrator error: ReferenceError: ffSpec is not defined
Source File: chrome://calendar/content/calendarManagement.js
Line: 283
Attached patch fix typo and warnings (obsolete) — Splinter Review
This fixes the typo (appSpec instead of ffSpec) and the warning about idx being undeclared by using the existing variable truncate.
Assignee: nobody → ssitter
Status: NEW → ASSIGNED
Attachment #245585 - Flags: first-review?(lilmatt)
Attachment #245585 - Attachment is obsolete: true
Attachment #245589 - Flags: first-review?(lilmatt)
Attachment #245585 - Flags: first-review?(lilmatt)
Comment on attachment 245589 [details] [diff] [review]
fix typo and more warnings

r1/r2=lilmatt
ok for me to do r2 from mvl via irc
Attachment #245589 - Flags: second-review+
Attachment #245589 - Flags: first-review?(lilmatt)
Attachment #245589 - Flags: first-review+
Patch checked in on MOZILLA_1_8_BRANCH and trunk

-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
I have tried this fix and still encounter this error:
Error: Migrator error: [Exception... "Component returned failure code: 0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST) [nsILocalFile.directoryEntries]"  nsresult: "0x80520006 (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST)"  location: "JS frame :: chrome://calendar/content/migration.js :: gdm_calold :: line 422"  data: no]
Source File: chrome://calendar/content/calendarManagement.js
Line: 283

I am attempting to import Evolution into Sunbird on RedHat Fedora Core 4.

Reopening bug.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(In reply to comment #5)
http://lxr.mozilla.org/mozilla/source/calendar/base/content/migration.js#699 needs an if (localFile.exists()) around it like getNormalProfile has.

(In reply to comment #6)
like this...

        if (localFile.exists()) {
            return localFile;
        }
        return null;
    },
Implements jminta's suggested fix.
Assignee: ssitter → cmtalbert
Status: REOPENED → ASSIGNED
Attachment #245600 - Flags: first-review?(lilmatt)
Attached patch jminta's fix (obsolete) — Splinter Review
Assignee: cmtalbert → lilmatt
Attachment #245601 - Flags: first-review?(jminta)
Attachment #245601 - Attachment is obsolete: true
Attachment #245601 - Flags: first-review?(jminta)
Comment on attachment 245600 [details] [diff] [review]
Implements jminta's suggestion

r1/2=lilmatt
Attachment #245600 - Flags: second-review+
Attachment #245600 - Flags: first-review?(lilmatt)
Attachment #245600 - Flags: first-review+
Patch checked in on MOZILLA_1_8_BRANCH and trunk.

-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
Even with this patch I still get the following error and the migration wizard doesn't show up:

Error: Migrator error: [Exception... "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsILocalFile.initWithPath]"  nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)"  location: "JS frame :: chrome://calendar/content/migration.js :: gdm_getNorm :: line 741"  data: no]
Source File: chrome://calendar/content/calendarManagement.js
Line: 283

The build is a one day old nightly, but since no related checkins occurred this will still be valid in today's build:

Mozilla/5.0 (Windows NT 5.1; en-US; rv:1.9a1) Gecko/20061117 Calendar/0.4a1
Status: RESOLVED → REOPENED
OS: Linux → All
Hardware: PC → All
Resolution: FIXED → ---
(In reply to comment #12)
The win32 problem was already filed as Bug 360659. The linux bug should be set back to fixed unless it's still failing.
(In reply to comment #13)
> The win32 problem was already filed as Bug 360659. The linux bug should be set
> back to fixed unless it's still failing.

You're right. Setting back to FIXED.
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
OS: All → Linux
Hardware: All → PC
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.