MozillaZine

Can't add calendar in Lightning

For discussing the Mozilla Calendar, Sunbird and Lightning projects.
tagentry
 
Posts: 3
Joined: April 8th, 2007, 6:49 pm

Post Posted April 8th, 2007, 7:01 pm

I'm using this product fine on my laptop so I installed Thunderbird and Lightning on my fiance's laptop running the same load of Fedora core 6 2.6.20.1-2933 with Thunderbird 1.5.0.10 and Lightning 0.3.1. The mini-calendar shows up but I can't add any events and the only calendar view I get is the day view. I noticed that there isn't a calendar loaded under the calendar tab so I attempt to add the calendar I get to the tab where I enter the name and choose the color and the wizard won't proceed beyond this point.

Any ideas? I have removed Thunderbird, Lightning multiple times, downgraded, upgraded, etc. What am I missing?

Thx

Tom Gentry

Old ssiter
 
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post Posted April 9th, 2007, 1:51 am

Any error messages in the JavaScript Console?

tagentry
 
Posts: 3
Joined: April 8th, 2007, 6:49 pm

Post Posted April 9th, 2007, 7:53 am

Error: uncaught exception: [Exception... "Invalid ClassID or ContractID" nsresult: "0x80570017 (NS_ERROR_XPC_BAD_CID)" location: "JS frame :: chrome://calendar/content/calendarUtils.js :: <TOP_LEVEL> :: line 78" data: no]
Error: prefService has no properties
Source File: chrome://calendar/content/calendar-decorated-week-view.xml
Line: 247
Error: [Exception... "Invalid ClassID or ContractID" nsresult: "0x80570017 (NS_ERROR_XPC_BAD_CID)" location: "JS frame :: file:///home/aimee/.thunderbird/ou4ttn8a.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js :: initBaseComponent :: line 66" data: no]
Source File: file:///home/aimee/.thunderbird/ou4ttn8a.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js
Line: 66
Error: [Exception... "Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]" nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)" location: "JS frame :: chrome://lightning/content/messenger-overlay-sidebar.js :: ltnOnLoad :: line 180" data: no]
Source File: chrome://lightning/content/messenger-overlay-sidebar.js
Line: 180
Error: [Exception... "Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]" nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)" location: "JS frame :: file:///home/aimee/.thunderbird/ou4ttn8a.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/js/calUtils.js :: getCalendarManager :: line 65" data: no]
Source File: file:///home/aimee/.thunderbird/ou4ttn8a.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/js/calUtils.js
Line: 65
Error: [Exception... "Component returned failure code: 0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE) [nsIJSCID.getService]" nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)" location: "JS frame :: chrome://lightning/content/lightning-utils.js :: ltnGetService :: line 59" data: no]
Source File: chrome://lightning/content/lightning-utils.js
Line: 59
Error: CalDateTime is not a constructor
Source File: chrome://lightning/content/agenda-tree.js
Line: 424
Error: missing ; before statement
Source File: javascript: Error: uncaught exception: [Exception... "Invalid ClassID or ContractID" nsresult: "0x80570017 (NS_ERROR_XPC_BAD_CID)" location: "JS frame :: chrome://calendar/content/calendarUtils.js :: <TOP_LEVEL> :: line 78" data: no]
Line: 1, Column: 17
Source Code:
Error: uncaught exception: [Exception... "Invalid ClassID or ContractID" nsresult: "0x80570017 (NS_ERROR_XPC_BAD_CID)" location: "JS frame :: chrome://calendar/content/calendarUtils.js :: <TOP_LEVEL> :: line 78" data: no]

Old ssiter
 
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post Posted April 9th, 2007, 2:56 pm

It looks like the Lightning build you installed is not binary compatible with the Thunderbird build you use. This might be caused by e.g. using a different compiler version for Thunderbird and Lightning. The official Lightning builds are compiled with the same compiler version as the official Mozilla Thunderbird builds that are available from releases.mozilla.org. You could retry with an official Thunderbird build or download/compile a Lightning build that matches the Fedora Thunderbird build.

tagentry
 
Posts: 3
Joined: April 8th, 2007, 6:49 pm

Post Posted April 9th, 2007, 9:26 pm

Both laptops were installed from the same repository and I retrieved the Lightning extension from mozilla. I tried using an older rpm from freshrpms and then tried using one from pbone.net with no luck. Still getting the same errors in the java console.

Old ssiter
 
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post Posted April 10th, 2007, 12:13 am

I'd like you to try a Thunderbird build from http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/ to see if this would fix the issue.

Old HardinComp
 
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post Posted April 22nd, 2007, 10:36 am

I'm getting the same error on my Ubuntu box, but rather than use the Tb from the Ubuntu repos I always get my Mozilla software straight from the source. When trying to use the Provider Add-on to add my Google Calendar this is what I get in the error console when I try to get past the screen to name my new calendar (the first error pops up as soon as I click the Add button to start the process.
Error: uncaught exception: [Exception... "Invalid ClassID or ContractID" nsresult: "0x80570017 (NS_ERROR_XPC_BAD_CID)" location: "JS frame :: chrome://calendar/content/calendarUtils.js :: <TOP_LEVEL> :: line 78" data: no]
Error: [Exception... "Invalid ClassID or ContractID" nsresult: "0x80570017 (NS_ERROR_XPC_BAD_CID)" location: "JS frame :: file:///media/WinData/Tb%20Profile/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js :: initBaseComponent :: line 65" data: no]
Source File: file:///media/WinData/Tb%20Profile/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js
Line: 65
Error: [Exception... "ServiceManager::GetService returned failure code:" nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)" location: "JS frame :: chrome://calendar/content/calendarUtils.js :: getCalendarManager :: line 46" data: no]
Source File: chrome://calendar/content/calendarUtils.js
Line: 46

I'm using Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 ID:2007032622 as downloaded directly from Mozilla, and the Lightning and Provider addons came from AMO.

ktanzer
 
Posts: 2
Joined: June 12th, 2007, 10:39 am

Post Posted June 12th, 2007, 10:48 am

I have the same problem too. We were running FC6, now upgraded to FC7, and the problem persists. Happens with latest nightly build, as well as 0.3.1. At home I run a similar software setup, and don't have this problem.

When I start TB, there is no calendar. The errors below show up after hitting "new..." from the calendars list, then filling in a name and pressing "next".

Is there anyway to manually create a calendar, so I might get past this problem? Thanks.

Ken

Error: [Exception... "Invalid ClassID or ContractID" nsresult: "0x80570017 (NS_ERROR_XPC_BAD_CID)" location: "JS frame :: file:///home/ktanzer/.thunderbird/default.wwu/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js :: initBaseComponent :: line 67" data: no]
Source File: file:///home/ktanzer/.thunderbird/default.wwu/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js
Line: 67

Error: [Exception... "ServiceManager::GetService returned failure code:" nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)" location: "JS frame :: chrome://calendar/content/calUtils.js :: getCalendarManager :: line 84" data: no]
Source File: chrome://calendar/content/calUtils.js
Line: 84

ktanzer
 
Posts: 2
Joined: June 12th, 2007, 10:39 am

Post Posted July 26th, 2007, 11:10 am

This problem is continuing for me, with a different twist. I've got two different FC7 machines that both access my same home directory (and same TB profile). From one machine, my calendar data loads, and Lightning (0.5) works. From the other one, no calendar data is loaded, no calendars can be created, and I get the NS_ERROR_XPC_BAD_CID messages. The non-working machine is currently 2.0.0.5, and the working one is 2.0.0.4. I think, but am not positive, this problem was extant before upgrading to 2.0.0.5.

Aside from liking to get this working, I'm wondering about this issue of binary compatibility between TB & lightning. Does this apply to all extensions, or just lightning? If most people are getting vendor-supplied TB packages (like me with Fedora), how are they ever going to be in sync with compiler versions used for lightning? Does that mean distros will have to supply their own compatible lightning versions, or that users will have to use only mozilla-supplied lightning versions?

This is all news to me, so any info is appreciated. Finally, it would be helpful to know if this is perceived as a shortcoming, and likely to be fixed at some point in the future, or if it's just the way things are and will continue to be. Thanks.

yannack
 
Posts: 16
Joined: July 27th, 2007, 4:45 am

Post Posted July 27th, 2007, 4:46 am

Hello,
I *think* I have the same problem
I tried installing Lightning and it just freezes. Both the stable 0.5 and the 0.7 nightly (both for Linux) give me the same problem, which seems to be a total mess. Basically, I cannot create any calendar, it refuses to show me anything on the calendar panel, and I have no functionality working at all!
I am using IceDove with a Debian distribution, no other problems what so ever, except for this calendar thing. The only thing I did which might not be standard is move the Mail from the default location to another.
Here are the messages I get in the error console, after simply launching IceDove (=debian's TB):

Erreur : uncaught exception: [Exception... "Invalid ClassID or ContractID" nsresult: "0x80570017 (NS_ERROR_XPC_BAD_CID)" location: "JS frame :: chrome://lightning/content/lightning-utils.js :: :: line 81" data: no]

Erreur : uncaught exception: [Exception... "Invalid ClassID or ContractID" nsresult: "0x80570017 (NS_ERROR_XPC_BAD_CID)" location: "JS frame :: chrome://lightning/content/lightning-utils.js :: :: line 81" data: no]

Erreur : [Exception... "Invalid ClassID or ContractID" nsresult: "0x80570017 (NS_ERROR_XPC_BAD_CID)" location: "JS frame :: file:///home/brehon/.mozilla-thunderbird/c32cm9ee.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js :: initBaseComponent :: line 67" data: no]
Fichier source : file:///home/brehon/.mozilla-thunderbird/c32cm9ee.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js
Ligne : 67

Erreur : [Exception... "ServiceManager::GetService returned failure code:" nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)" location: "JS frame :: chrome://lightning/content/messenger-overlay-sidebar.js :: ltnOnLoad :: line 424" data: no]
Fichier source : chrome://lightning/content/messenger-overlay-sidebar.js
Ligne : 424

Erreur : [Exception... "Invalid ClassID or ContractID" nsresult: "0x80570017 (NS_ERROR_XPC_BAD_CID)" location: "JS frame :: file:///home/brehon/.mozilla-thunderbird/c32cm9ee.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js :: initBaseComponent :: line 67" data: no]
Fichier source : file:///home/brehon/.mozilla-thunderbird/c32cm9ee.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js
Ligne : 67

Erreur : [Exception... "ServiceManager::GetService returned failure code:" nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)" location: "JS frame :: chrome://lightning/content/lightning-migration.xul :: checkOld :: line 62" data: no]
Fichier source : chrome://lightning/content/lightning-migration.xul
Ligne : 62

Erreur : [Exception... "Invalid ClassID or ContractID" nsresult: "0x80570017 (NS_ERROR_XPC_BAD_CID)" location: "JS frame :: file:///home/brehon/.mozilla-thunderbird/c32cm9ee.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js :: initBaseComponent :: line 67" data: no]
Fichier source : file:///home/brehon/.mozilla-thunderbird/c32cm9ee.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js
Ligne : 67

Erreur : [Exception... "ServiceManager::GetService returned failure code:" nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)" location: "JS frame :: file:///home/brehon/.mozilla-thunderbird/c32cm9ee.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/js/calUtils.js :: getCalendarManager :: line 84" data: no]
Fichier source : file:///home/brehon/.mozilla-thunderbird/c32cm9ee.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/js/calUtils.js
Ligne : 84

Erreur : [Exception... "ServiceManager::GetService returned failure code:" nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)" location: "JS frame :: file:///home/brehon/.mozilla-thunderbird/c32cm9ee.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/js/calUtils.js :: getCalendarManager :: line 84" data: no]
Fichier source : file:///home/brehon/.mozilla-thunderbird/c32cm9ee.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/js/calUtils.js
Ligne : 84

Erreur : [Exception... "Invalid ClassID or ContractID" nsresult: "0x80570017 (NS_ERROR_XPC_BAD_CID)" location: "JS frame :: file:///home/brehon/.mozilla-thunderbird/c32cm9ee.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js :: initBaseComponent :: line 67" data: no]
Fichier source : file:///home/brehon/.mozilla-thunderbird/c32cm9ee.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js
Ligne : 67

Erreur : [Exception... "ServiceManager::GetService returned failure code:" nsresult: "0x80570016 (NS_ERROR_XPC_GS_RETURNED_FAILURE)" location: "JS frame :: chrome://lightning/content/lightning-utils.js :: ltnGetService :: line 59" data: no]
Fichier source : chrome://lightning/content/lightning-utils.js
Ligne : 59

Erreur : [Exception... "Invalid ClassID or ContractID" nsresult: "0x80570017 (NS_ERROR_XPC_BAD_CID)" location: "JS frame :: file:///home/brehon/.mozilla-thunderbird/c32cm9ee.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js :: initBaseComponent :: line 67" data: no]
Fichier source : file:///home/brehon/.mozilla-thunderbird/c32cm9ee.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js
Ligne : 67

Erreur : [Exception... "Invalid ClassID or ContractID" nsresult: "0x80570017 (NS_ERROR_XPC_BAD_CID)" location: "JS frame :: file:///home/brehon/.mozilla-thunderbird/c32cm9ee.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js :: initBaseComponent :: line 67" data: no]
Fichier source : file:///home/brehon/.mozilla-thunderbird/c32cm9ee.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js
Ligne : 67

Erreur : Cc['@mozilla.org/calendar/datetime;1'] has no properties
Fichier source : chrome://calendar/content/calUtils.js
Ligne : 59

Erreur : gMsgFolderSelected has no properties
Fichier source : chrome://messenger/content/msgMail3PaneWindow.js
Ligne : 226

Erreur : Cc['@mozilla.org/calendar/datetime;1'] has no properties
Fichier source : chrome://calendar/content/calUtils.js
Ligne : 59

Erreur : Cc['@mozilla.org/calendar/datetime;1'] has no properties
Fichier source : chrome://calendar/content/calUtils.js
Ligne : 59

RyanMartin
 
Posts: 1
Joined: August 6th, 2007, 12:37 pm

Post Posted August 6th, 2007, 12:43 pm

I encountered this problem with Thunderbird 1.5.0.12 and Lightning 0.5 on Fedora Core 6. I traced the problem to a mismatch in the versions of libstdc++ - Thunderbird for FC6 is linked to libstdc++.so.6 but Lightning was compiled with libstdc++.so.5. I downloaded and installed the compat-libstdc++-33 rpm (available via rpm.pbone.net), uninstalled and reinstalled Lightning, and have had no problems since. Hope this helps!

discoverlinux
 
Posts: 3
Joined: August 7th, 2007, 10:08 am

Post Posted August 7th, 2007, 10:15 am

Ryan, you star! It worked on F7, thank you.

sudo yum install compat-libstdc++-33 or su -c 'yum install compat-libstdc++-33'

Shame Mozilla are leaving Thunderbird as it needs good management to increase its market share. A good calendar is essential and should be integrated.

yannack
 
Posts: 16
Joined: July 27th, 2007, 4:45 am

Post Posted August 8th, 2007, 4:43 am

Any idea on how to do this with a Debian distribution (no equivalent package to libstd-compat i think :( ) ? thanks!

Old ssiter
 
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post Posted August 8th, 2007, 5:54 am

yannack wrote:Any idea on how to do this with a Debian distribution (no equivalent package to libstd-compat i think :( ) ? thanks!
If you are using Icedove you might want to take a look at http://jean-christophe.dubacq.fr/index.php?post/2007/07/03/Lightning-05-for-icedove.

yannack
 
Posts: 16
Joined: July 27th, 2007, 4:45 am

Post Posted August 8th, 2007, 6:57 am

ssitter wrote:
yannack wrote:Any idea on how to do this with a Debian distribution (no equivalent package to libstd-compat i think :( ) ? thanks!
If you are using Icedove you might want to take a look at http://jean-christophe.dubacq.fr/index.php?post/2007/07/03/Lightning-05-for-icedove.

Thanks! I actually had found that site after posting here, and it's great and all, but I thought there might be a better way out there, in particular as I would like to test the nightly builds, and help during all the test days... oh well!
Thanks again!

Return to Calendar


Who is online

Users browsing this forum: No registered users and 2 guests