Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 693602 - >=mail-client/thunderbird-68.0-r2: calendar extension is not working
Summary: >=mail-client/thunderbird-68.0-r2: calendar extension is not working
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Mozilla Gentoo Team
URL: https://www.thunderbird.net/en-US/thu...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-06 14:48 UTC by tka
Modified: 2020-10-05 19:30 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,414.16 KB, application/x-xz)
2019-09-06 14:50 UTC, tka
Details
starting via "thunderbird --g-fatal-warnings" (0__G-FATALWARNINGS.TXT,6.62 KB, text/plain)
2019-11-01 12:43 UTC, Manfred Knick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tka 2019-09-06 14:48:51 UTC
After updating thunderbird to version 68.0, the calender extension is no longer working, i.e., nothing calendar related is displayed in firefox (no tab, no menu entry, etc.). That happens even for a new, empty profile.

Starting thunderbird from the command line yields:

$ thunderbird 
#1567780722414	addons.xpi	WARN	Ignoring distribution: not an XPI: /usr/lib64/thunderbird/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}

{e2fda1a4-762b-4020-b5ad-a41df1933103} is AFAIK the id of the calendar extension.
Comment 1 tka 2019-09-06 14:50:13 UTC
Created attachment 589170 [details]
build.log.xz

# emerge -pqv =mail-client/thunderbird-68.0-r2::gentoo 
[ebuild   R   ] mail-client/thunderbird-68.0-r2  USE="dbus eme-free hardened startup-notification system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-sqlite system-webp test wayland -bindist -clang -custom-cflags -custom-optimization -debug -gmp-autoupdate -jack -lightning -lto (-neon) (-pgo) -pulseaudio (-selinux) -wifi" CPU_FLAGS_X86="-avx2" L10N="-ar -ast -be -bg -br -ca -cs -cy -da -de -el -en-GB -es-AR -es-ES -et -eu -fi -fr -fy -ga -gd -gl -he -hr -hsb -hu -hy -id -is -it -ja -ko -lt -nb -nl -nn -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -sq -sr -sv -tr -uk -vi -zh-CN -zh-TW" 


# emerge --info =mail-client/thunderbird-68.0-r2::gentoo 
Portage 2.3.75 (python 3.6.9-final-0, default/linux/amd64/17.1/no-multilib/hardened, gcc-9.2.0, glibc-2.29-r5, 5.2.11 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.2.11-x86_64-Intel-R-_Core-TM-_i7-3720QM_CPU_@_2.60GHz-with-gentoo-2.6
KiB Mem:    16383148 total,   4950016 free
KiB Swap:   17825788 total,  17825788 free
Timestamp of repository gentoo: Fri, 06 Sep 2019 11:00:01 +0000
Head commit of repository gentoo: a3d8588ac0902a1b6167cf75fdd116ea9f86051b
sh bash 5.0_p11
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          5.0_p11::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.9::gentoo
dev-util/cmake:           3.15.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo, 9.2.0::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

local
    location: /var/lib/portage-local/local
    masters: gentoo
    priority: 0

testing
    location: /var/lib/portage-local/testing
    masters: gentoo
    priority: 1

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -mtune=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs cgroup collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS=""
MAKEOPTS="-j8"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 acl acpi alsa amd64 avx bzip2 cairo caps cdda cddb cdparanoia crypt cups cxx dbus dri dts dvd fam ffmpeg fftw flac fontconfig gif gimp gmp gnutls gtk hardened iconv icu idn ipv6 jpeg lame lcms libnotify libtirpc lzma mad matroska mmap mmx mmxext mp3 mpeg ncurses networkmanager nptl ogg opengl openmp pam pcre pie png policykit ppds readline sasl sdl seccomp split-usr sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssp ssse3 startup-notification svg test theora threads tiff truetype udev udisks unicode upower vaapi vorbis wayland x264 xattr xcb xinerama xml xtpax xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx f16c mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="i965 intel nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

mail-client/thunderbird-68.0-r2::gentoo was built with the following:
USE="dbus eme-free hardened startup-notification system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-sqlite system-webp test wayland -bindist -clang -custom-cflags -custom-optimization -debug -gmp-autoupdate -jack -lightning -lto (-neon) (-pgo) -pulseaudio (-selinux) -wifi" CPU_FLAGS_X86="-avx2" L10N="-ar -ast -be -bg -br -ca -cs -cy -da -de -el -en-GB -es-AR -es-ES -et -eu -fi -fr -fy -ga -gd -gl -he -hr -hsb -hu -hy -id -is -it -ja -ko -lt -nb -nl -nn -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -sq -sr -sv -tr -uk -vi -zh-CN -zh-TW"
CFLAGS="-march=native -mtune=native -pipe"
CXXFLAGS="-march=native -mtune=native -pipe -flifetime-dse=1"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs cgroup collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox keeptemp merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-rpath=/usr/lib64/thunderbird,--enable-new-dtags -Wl,-z,relro,-z,now -Wl,--compress-debug-sections=zlib"
Comment 2 tka 2019-09-13 17:00:12 UTC
There is still no calendar in mail-client/thunderbird-68.1.0.
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2019-09-14 18:20:07 UTC
I cannot confirm the problem a for a new profile. I.e. I have working lightning with >=thunderbird-68 when using a new profile.

However, I have some really old test profiles created using previous versions. When I start >=thunderbird-68.0 using such a profile, lightning will be disabled for yet unknown reason. Now upgrade of lightning.


PS: tka, in comment #1 you are showing that you have set USE=-lightning :-)
Comment 4 Oliver Freyermuth 2019-09-15 13:53:42 UTC
To chime in:
For me, on several machines (with existing profiles), Lightning always loads, but in some cases remains in a broken state:
- The day plan and calendars look empty. 
- Colours and layout of calendars and day plan are broken. 

Restarting Thunderbird 2-3 times usually fixes it, sometimes it also helps to switch to LANG=C. 
Observed with both 68.0 and 68.1.
Comment 5 Oliver Freyermuth 2019-09-15 14:34:56 UTC
My issue seems to be a different one and is already tracked upstream:
https://bugzilla.mozilla.org/show_bug.cgi?id=1560547
Sorry for the noise!
Comment 6 tka 2019-09-16 18:58:33 UTC
(In reply to Thomas Deutschmann from comment #3)
> PS: tka, in comment #1 you are showing that you have set USE=-lightning :-)

Well the description of the lightning flag says: "Enable app-global calendar support (note 38.0 and above bundles calendar support when this flag is off)," i.e., the flag doesn't enable/disable the calender but toggles the global/bundled version. And the calendar was working for me with USE="-lightning" for a long time.

PS: If this behavior of the flag even confuses a developer, maybe the name should be changed. ;)
Comment 7 quilosaq 2019-09-16 23:21:42 UTC
In Thunderbird Daily 68.1.0 the add-on Lightning work right if I disable my Language Pack in Add-ons Manager Menu option.
Comment 8 Harald Judt 2019-10-25 14:23:18 UTC
The calendar extension works fine every time if thunderbird is run with
export LANG=C

Deactivating the localisation pack does not help here.
Comment 9 quilosaq 2019-10-25 18:42:36 UTC
(In reply to Harald Judt from comment #8)
> The calendar extension works fine every time if thunderbird is run with
> export LANG=C

Doing export LANG=C, I have the same result that deactivating localisation pack. That doesn't work for me.
Comment 10 Manfred Knick 2019-10-31 11:34:16 UTC
Very strange:

Background: I'm using awesome WM.

Starting via

o) awesome menu: fail

o) konsole -> "thunderbird" (always): succes ( !without! "LANG" )

o) xterm   -> "thunderbird" (first time): fail

o) xterm   -> "export LANG=C && thunderbird" (first time): success

o) xterm   -> "thunderbird" (following times): success ( !without! "LANG" )

Does these findings ring some bell for anybody?

I have not found anything at all in my .bash* settings
which could remotely explain this behavior to me.
Comment 11 Manfred Knick 2019-10-31 11:43:59 UTC
Please NOTE the difference in warnings:
a) Could not resolve 2 references Array [{},{}]
b) Could not resolve 1 references Array [{}]


$ thunderbird 
console.log: WebExtensions: Loading unpacked extension from /usr/lib64/thunderbird/extensions/{a62ef8ec-5fdc-40c2-873c-223b8a6925cc}
console.log: WebExtensions: Loading unpacked extension from /usr/lib64/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}
console.log: WebExtensions: Loading add-on preferences from  /usr/lib64/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}
console.log: WebExtensions: Firing profile-after-change listeners for {e2fda1a4-762b-4020-b5ad-a41df1933103}
[calBackendLoader] Using Thunderbird's builtin libical backend
console.log: WebExtensions: Loading add-on preferences from  /usr/lib64/thunderbird/extensions/{a62ef8ec-5fdc-40c2-873c-223b8a6925cc}
console.log: WebExtensions: Firing profile-after-change listeners for {a62ef8ec-5fdc-40c2-873c-223b8a6925cc}

console.warn: Overlays.jsm: Could not resolve 2 references Array [{},{}]


$ export LANG=C &&  thunderbird 
console.log: WebExtensions: Loading unpacked extension from /usr/lib64/thunderbird/extensions/{a62ef8ec-5fdc-40c2-873c-223b8a6925cc}
console.log: WebExtensions: Loading unpacked extension from /usr/lib64/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}
console.log: WebExtensions: Loading add-on preferences from  /usr/lib64/thunderbird/extensions/{a62ef8ec-5fdc-40c2-873c-223b8a6925cc}
console.log: WebExtensions: Firing profile-after-change listeners for {a62ef8ec-5fdc-40c2-873c-223b8a6925cc}
console.log: WebExtensions: Loading add-on preferences from  /usr/lib64/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}
console.log: WebExtensions: Firing profile-after-change listeners for {e2fda1a4-762b-4020-b5ad-a41df1933103}
[calBackendLoader] Using Thunderbird's builtin libical backend

console.warn: Overlays.jsm: Could not resolve 1 references Array [{}]


QUESTION:
   what does KDE / konsole do
   which     xterm         does not?
Comment 12 Manfred Knick 2019-10-31 12:04:17 UTC
$ grep "LANG" .bash_profile 

LANG=de_DE.UTF8 ; export LANG                     <-- vs. -->    LANG=C

LANGUAGE=de_DE.UTF8 ; export LANGUAGE
Comment 13 Manfred Knick 2019-10-31 12:18:29 UTC
Thunderbird Release Notes
Version 68.2.0, first offered to channel users on October 22, 2019

-> Known Issues

-> -> unresolved

      "When using a language pack, 
       names of standard folders aren't localized     <----- !
       (will be fixed in TB 68.2.1)"

To me, this seems to be completely in accordance to all of the findings above.

Thus a-waiting minor version bump to mail-client/thunderbird-68.2.1 .
Comment 14 Manfred Knick 2019-10-31 12:45:54 UTC
Index of /pub/thunderbird/releases/68.2.1/ 	  	 		<-----

Type 	Name 	Size 	Last Modified

Dir 	en-US/ 		
Dir 	jsshell/ 		
Dir 	linux-i686/ 		
Dir 	linux-x86_64/ 		 		 	 		<-----
Dir 	mac/ 		
Dir 	source/ 		
Dir 	update/ 		
Dir 	win32/ 		
Dir 	win64/ 		
File 	KEY 	20K 	31-Oct-2019 11:52
File 	SHA256SUMMARY 	852K 	31-Oct-2019 11:52
File 	SHA256SUMS 	110K 	31-Oct-2019 11:52
File 	SHA256SUMS.asc 	833 	31-Oct-2019 11:52
File 	SHA512SUMMARY 	1M 	31-Oct-2019 11:52
File 	SHA512SUMS 	179K 	31-Oct-2019 11:52
File 	SHA512SUMS.asc 	833 	31-Oct-2019 11:52

[ https://archive.mozilla.org/pub/thunderbird/releases/68.2.1/ ]
Comment 15 Thomas Deutschmann (RETIRED) gentoo-dev 2019-10-31 13:33:12 UTC
68.2.1 is now available in Gentoo repository.
Comment 16 Manfred Knick 2019-10-31 13:41:39 UTC
Just having built -68.2.1 in my overlay (copy-rename was sufficient):

WORKSFORME,
but the problem discussed here has not dissolved:
the difference via "LANG=C" still persists the same.
Comment 17 Manfred Knick 2019-11-01 12:43:41 UTC
Created attachment 594730 [details]
starting via "thunderbird  --g-fatal-warnings"

Started from freshly started xterm:

  A) first without "export LANG=C"
  B) export LANG=C

Please note the additional warnings thrown in the first case (A) about

   "...  Addon ...xyz... already installed, older version will be disabled"

but not after (B)


@ Mozilla Gentoo Team: does this provide a hint, perhaps?
Comment 18 Timo Ollech 2019-12-06 10:47:22 UTC
I found something strange in /usr/lib64/thunderbird/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/manifest.json:

{
  "manifest_version": 2,
  "name": "Lightning",
  "description": "Integrated Calendaring & Scheduling for your Email client",
  "version": "68.2.2",
  "author": "Mozilla Calendar Project",
  "homepage_url": "https://www.mozilla.org/projects/calendar/",
  "legacy": true,
  "applications": {
    "gecko": {
      "id": "{e2fda1a4-762b-4020-b5ad-a41df1933103}",
      "strict_min_version": "68.3.0",
      "strict_max_version": "68.*"
    }
  },
  "icons": {
    "32": "chrome/skin/common/icons/icon32.svg"
  }
}


"strict_min_version": "68.3.0" is > "version": "68.2.2", maybe this causes the bug?
Comment 19 Timo Ollech 2019-12-06 10:58:30 UTC
Hmm, changing the values to

      "strict_min_version": "68.2.0",
      "strict_max_version": "68.3.0"

didn't help.

Btw, even when using a fresh profile I still get the warning

Ignoring distribution: not an XPI: /usr/lib64/thunderbird/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}

on startup and the calendar does not show up. Also the warning clearly is about the extension from the distribution, not the user profile.

And export LANG=C doesn't help either.
Comment 20 Manfred Knick 2019-12-17 09:44:49 UTC
Having installed mail-client/thunderbird-68.3.0:0
    with +l10n_de
    and  +lightning,
the extensions directory is empty:


$ ll -AR  /usr/lib64/thunderbird/distribution/

/usr/lib64/thunderbird/distribution/:

drwxr-xr-x 2 root root 4,0K 12. Mär 2018  extensions
-rw-r--r-- 1 root root   53 12. Dez 16:05 policies.json

/usr/lib64/thunderbird/distribution/extensions:

insgesamt 0   <--------------------------------------------------


Instead:

$ ll /usr/lib64/thunderbird/extensions/

drwxr-xr-x 3 root root 4,0K 12. Dez 16:06 {a62ef8ec-5fdc-40c2-873c-223b8a6925cc}
drwxr-xr-x 8 root root 4,0K 12. Dez 16:06 {e2fda1a4-762b-4020-b5ad-a41df1933103}
-rw-r--r-- 1 root root 584K 12. Dez 16:05 langpack-de@thunderbird.mozilla.org.xpi


Even after "$ export LANG=C" : Missing a valid manifesto:

$ export LANG=C
$ thunderbird 
1576574570763   addons.xpi-utils        WARN    addMetadata: Add-on {a62ef8ec-5fdc-40c2-873c-223b8a6925cc} is invalid: Error: File /usr/lib64/thunderbird/extensions/{a62ef8ec-5fdc-40c2-873c-223b8a6925cc} does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.jsm:666:11) 

JS Stack trace: loadManifest@XPIInstall.jsm:666:11
awaitPromise@XPIProvider.jsm:228:15
syncLoadManifest@XPIInstall.jsm:746:22
addMetadata@XPIDatabase.jsm:2711:32
processFileChanges@XPIDatabase.jsm:3152:26
checkForChanges@XPIProvider.jsm:2946:55
startup@XPIProvider.jsm:2406:12
callProvider@AddonManager.jsm:213:31
_startProvider@AddonManager.jsm:649:5
startup@AddonManager.jsm:873:14
startup@AddonManager.jsm:3469:26
observe@addonManager.js:70:29

1576574570763   addons.xpi-utils        WARN    Could not uninstall invalid item from locked install location
Extension error: Error while loading 'file:///usr/lib64/thunderbird/extensions/%7Ba62ef8ec-5fdc-40c2-873c-223b8a6925cc%7D/manifest.json' (NS_ERROR_FILE_NOT_FOUND) resource://gre/modules/Extension.jsm:513 :: readJSON/</<@resource://gre/modules/Extension.jsm:513:20
onStopRequest@resource://gre/modules/NetUtil.jsm:128:9

1576574570866   addons.xpi      WARN    Exception running bootstrap method startup on {a62ef8ec-5fdc-40c2-873c-223b8a6925cc}: Error: Error while loading 'file:///usr/lib64/thunderbird/extensions/%7Ba62ef8ec-5fdc-40c2-873c-223b8a6925cc%7D/manifest.json' (NS_ERROR_FILE_NOT_FOUND)(resource://gre/modules/Extension.jsm:513:20) JS Stack trace: readJSON/</<@Extension.jsm:513:20
onStopRequest@NetUtil.jsm:128:9
console.log: WebExtensions: Loading unpacked extension from /usr/lib64/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}
console.log: WebExtensions: Loading add-on preferences from  /usr/lib64/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}
console.log: WebExtensions: Firing profile-after-change listeners for {e2fda1a4-762b-4020-b5ad-a41df1933103}

[calBackendLoader] Using Thunderbird's builtin libical backend
1576574572335   addons.xpi-utils        WARN    addMetadata: Add-on {a62ef8ec-5fdc-40c2-873c-223b8a6925cc} is invalid: Error: File /usr/lib64/thunderbird/extensions/{a62ef8ec-5fdc-40c2-873c-223b8a6925cc} does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.jsm:666:11) 

JS Stack trace: loadManifest@XPIInstall.jsm:666:11
awaitPromise@XPIProvider.jsm:228:15
syncLoadManifest@XPIInstall.jsm:746:22
addMetadata@XPIDatabase.jsm:2711:32
processFileChanges@XPIDatabase.jsm:3152:26
getNewSideloads@XPIProvider.jsm:2982:28
1576574572336   addons.xpi-utils        WARN    Could not uninstall invalid item from locked install location
Comment 21 Thomas Deutschmann (RETIRED) gentoo-dev 2019-12-17 12:52:00 UTC
Sorry, I don't get your point and I still cannot reproduce:

> mail-client/thunderbird-68.3.0::gentoo was built with the following:
> USE="clang custom-cflags custom-optimization dbus gmp-autoupdate lightning lto pulseaudio startup-notification system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp -bindist -debug -eme-free -hardened -jack (-pgo) (-selinux) -system-sqlite -test -wayland -wifi"
> ABI_X86="(64)"
> CPU_FLAGS_X86="avx2"
> L10N="de ru -ar -ast -be -bg -br -ca -cs -cy -da -el -en-GB -es-AR -es-ES -et -eu -fi -fr -fy -ga -gd -gl -he -hr -hsb -hu -hy -id -is -it -ja -ko -lt -nb -nl -nn -pl -pt-BR -pt-PT -rm -ro -si -sk -sl -sq -sr -sv -tr -uk -vi -zh-CN -zh-TW"

> mail-client/thunderbird-68.3.0::gentoo was built with the following:
> USE="clang custom-cflags custom-optimization dbus gmp-autoupdate lightning lto pulseaudio startup-notification system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp -bindist -debug -eme-free -hardened -jack (-pgo) (-selinux) -system-sqlite -test -wayland -wifi"
> ABI_X86="(64)"
> CPU_FLAGS_X86="avx2"
> L10N="de ru -ar -ast -be -bg -br -ca -cs -cy -da -el -en-GB -es-AR -es-ES -et -eu -fi -fr -fy -ga -gd -gl -he -hr -hsb -hu -hy -id -is -it -ja -ko -lt -nb -nl -nn -pl -pt-BR -pt-PT -rm -ro -si -sk -sl -sq -sr -sv -tr -uk -vi -zh-CN -zh-TW"
> 


> $ locale
> LANG=en_US.UTF-8
> [...]
> 
> $ thunderbird -no-remote -CreateProfile "en_test1"
> $ thunderbird -P en_test1

You will get some warnings like

> 1576586545200   addons.xpi-utils        WARN    addMetadata: Add-on {a62ef8ec-5fdc-40c2-873c-223b8a6925cc} is invalid: Error: File /usr/lib64/thunderbird/extensions/{a62ef8ec-5fdc-40c2-873c-223b8a6925cc} does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.jsm:666:11) JS Stack trace: loadManifest@XPIInstall.jsm:666:11
> awaitPromise@XPIProvider.jsm:228:15
> syncLoadManifest@XPIInstall.jsm:746:22
> addMetadata@XPIDatabase.jsm:2711:32
> processFileChanges@XPIDatabase.jsm:3152:26
> checkForChanges@XPIProvider.jsm:2946:55
> startup@XPIProvider.jsm:2406:12
> callProvider@AddonManager.jsm:213:31
> _startProvider@AddonManager.jsm:649:5
> startup@AddonManager.jsm:873:14
> startup@AddonManager.jsm:3469:26
> observe@addonManager.js:70:29
> 1576586545201   addons.xpi-utils        WARN    Could not uninstall invalid item from locked install location
> 1576586545206   addons.xpi      WARN    Failed to parse recommendation: {"operation":"open","path":"/usr/lib64/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/mozilla-recommendation.json","unixErrno":2}
> console.log: WebExtensions: Loading unpacked extension from /usr/lib64/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}
> console.log: WebExtensions: Loading add-on preferences from  /usr/lib64/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}
> console.log: WebExtensions: Firing profile-after-change listeners for {e2fda1a4-762b-4020-b5ad-a41df1933103}
> [calBackendLoader] Using Thunderbird's builtin libical backend
> console.warn: Lightning: Warning:  Using guessed timezone
>   Europe/Berlin (UTC+0100/+0200).
> This ZoneInfo timezone seems to match the operating system timezone this year.
> This ZoneInfo timezone was chosen based on the operating system timezone
> identifier "/etc/timezone: Europe/Berlin".

but Thunderbird will start and Lightning add-on is working for me, application and add-on is displayed in English.

When I now do

> $ LANG="de_DE.UTF-8" thunderbird -no-remote -CreateProfile "de_test1"
> $ LANG="de_DE.UTF-8" thunderbird -P de_test1

Thunderbird will start with working Ligtning add-on, both will appear in German. Warnings are still

> 1576586816552   addons.xpi-utils        WARN    addMetadata: Add-on {a62ef8ec-5fdc-40c2-873c-223b8a6925cc} is invalid: Error: File /usr/lib64/thunderbird/extensions/{a62ef8ec-5fdc-40c2-873c-223b8a6925cc} does not contain a valid manifest(resource://gre/modules/addons/XPIInstall.jsm:666:11) JS Stack trace: loadManifest@XPIInstall.jsm:666:11
> awaitPromise@XPIProvider.jsm:228:15
> syncLoadManifest@XPIInstall.jsm:746:22
> addMetadata@XPIDatabase.jsm:2711:32
> processFileChanges@XPIDatabase.jsm:3152:26
> checkForChanges@XPIProvider.jsm:2946:55
> startup@XPIProvider.jsm:2406:12
> callProvider@AddonManager.jsm:213:31
> _startProvider@AddonManager.jsm:649:5
> startup@AddonManager.jsm:873:14
> startup@AddonManager.jsm:3469:26
> observe@addonManager.js:70:29
> 1576586816552   addons.xpi-utils        WARN    Could not uninstall invalid item from locked install location
> 1576586816558   addons.xpi      WARN    Failed to parse recommendation: {"operation":"open","path":"/usr/lib64/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/mozilla-recommendation.json","unixErrno":2}
> console.log: WebExtensions: Loading unpacked extension from /usr/lib64/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}
> console.log: WebExtensions: Loading add-on preferences from  /usr/lib64/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}
> console.log: WebExtensions: Firing profile-after-change listeners for {e2fda1a4-762b-4020-b5ad-a41df1933103}
> [calBackendLoader] Using Thunderbird's builtin libical backend
> console.warn: Lightning: Warnung: Genutzt wird die automatisch bestimmte Zeitzone
>   Europe/Berlin (UTC+0100/+0200).
> Diese Zeitzone scheint dieses Jahr mit der für das Betriebssystem eingestellten Zeitzone übereinzustimmen.
> Diese Zeitzone wurde auf Grundlage der für das Betriebssystem eingestellten Zeitzone
> "/etc/timezone: Europe/Berlin" ausgewählt.

Same for RU! I don't understand that language but Thunderbird appears with Lightning add-on, both localized in Russian.

So for me, Thunderbird and Lightning is working fine.

I can only imagine a problem when upgrading an existing profile which I cannot test because I don't use Lightning in my normal profile.
Comment 22 Timo Ollech 2019-12-17 15:06:32 UTC
Well, *I* cannot reproduce *your* steps - when I do

(In reply to Thomas Deutschmann from comment #21)
> > $ locale
> > LANG=en_US.UTF-8
> > [...]
> > 
> > $ thunderbird -no-remote -CreateProfile "en_test1"
> > $ thunderbird -P en_test1

my warnings still look like those of Manfred Knick:

1576594898468	addons.xpi	WARN	Ignoring distribution: not an XPI: /usr/lib64/thunderbird/distribution/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}
1576594898850	addons.xpi	WARN	Failed to parse recommendation: TypeError: NetworkError when attempting to fetch resource.(resource://gre/modules/addons/XPIProvider.jsm:228:15) JS Stack trace: awaitPromise@XPIProvider.jsm:228:15
syncLoadManifest@XPIInstall.jsm:746:22
addMetadata@XPIDatabase.jsm:2711:32
processFileChanges@XPIDatabase.jsm:3152:26
checkForChanges@XPIProvider.jsm:2946:55
startup@XPIProvider.jsm:2406:12
callProvider@AddonManager.jsm:213:31
_startProvider@AddonManager.jsm:649:5
startup@AddonManager.jsm:873:14
startup@AddonManager.jsm:3469:26
observe@addonManager.js:70:29

As I just created a new empty profile, this cannot have anything to do with the existing profile, or can it?
Comment 23 Harald Judt 2019-12-19 08:40:38 UTC
For me, the issue with the calendar extension not always working has been fixed with thunderbird-68.3.0 and using the "internal" calendar version (USE flag "lightning" enabled). It no longer requires any hacks. Finally, thunderbird and lightning are in a usable state again.

Tested on three different machines.
Thanks.
Comment 24 Timo Ollech 2019-12-19 13:47:28 UTC
(In reply to Harald Judt from comment #23)
> For me, the issue with the calendar extension not always working has been
> fixed with thunderbird-68.3.0 and using the "internal" calendar version (USE
> flag "lightning" enabled). It no longer requires any hacks. Finally,
> thunderbird and lightning are in a usable state again.

Yesss! Works for me, too.
Comment 25 Manfred Knick 2019-12-24 15:05:42 UTC
(In reply to Thomas Deutschmann from comment #21)

> Sorry, I don't get your point and I still cannot reproduce:
That might be caused by different issues mixed into this single BUG report.
CONFIRM: Within 68.3.1, the add-on itself WORKSFORME,
if I opt to open-up the Calendar / Task Tab view.

In earlier versions, it was possible to select the calendar being displayed
as a side-bar alongside on the right -
quite helpful when analyzing a longer thread with multiple project participants.
AFAICR, within 68.2, this could be enabled sacrificing language adoption.

Within 68.3.1, the only work-around I finally found is via

. . . View -> Today Pane -> show Mini-Month

The German version still fails:

. . . Ansicht -> Tagesplan -> Tagesplan anzeigen (F11): works
. . . Ansicht -> Tagesplan -> Tagesübersicht anzeigen : works
. . . Ansicht -> Tagesplan -> Monatsübersicht anzeigen : fails   <---

. . . Ansicht -> Kalender -> Seitenleiste -> Seitenleiste anzeigen : fails <---

To me, it seems that "Ansicht -> Kalender" options
only work IFF you are inside the "Kalender Tab".

Perhaps I succomb a fundamental usage misunderstanding?

Thanks for your efforts!
Comment 26 Oliver Freyermuth 2019-12-25 01:56:07 UTC
For me, the issue still happens with 68.3.1 and built-in lightning, but it has become much more rare. It seems to depend strongly on how many add-ons there are, and how the CPU load is when Thunderbird is starting, and happens more often using localization. 

The calendar pane was always working for me - but when "loading failed", it has wrong colours, the list of calendars is empty, reminders don't fire up, and the side-bar pane is broken. 
Restarting Thunderbird a few times usually brings me back to functional state (correct colours, side-bar not empty anymore, reminders working). In case Lightning wrill go to functional state, it takes longer until the Thunderbird UI becomes visible - in case it will go to broken state, UI becomes visible early, but with broken Lightning. 
It "feels" like some race condition depending on CPU load, I/O load, number of plugins etc. At least, it has become less likely in the last releases (for me).
Comment 27 Harald Judt 2020-01-01 23:10:13 UTC
What is bad now in the thunderbird-68.3.1 release is that I cannot create events spanning multiple days. Whenever I want to change the end date, it resets it to the previous value, and the pop-up when I click on the down-arrow widget besides the text box doesn't even open. Don't know if it worked in any 68.* release before but IIRC it did.
Comment 28 Harald Judt 2020-01-16 23:32:25 UTC
(In reply to Harald Judt from comment #27)
> What is bad now in the thunderbird-68.3.1 release is that I cannot create
> events spanning multiple days. Whenever I want to change the end date, it
> resets it to the previous value, and the pop-up when I click on the
> down-arrow widget besides the text box doesn't even open. Don't know if it
> worked in any 68.* release before but IIRC it did.

The problem is the german language pack. If I disable it, the widgets for start/end date work without any problems.
Comment 29 Michelangelo Scopelliti 2020-05-05 17:34:53 UTC
I have the same issue. I suppose the problem presents itself when using any language pack (or maybe just some; I have the same issue with the Italian language pack).
But i did some test (every time starting with a fresh profile):
* mail-client/thunderbird-bin from portage: no problem, with and without language pack
* "official build" (localized binary version from thunderbird.net) without installation, just unpacked and launched: no issues

On my system:

emerge -pqv thunderbird
[ebuild   R   ] mail-client/thunderbird-68.8.0  USE="clang dbus gmp-autoupdate lightning lto pulseaudio startup-notification system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-sqlite system-webp -bindist -custom-cflags -custom-optimization -debug -eme-free -hardened -jack (-pgo) (-selinux) -system-libvpx -test -wayland -wifi" CPU_FLAGS_X86="avx2" L10N="it -ar -ast -be -bg -br -ca -cs -cy -da -de -el -en-GB -es-AR -es-ES -et -eu -fi -fr -fy -ga -gd -gl -he -hr -hsb -hu -hy -id -is -ja -ko -lt -nb -nl -nn -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -sq -sr -sv -tr -uk -vi -zh-CN -zh-TW"
Comment 30 Michelangelo Scopelliti 2020-05-06 16:19:20 UTC
(In reply to Michelangelo Scopelliti from comment #29)
I was reading my early post, and I have to apologize for the hastily way it was written. Maybe I can add some clarification.
The issues I see, (with the Italian localization) are three:
1. No mini-calendar in the top-left corner in the calendar pane
2. No mini-calendar in the drop down menu in the event creation dialog
3. a weird 
                        <radio id="alarmSoundCustom"
------------------------^
in any preference tab.

I've performed some tests, using gentoo-built thunderbird (from portage) and thunderbird-built thunderbird (https://download-installer.cdn.mozilla.net/pub/thunderbird/releases/68.8.0/linux-x86_64/it/thunderbird-68.8.0.tar.bz2), both localized.

After a backup, the test (see comment #29)were

$ rm -rf .thunderbird .cache/thunderbird && thunderbird

snd

$ rm -rf .thunderbird .cache/thunderbird && thunderbird/thunderbird (after unpacking the tarball in my $HOME)

the downloaded binary worked flawlessly.

I was able to get rid of issue 3 - compiled gdata-provider (Provider for Google Calendar, {a62ef8ec-5fdc-40c2-873c-223b8a6925cc}) is missing a manifest.json; writing a bogus one fixed the issue; but I had no luck with issues 1 and 2. The workaround of disabling the localization, via LANG=C and or disabling the "it" extension, makes the calendar extension fully functional again, but the localization -- of course -- is lost. I assume that the other issues are caused by errors in such an extension; if you compare it with the "official" one, you can see many missing components (chrome, components, default, modules) besides the named manifest.json .

So, at the moment, I have another workaround: disable lightning in the build, and install lightning (and, if needed, gdata-provider) as external xpi. In such way, it is possible to have a localized calendar.
Comment 31 Manfred Knick 2020-05-13 09:27:46 UTC
(In reply to Michelangelo Scopelliti from comment #30)

> ... workaround: disable lightning in the
> build, and install lightning (...) as external
> xpi. In such way, it is possible to have a localized calendar.

Confirmed with + l10n_de (German):  WORKSFORME.

Thanks!
Comment 32 Timo Ollech 2020-05-27 14:14:59 UTC
(In reply to Michelangelo Scopelliti from comment #30)
> 3. a weird 
>                         <radio id="alarmSoundCustom"
> ------------------------^
> in any preference tab.

This appeared to me now also after the latest update (maybe I just didn't notice it before).

> 
> I was able to get rid of issue 3 - compiled gdata-provider (Provider for
> Google Calendar, {a62ef8ec-5fdc-40c2-873c-223b8a6925cc}) is missing a
> manifest.json; writing a bogus one fixed the issue; but I had no luck with
> issues 1 and 2. The workaround of disabling the localization, via LANG=C and
> or disabling the "it" extension, makes the calendar extension fully
> functional again, but the localization -- of course -- is lost. I assume
> that the other issues are caused by errors in such an extension; if you
> compare it with the "official" one, you can see many missing components
> (chrome, components, default, modules) besides the named manifest.json .

What did you write in the manifest.json?
Comment 33 Timo Ollech 2020-05-27 14:22:22 UTC
btw I just opened an issue upstream: https://github.com/kewisch/gdata-provider/issues/75
Comment 34 Michelangelo Scopelliti 2020-05-31 10:22:50 UTC
(In reply to Timo Ollech from comment #32)
[CUT]
> What did you write in the manifest.json?

I don't recall exactly, I copied it from lightning manifest.json changing application id, name, and removing non-matching fields (I took the idea from errors reported in comment #20, same errors I was reading on my system).
Comment 35 Thomas Deutschmann (RETIRED) gentoo-dev 2020-10-05 19:30:09 UTC
I am closing this as obsolete now that it is integrated in >=78.x.