Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490465 - www-client/seamonkey-2.23: can't get Lightning-2.8b1 add-on (calendar) to work
Summary: www-client/seamonkey-2.23: can't get Lightning-2.8b1 add-on (calendar) to work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL: https://bugzilla.mozilla.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-05 09:32 UTC by sphakka
Modified: 2015-11-04 13:27 UTC (History)
1 user (show)

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


Attachments
screen shot (sm-2.22_lightning-2.7b1_broken.png,108.63 KB, image/png)
2013-11-05 09:34 UTC, sphakka
Details
seamonkey-2.22_with_calendar.png (seamonkey-2.22_with_calendar.png,197.61 KB, image/png)
2013-11-05 10:41 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details
Add-ons manager / extensions (sm-2.22_extensions.png,85.70 KB, image/png)
2013-11-09 22:20 UTC, sphakka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sphakka 2013-11-05 09:32:37 UTC
With Seamonkey-2.22 I can't get any version of the Lightning add-on (calendar) to work. The official add-on page  <https://addons.mozilla.org/en-US/seamonkey/addon/lightning/>, "Development Channel" section (bottom of the page), claims that Lightning-2.7b1 is the test version for SM-2.22, but it's broken for me. Since someone else <https://addons.mozilla.org/en-US/seamonkey/addon/lightning/reviews/512604/> claims that L-2.7b1 should work, I wonder if my issue has anything to do with the way Gentoo builds SM, hence this bug...

Reproducible: Always

Steps to Reproduce:
1. Upgrade to Seamonkey-2.22 (~amd64)
2. Install/upgrade add-on Lightning-2.7b1 (beware of not to get the 2.6.2 -- the add-on manager looks also a bit broken...)
3. Open Mail/Calendar

Actual Results:  
Calendar views (day/week/month...) are empty. No operation possible -- everything greyed out.

Expected Results:  
Obvious...

Portage 2.2.7 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.15-r3, 3.10.7-gentoo-r1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.10.7-gentoo-r1-x86_64-AMD_Turion-tm-_64_X2-with-gentoo-2.2
KiB Mem:     3921104 total,   2324388 free
KiB Swap:    3148736 total,   3148736 free
Timestamp of tree: Mon, 04 Nov 2013 18:15:02 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r3, 3.2.5-r3
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13::<unknown repository>, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.5.4, 4.6.3, 4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo enlightenment xmw proaudio g-ctan unsupported portage-aeskulap
Installed sets: @xfce
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/fax /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /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 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/"
INSTALL_MASK="/usr/lib/systemd/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/enlightenment /var/lib/layman/xmw /var/lib/layman/pro-audio /var/portage/overlay/g-ctan /var/portage/overlay/unsupported /var/portage/overlay/portage-aeskulap"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 amr apng bash-completion berkdb bittorrent bluetooth branding bzip2 cairo calendar caps cdda cddb cdr cli consolekit cracklib crypt cups curl cvs cxx dbus directfb djvu dts dvd dvdr ebook emacs embedded emboss enchant encode exif fam fbcon ffmpeg firefox flac fortran gdbm gif git gnutls gpm h323 http hunspell iconv ipv6 jabber jack jpeg kontact kpathsea ladspa lame laptop latex lcms ldap libnotify libsamplerate lxde mad matroska mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib musepack mysql ncurses nls nptl nsplugin ntfs ntfsprogs ofx ogg opengl openmp openvg pam pango pcre pdf pgo png policykit ppds quicktime readline real rtmp samba sdl seamonkey session spell sql sqlite sse sse2 ssh ssl startup-notification svg system-jpeg system-sqlite tcpd threads tiff tordns truetype udev udisks unicode upower usb v4l v4l2 video vlc vorbis wavpack wifi wxwidgets x264 xcb xetex xml xv xvfb xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel usb-audio" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="crypt lvm" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" SANE_BACKENDS="epson2" USERLAND="GNU" VIDEO_CARDS="nvidia modesetting vesa" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

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

www-client/seamonkey-2.22 was built with the following:
USE="alsa crypt dbus ipc jit libnotify (multilib) startup-notification system-jpeg system-sqlite wifi -chatzilla -custom-cflags -custom-optimization -debug -gstreamer -minimal -pulseaudio -roaming (-selinux) -system-cairo -system-icu" ABI_X86="64" LINGUAS="-be -ca -cs -de -en_GB -es_AR -es_ES -fi -fr -gl -hu -it -ja -lt -nb_NO -nl -pl -pt_PT -ru -sk -sv_SE -tr -uk -zh_CN -zh_TW"
CFLAGS="-march=native -pipe -mno-avx"
CXXFLAGS="-march=native -pipe -mno-avx"
Comment 1 sphakka 2013-11-05 09:34:44 UTC
Created attachment 362611 [details]
screen shot

screen shot of Lightning-2.b1 on a fresh Seamonkey-2.22 profile
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-11-05 09:42:16 UTC
Please test the calendar with a "clean" profile.

Start seamonkey with the profile manager

  seamonkey -ProfileManager -new-instance

and create a new profile. If the addon manager and calendar are working in the new profile the problem is within your old profile.

Please report back your results.


Just to make this clear, I am using latest seamonkey with calendar on a regular basis and did not have any trouble in the last couple of months. So this is not broken in general.
Comment 3 sphakka 2013-11-05 10:18:31 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #2)
> Please test the calendar with a "clean" profile.
> 
> Start seamonkey with the profile manager
> 
>   seamonkey -ProfileManager -new-instance

In fact, I already did it: the screen shot is from a clean profile.

> Just to make this clear, I am using latest seamonkey with calendar on a
> regular basis and did not have any trouble in the last couple of months. So
> this is not broken in general.

Could you please tell me what versions are you using and how you built it? For me the latest stable combination was SM-2.21-r1 + L-2.6.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-11-05 10:41:52 UTC
Created attachment 362617 [details]
seamonkey-2.22_with_calendar.png

Here's a screenshot of seamonkey-2.22 with clanedar-2.7b1 running in a clean profile (sorry, I'm not allowed to disclose anything related to my work in a screenshot).

Please post the output of

  emerge -info seamonkey

to this bug.
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-11-05 10:43:14 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #4)
>
> Please post the output of
> 
>   emerge -info seamonkey
> 
> to this bug.

Sorry, you did that already. Ignore my request ;)
Comment 6 sphakka 2013-11-05 11:22:33 UTC
Further details.
- My build comes with DOM Inspector, JavaScript Debugger and Enigmail add-ons enabled by default, though disabling them doesn't change anything.
- When a calendar tab is open, CTRL+W doesn't work any more in the Mail window. Closing the calendar tab gives back a functional key short cut.
- The Error Console is full of bad things:
  * Timestamp: 2013-11-05 12:16:09
Error: Components.classes[cid] is undefined
Source File: resource://calendar/modules/calUtils.jsm -> file:///home/marcoep/.mozilla/seamonkey/8mk2xqaq.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js
Line: 22
  * Timestamp: 2013-11-05 12:16:09
Error: [Exception... "'[JavaScript Error: "Components.classes[cid] is undefined" {file: "resource://calendar/modules/calUtils.jsm -> file:///home/marcoep/.mozilla/seamonkey/8mk2xqaq.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js" line: 22}]' when calling method: [calIObserver::onLoad]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: resource://calendar/modules/calUtils.jsm -> file:///home/marcoep/.mozilla/seamonkey/8mk2xqaq.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js :: notifyFunc :: line 1265"  data: yes]
STACK: undefined
Source File: resource://calendar/modules/calUtils.jsm -> file:///home/marcoep/.mozilla/seamonkey/8mk2xqaq.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js
Line: 1267
  * Timestamp: 2013-11-05 12:16:09
Error: TypeError: Components.classes[cid] is undefined
Source File: resource://calendar/modules/calUtils.jsm -> file:///home/marcoep/.mozilla/seamonkey/8mk2xqaq.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js
Line: 22
  * Timestamp: 2013-11-05 12:16:09
Error: Components.classes['@mozilla.org/calendar/datetime;1'] is undefined
Source File: resource://calendar/modules/calUtils.jsm -> file:///home/marcoep/.mozilla/seamonkey/8mk2xqaq.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calDateTimeFormatter.js
Line: 25
  * ...
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-11-06 12:13:15 UTC
Do you have the same problem with seamonkey-bin-2.22?
Comment 8 sphakka 2013-11-08 16:56:06 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #7)
> Do you have the same problem with seamonkey-bin-2.22?

Nope! The binary version looks OK indeed. Meanwhile, I downgraded to stable (SM-2.21 + L2.6)... I now realize that my previous SM-2.22 was built with testing 'dev-libs/nspr-4.10.1', could that be the problem?
Comment 9 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2013-11-08 17:07:30 UTC
(In reply to sphakka from comment #8)
> (In reply to Lars Wendler (Polynomial-C) from comment #7)
> > Do you have the same problem with seamonkey-bin-2.22?
> 
> Nope! The binary version looks OK indeed. Meanwhile, I downgraded to stable
> (SM-2.21 + L2.6)... I now realize that my previous SM-2.22 was built with
> testing 'dev-libs/nspr-4.10.1', could that be the problem?

I don't think so. I am running seamonkey-2.22 with exactly the same nspr version and as I said before I don't have that problem.


I've looked at your screenshot again and I wonder what kind of desktop and window decoration that is. Maybe that's involved here...

Oh and can you please attach a screenshot of your Addon-Manager?
Comment 10 sphakka 2013-11-09 22:20:01 UTC
Created attachment 362926 [details]
Add-ons manager / extensions
Comment 11 sphakka 2013-11-09 22:36:01 UTC
(In reply to Lars Wendler (Polynomial-C) from comment #9)
> I've looked at your screenshot again and I wonder what kind of desktop and
> window decoration that is. Maybe that's involved here...

It's Xfce. But I can tell that every time Lightning broke in the past with KDE and/or any fancy SM theme the result was the same: empty calendar views and no menu functions available. Anyway, since my Xfce uses 

  x11-themes/gtk-engines-xfce-3.0.1-r300 (slotted)

and that's giving me some minor, though weird, desktop appearance issues (native xfce apps don't get the same look as other GTK apps), there might be something to investigate...

> Oh and can you please attach a screenshot of your Addon-Manager?

Done.
Comment 12 sphakka 2013-12-13 20:12:53 UTC
Still broken with SM-2.23 and L-2.8b1 (title edited accordingly).
The error console reports tons of errors like:

---------------------------------------------------

Timestamp: 2013-12-13 21:02:06
Error: [Exception... "'[JavaScript Error: "Components.classes[cid] is undefined" {file: "resource://calendar/modules/calUtils.jsm -> file:///home/marcoep/.mozilla/seamonkey/8mk2xqaq.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js" line: 22}]' when calling method: [calIObserver::onLoad]"  nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame :: resource://calendar/modules/calUtils.jsm -> file:///home/marcoep/.mozilla/seamonkey/8mk2xqaq.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js :: notifyFunc :: line 1265"  data: yes]
STACK: undefined
Source File: resource://calendar/modules/calUtils.jsm -> file:///home/marcoep/.mozilla/seamonkey/8mk2xqaq.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js
Line: 1267

Timestamp: 2013-12-13 21:02:06
Error: Components.classes['@mozilla.org/calendar/datetime;1'] is undefined
Source File: resource://calendar/modules/calUtils.jsm -> file:///home/marcoep/.mozilla/seamonkey/8mk2xqaq.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calDateTimeFormatter.js
Line: 25

Timestamp: 2013-12-13 21:02:06
Error: NS_ERROR_XPC_GS_RETURNED_FAILURE: Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]
Source File: chrome://calendar/content/calUtils.js
Line: 98

---------------------------------------------------

Plus others, possibly unrelated:

---------------------------------------------------

Timestamp: 2013-12-13 21:03:23
Error: DEPRECATION WARNING: nsIContentPrefService is deprecated. Please use nsIContentPrefService2 instead.
You may find more details about this deprecation at: https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIContentPrefService2
chrome://communicator/content/viewZoomOverlay.js 70 FullZoom_destroy
chrome://communicator/content/viewZoomOverlay.js 392 unregisterZoomManager
null 0 null

Source File: resource://gre/modules/Deprecated.jsm
Line: 79


Timestamp: 2013-12-13 21:03:36
Error: DEPRECATION WARNING: nsIContentPrefService is deprecated. Please use nsIContentPrefService2 instead.
You may find more details about this deprecation at: https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIContentPrefService2
chrome://communicator/content/viewZoomOverlay.js 200 FullZoom_onLocationChange
chrome://navigator/content/nsBrowserStatusHandler.js 344 null
chrome://navigator/content/tabbrowser.xml 844 notifyUrlBar
chrome://navigator/content/tabbrowser.xml 841 updateUrlBar
chrome://navigator/content/tabbrowser.xml 571 mTabProgressListener/<.onLocationChange
null 0 null

Source File: resource://gre/modules/Deprecated.jsm
Line: 79
Comment 13 sphakka 2014-01-15 20:52:11 UTC
Mozilla's report about this issue is in the URL field. So the bug does exist, and 
apparently there's some positive progress, see comment #14 here: https://bugzilla.mozilla.org/show_bug.cgi?id=941217#c14
Comment 14 sphakka 2014-02-11 09:49:11 UTC
Good news: problem solved with SM-2.24 and L-2.9b1 :-)