Saturday, 4 October 2008

Thunderbird, error on startup after updating Lightning to 0.9: solution

If you use Thunderbird Lightning plugin for reading and writing to the Google Calendar (and GCal Provider), you might have noticed an error after updating the plugin to the latest version (0.9, which is supposed to be the last major version before Thunderbird 3 release). It appears on the start of the app:

An error was encountered preparing the calendar located at http://_unused/ for use. It will not be available.

One way to correct the situation is to delete storage.db file, which is located in the Thunderbird profile folder, and let Lightning recreate it. If you have offline calendars that do not synchronize with server be sure to backup them with "Export Calendar" command. Then you need to create new calendar with an appropriate GCal address.