Lightning 3.8b1 and SeaMonkey 2.33

For discussing the Mozilla Calendar, Sunbird and Lightning projects.
Post Reply
User avatar
raj_bhaskar
Posts: 1946
Joined: November 7th, 2002, 3:50 am
Location: Glasgow, Scotland
Contact:

Lightning 3.8b1 and SeaMonkey 2.33

Post by raj_bhaskar »

I've just upgraded my SeaMonkey to 2.33 and accepted the upgrade of Lightning to 3.8b1. However, when I go to start it up, I see the following errors in the JS console, and none of my Google calendars are visible (this is with all other extensions disabled, other than Lightning and the Google Provider):

Code: Select all

Timestamp: 11/03/2015 18:54:10
Error: undefined entity
Source File: chrome://calendar/content/calendar-calendars-list.xul
Line: 17, Column: 7
Source Code:
      <menuitem id="list-calendars-context-togglevisible"

Timestamp: 11/03/2015 18:58:28
Error: NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED: JavaScript component does not have a method named: "onStartBatch"'JavaScript component does not have a method named: "onStartBatch"' when calling method: [calIObserver::onStartBatch]
Source File: resource://calendar/modules/calProviderUtils.jsm
Line: 467


Timestamp: 11/03/2015 18:58:28
Error: TypeError: currentView(...) is undefined
Source File: chrome://calendar/content/calendar-chrome-startup.js
Line: 90


Timestamp: 11/03/2015 18:58:29
Error: [Exception... "JavaScript component does not have a method named: "onPropertyChanged"'JavaScript component does not have a method named: "onPropertyChanged"' when calling method: [calIObserver::onPropertyChanged]"  nsresult: "0x80570030 (NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)"  location: "JS frame :: resource://calendar/modules/calUtils.jsm -> file:///C:/Users/raj/AppData/Roaming/Mozilla/SeaMonkey/Profiles/6su1ip4b.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js :: notifyFunc :: line 1211"  data: no]
STACK: notifyFunc@resource://calendar/modules/calUtils.jsm -> file:///C:/Users/raj/AppData/Roaming/Mozilla/SeaMonkey/Profiles/6su1ip4b.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js:1211:16
calListenerBag_notify@resource://calendar/modules/calUtils.jsm -> file:///C:/Users/raj/AppData/Roaming/Mozilla/SeaMonkey/Profiles/6su1ip4b.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js:1216:8
calObserverBag_notify@resource://calendar/modules/calProviderUtils.jsm:459:15
calCompositeCalendarObserverHelper.prototype.onPropertyChanged@file:///C:/Users/raj/AppData/Roaming/Mozilla/SeaMonkey/Profiles/6su1ip4b.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calCompositeCalendar.js:65:8
notifyFunc@resource://calendar/modules/calUtils.jsm -> file:///C:/Users/raj/AppData/Roaming/Mozilla/SeaMonkey/Profiles/6su1ip4b.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js:1211:16
calListenerBag_notify@resource://calendar/modules/calUtils.jsm -> file:///C:/Users/raj/AppData/Roaming/Mozilla/SeaMonkey/Profiles/6su1ip4b.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js:1216:8
calObserverBag_notify@resource://calendar/modules/calProviderUtils.jsm:459:15
calCachedCalendarObserverHelper.prototype.onPropertyChanged@resource://calendar/modules/calUtils.jsm -> file:///C:/Users/raj/AppData/Roaming/Mozilla/SeaMonkey/Profiles/6su1ip4b.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calCachedCalendar.js:107:12
notifyFunc@resource://calendar/modules/calUtils.jsm -> file:///C:/Users/raj/AppData/Roaming/Mozilla/SeaMonkey/Profiles/6su1ip4b.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js:1211:16
calListenerBag_notify@resource://calendar/modules/calUtils.jsm -> file:///C:/Users/raj/AppData/Roaming/Mozilla/SeaMonkey/Profiles/6su1ip4b.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js:1216:8
calObserverBag_notify@resource://calendar/modules/calProviderUtils.jsm:459:15
cPB_setProperty@resource://calendar/modules/calProviderUtils.jsm:773:0
calGoogleCalendar.prototype.setProperty@file:///C:/Users/raj/AppData/Roaming/Mozilla/SeaMonkey/Profiles/6su1ip4b.default/extensions/%7Ba62ef8ec-5fdc-40c2-873c-223b8a6925cc%7D/components/calGoogleCalendar.js:335:15
JSONToEvent@resource://gdata-provider/modules/gdataUtils.jsm:640:16
ItemSaver.prototype.parseEventStream/<@resource://gdata-provider/modules/gdataUtils.jsm:954:27
TaskImpl_run@resource://gre/modules/Task.jsm:330:40
TaskImpl@resource://gre/modules/Task.jsm:275:2
createAsyncFunction/asyncFunction@resource://gre/modules/Task.jsm:249:13
Task_spawn@resource://gre/modules/Task.jsm:164:11
ItemSaver.prototype.parseEventStream@resource://gdata-provider/modules/gdataUtils.jsm:930:0
ItemSaver.prototype.parseItemStream@resource://gdata-provider/modules/gdataUtils.jsm:879:19
calGoogleCalendar.prototype.replayChangesOn/eventsPromise<@file:///C:/Users/raj/AppData/Roaming/Mozilla/SeaMonkey/Profiles/6su1ip4b.default/extensions/%7Ba62ef8ec-5fdc-40c2-873c-223b8a6925cc%7D/components/calGoogleCalendar.js:716:23
calGoogleSession.prototype.asyncPaginatedRequest/<@resource://gdata-provider/modules/gdataSession.jsm:375:22
TaskImpl_run@resource://gre/modules/Task.jsm:330:40

Source File: resource://calendar/modules/calUtils.jsm -> file:///C:/Users/raj/AppData/Roaming/Mozilla/SeaMonkey/Profiles/6su1ip4b.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calUtils.js
Line: 1213



That last one seems to be repeated many times with different method names.

Any suggestions?
User avatar
raj_bhaskar
Posts: 1946
Joined: November 7th, 2002, 3:50 am
Location: Glasgow, Scotland
Contact:

Re: Lightning 3.8b1 and SeaMonkey 2.33

Post by raj_bhaskar »

PS: I did read the release notes and "calendar.icaljs" is set to false in about:config (this was the default)
User avatar
patclash
Posts: 128
Joined: November 24th, 2007, 4:06 pm
Location: France

Re: Lightning 3.8b1 and SeaMonkey 2.33

Post by patclash »

User avatar
ssitter
Posts: 2495
Joined: October 19th, 2007, 12:24 am
Location: Germany

Re: Lightning 3.8b1 and SeaMonkey 2.33

Post by ssitter »

Lightning 3.8b1 contains many broken localizations. The workaround might be to install an en-US only build.
User avatar
raj_bhaskar
Posts: 1946
Joined: November 7th, 2002, 3:50 am
Location: Glasgow, Scotland
Contact:

Re: Lightning 3.8b1 and SeaMonkey 2.33

Post by raj_bhaskar »

That was it, thanks. I installed this en-US build: https://ftp.mozilla.org/pub/mozilla.org ... .win32.xpi and it's working fine again. Thanks!
User avatar
ssitter
Posts: 2495
Joined: October 19th, 2007, 12:24 am
Location: Germany

Re: Lightning 3.8b1 and SeaMonkey 2.33

Post by ssitter »

rsteinmetz70112
Posts: 25
Joined: February 20th, 2004, 9:32 am

Re: Lightning 3.8b1 and SeaMonkey 2.33

Post by rsteinmetz70112 »

A fix for this has been discovered. You need to install the Visual C++ redistributable.

Basically this bug is the result of the visual C++ redistributable missing from your installation. Since some people had it and some didn't the results were not consistent.


Visual C++ Redistributable Packages for Visual Studio 2013:
http://www.microsoft.com/en-us/download ... x?id=40784


Visual C++ Redistributable for Visual Studio 2012 Update 4:
http://www.microsoft.com/en-us/download ... x?id=30679

Visual C++ 2010 Redistributable Package (x86):
http://www.microsoft.com/en-us/download ... px?id=5555

You may not need all of them and apparently the 2010 version isn't the latest.

Philipp Kewisch was first report the fix on bugzilla.
Thanks to everyone who helped find the problem.
Post Reply