Bug 218717 - mail/thunderbird 52 is missing operative lightning (calendar) extension
Summary: mail/thunderbird 52 is missing operative lightning (calendar) extension
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-gecko mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-17 19:46 UTC by freebsd
Modified: 2018-05-23 10:44 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description freebsd 2017-04-17 19:46:20 UTC
Upon upgrading from 51? to 52, calendar is nowhere available.
If I download the linux .xpi (5.4b4) and attempt to install it, I get the message
  "Lightning could not be installed because it is not compatible with Thunderbird 52.0."
corresponding to the error:
1492457864092   addons.xpi      WARN    Add-on {e2fda1a4-762b-4020-b5ad-a41df1933103} is not compatible with platform.
The lightning extension used to work; what makes it only compatible with linux all of a sudden?
Comment 1 Christoph Moench-Tegeder freebsd_committer 2017-04-25 21:24:11 UTC
There has been no thunderbird 51.
Lightning is being shipped with thunderbird for over 5 years now, there's no need to use the external plugin (besides, the plugin from AMO laggs behind and is linux only).
Does this affect new profiles or old ones only?
Comment 2 freebsd 2017-04-30 02:44:00 UTC
I was attempting to add the plugin because it did not come up when I started tbird, and I was told on the mozilla list I could load it from the extension pkg.

This is an old profile.  My error on the reference to a version 51.  Based on the backup package created by portmaster when I built version 52, the previous version I was running was 45.6.0_2.

If I move my ~/.thunderbird directory aside and start tbird, it comes up with the calendar ok.

I suspect what happened is I hit a key/button by mistake and deleted the lightning extension.  I'm guessing that if one does that, there's no way to reactivate it without starting from a clean profile, since one can't install it from the downloadable extension.  Does that make sense?

So, thanks for the hint about new vs. existing profile.

I fixed my problem by hand editing prefs.js to add the lightning extension to extensions.enabledAddons and extensions.xpiState from an empty tbird startup profile, and copying the lightning extension directory tree from the startup profile into my profile's extensions subdir.  Don't know if that was the "right" way to do it or not, but it seems to have worked.

However, I think an issue remains.  If one deletes the lightning extension mistakenly, it seems like there should be a way to add it back in without having to start from scratch and copy over existing data.
Comment 3 Jan Beich freebsd_committer 2018-05-23 10:44:06 UTC
After ports r470672 Linux version of Lightning from addons.mozilla.org should work fine as libical is part of Thunderbird when build with --enable-calendar. Not sure if this will continue to work after Thunderbird 60.