Closed Bug 375688 Opened 19 years ago Closed 16 years ago

Importing from evolution broken (and mozilla hangs)

Categories

(Calendar :: Import and Export, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: solworth, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 Build Identifier: Sunbird/0.5pre/2007032703/Linux_x86-gcc3 If I remove the ~/.mozilla/sunbird directory and start sunbird it gives an import screen which list two components (mozilla calendar and evolution). If I try mozilla calendar it hangs (this is undoubtedly a very old calendar). If I try evolution, which is up to date, no calendars are imported. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Do you get any messages in the error console?
when I run from a terminal, I get the following messages *** cal_calendar_schema_version not found; initializing storage provider tables cal_calendar_schema_version cal_events cal_todos cal_attendees cal_recurrence cal_properties Starting calendar alarm service observer added
Would you specify 'mozilla hangs' please? What happens if you try to close the non-responding migration wizard dialog? If Sunbird shows up check Tools -> Error Console for error messages please.
Mozilla hangs: Displays "Calendar: Data Import" window, but the progress bar is blank (not blue for completion). Finish button is not greyed out, but when I push it nothing happens. (Cancel does get to the calendar, though). Error: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFileInputStream.init]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: chrome://calendar/content/migration.js :: migrateIcsStorage :: line 612" data: no] Source File: chrome://calendar/content/migration.js Line: 612
For the evolution issue see Bug 363218. I'd like you to try the following steps to gather more information: 1. start Sunbird profile manager (use -P command line flag) 2. create a new profile but don't start yet 3. go to the new profile folder and edit/create a file called prefs.js and add: user_pref("calendar.migration.log", true); 4. now start with the new profile, run the migration wizard until the failure, close the dialog and check the Error Console There should be some additional information what happened before the failure. Please post them.
mIsLightning is: false mPlatform is: linux Checking for the old calendar extension/app profileRoot = /home/solworth/.mozilla/sunbird searching for Firefox in /home/solworth/.mozilla/firefox profileRoot = /home/solworth/.mozilla/sunbird searching for Thunderbird in /home/solworth/.thunderbird Found old extension directory at/home/solworth/.thunderbird/oo9foe65.default/Calendar Checking for evolution data Checking for ical data DMs: 2
(In reply to comment #6) > mIsLightning is: false > mPlatform is: linux > Checking for the old calendar extension/app > profileRoot = /home/solworth/.mozilla/sunbird > searching for Firefox in /home/solworth/.mozilla/firefox > profileRoot = /home/solworth/.mozilla/sunbird > searching for Thunderbird in /home/solworth/.thunderbird > Found old extension directory > at/home/solworth/.thunderbird/oo9foe65.default/Calendar > Checking for evolution data > Checking for ical data > DMs: 2 > Jon, can you please have a look if in /home/solworth/.thunderbird/oo9foe65.default/Calendar a file named CalendarManager.rdf exists and if so, if the ics file stated behind "NC:path=" in CalendarManager.rdf exists. Thanks, Sebo
Sebo, can we resolve this bug as INCOMPLETE because of missing details?
Well, function migrateIcsStorage() has been called on a non-existent file. We should investigate what went wrong. I would vote against closing this bug. It is probably related to bug 363218, though: The evolution calendar is not where the code currently expects it.
Jon, can you re-test this with a 0.9 release build (where bug 363218 has been fixed)?
Sebo, could you have a look at this issue?
No response for a while now, closing INCOMPLETE. Please reopen if you can reproduce or answer any unanswered questions.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.