Closed Bug 1411858 Opened 7 years ago Closed 7 years ago

lightning/calendar broken by Tbird 52.4.0

Categories

(Calendar :: General, defect)

Lightning 5.4
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: igodard, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 Build ID: 20171002220106 Steps to reproduce: Auto-update installed 52.4.0. Actual results: Mail window works fine but deletes are *much* slower than usual, calendar window completely broken. Cannot show month, only one day (empty or events). Task panel flickers with continuous redraw. Most buttons greyed out, remainder do nothing. Reinstalling tbird or lightning does no change. There is a review at https://addons.mozilla.org/en-US/thunderbird/addon/lightning/ that reports the same problem. Expected results: Show normal calendar/events
Severity: normal → major
Component: Untriaged → General
Product: Thunderbird → Calendar
What version of Lightning do you use? What other extension do you use? You can get a complete list from menu Help > Troubleshooting Information. Do you receive any error messages in the Error Console available from menu Tools - Developer Tools? If yes, please copy and paste them here.
Flags: needinfo?(igodard)
I use the version that is bundled with Tbird; whatever the downloaded autoupdate installed. I also tried manually downloading it, and the add-ons manager reports it as version 5.4 now, with the same symptoms. Error console: Use of Mutation Events is deprecated. Use MutationObserver instead. calendar-widgets.xml:506:18 ++++++ Storage error!++++++ DB Error: database disk image is malformed ++++++ Exception: [Exception... "Component returned failure code: 0x8052000b (NS_ERROR_FILE_CORRUPTED) [mozIStorageStatement.executeStep]" nsresult: "0x8052000b (NS_ERROR_FILE_CORRUPTED)" location: "JS frame :: resource://calendar/modules/calStorageUpgrade.jsm :: getVersion :: line 160" data: no] calStorageUpgrade.jsm:345:5 NS_ERROR_FILE_CORRUPTED: Component returned failure code: 0x8052000b (NS_ERROR_FILE_CORRUPTED) [mozIStorageStatement.executeStep] calStorageUpgrade.jsm:160 Can't create calendar for 47120c27-baf8-4e8f-8b94-8fde625ddbc6 (storage, moz-storage-calendar://): [Exception... "Component returned failure code: 0x8052000b (NS_ERROR_FILE_CORRUPTED) [mozIStorageStatement.executeStep]" nsresult: "0x8052000b (NS_ERROR_FILE_CORRUPTED)" location: "JS frame :: resource://calendar/modules/calStorageUpgrade.jsm :: getVersion :: line 160" data: no] calCalendarManager.js:709:21 TypeError: currentView(...) is undefined[Learn More] calendar-multiday-view.xml:2591:26 ++++++ Storage error!++++++ DB Error: database disk image is malformed ++++++ Exception: [Exception... "Component returned failure code: 0x8052000b (NS_ERROR_FILE_CORRUPTED) [mozIStorageStatement.executeStep]" nsresult: "0x8052000b (NS_ERROR_FILE_CORRUPTED)" location: "JS frame :: resource://calendar/modules/calStorageUpgrade.jsm :: getVersion :: line 160" data: no] calStorageUpgrade.jsm:345:5 NS_ERROR_FILE_CORRUPTED: Component returned failure code: 0x8052000b (NS_ERROR_FILE_CORRUPTED) [mozIStorageStatement.executeStep] calStorageUpgrade.jsm:160 TypeError: currentView(...) is undefined[Learn More] calFilter.js:478:50 TypeError: currentView(...) is undefined[Learn More] calendar-chrome-startup.js:92:21 www.demandforce.com : server does not support RFC 5746, see CVE-2009-3555 (unknown) www.demandforced3.com : server does not support RFC 5746, see CVE-2009-3555 (unknown) view is null calendar-views.js:252 TypeError: currentView(...) is undefined[Learn More] calendar-chrome-startup.js:92:21 TypeError: aOldTab._ext.glodaSearchBox is undefined[Learn More] searchBar.js:58:7
Flags: needinfo?(igodard)
Your Lightning version is not the most current release. Thunderbird 52.0 shipped with Lightning 5.4.0. Thunderbird 52.4 shipped with Lightning 5.4.4. But I don't think this is the cause for your problem. The reported error states that one of the calendar database file is corrupted. Do you use other extensions or 3rd party applications (e.g. sync applications) that work on the calendar database file? I'd suggest the following: Close Thunderbird. Go to your Thunderbird profile folder and look for file calendar-data/cache.sqlite. You can safely delete this file because it contains just temporary data and will be recreated. Start Thunderbird and verify if the problem is still observed. If no: Great! If yes: In that case I assume that calendar-data/local.sqlite - the database file that contains your calendar data - was corrupted. The only solution I can think of is restoring a previous, uncorrupted version of the file from a backup that you created.
Version: Trunk → Lightning 5.4
Was the problem fixed after following steps in comment 3?
Flags: needinfo?(igodard)
Nope. The cache file had been deleted when I reinstalled. I have saved the calendar database file - would that be of use to you?
Flags: needinfo?(igodard)
(In reply to Ivan Godard from comment #5) > Nope. The cache file had been deleted when I reinstalled. I have saved the > calendar database file - would that be of use to you?
Flags: needinfo?(ssitter)
Flags: needinfo?(ssitter)
(In reply to Ivan Godard from comment #5) > Nope. The cache file had been deleted when I reinstalled. I have saved the > calendar database file - would that be of use to you? We don't need your corrupt database file. Comment 3 also included the advise to restore calendar-data/local.sqlite from a working version from your backup. If you don't have a such a copy or it didn't resolve your issue, the only option you have is to shut down TB, delete your local.sqlite database (and at best any other .sqlite file in this folder, these should be safe to delete regardless) from your profile and start TB again (which creates a new one for you). This will make your Lightning work again but at cost of having lost all your local calandar data. The remaining configuration is not affected by this. As there is nothing we can do here and this in fact a support request, I'm going to close this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.