Closed Bug 301973 Opened 19 years ago Closed 19 years ago

Cannot complete "Create New Calendar" wizard in lightning.

Categories

(Calendar :: Internal Components, defect)

x86
All
defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jonathanteatime, Assigned: shaver)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Thunderbird version 1.0+ (20050712)

I can't advance past "You can give your calendar a nickname and colorize the
events from this calendar". The next button lights up after I enter text in the
Name field, but remains inactive. I am trying to create a local calendar.

1. When Create New Calendar dialog opens JS Console shows the following:

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 92"  data: no]

2. After entering "test" in the name field and clicking the Next button:

Error: [Exception... "Invalid ClassID or ContractID"  nsresult: "0x80570017
(NS_ERROR_XPC_BAD_CID)"  location: "JS frame ::
file:///C:/Documents%20and%20Settings/jporter/Application%20Data/Thunderbird/Profiles/9qg5jc1j.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js
:: initBaseComponent :: line 63"  data: no]
Source File:
file:///C:/Documents%20and%20Settings/jporter/Application%20Data/Thunderbird/Profiles/9qg5jc1j.default/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calItemModule.js
Line: 63

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://calendar/content/calendarUtils.js :: getCalendarManager :: line 46" 
data: no]
Source File: chrome://calendar/content/calendarUtils.js
Line: 46


Reproducible: Always

Steps to Reproduce:
Start Thunderbird
Click on Calendars in the sidebar
Click new
Accept default selection of local
Enter arbitrary text for calendar name
click next
Actual Results:  
Creation process does not proceed to next step

Expected Results:  
provided proceeded to next step

clean, default installation of Thunderbird 1.1a2 using lightning-win32-20050601.xpi
I am having the same problem. The errors in the Console are the same.

Thunderbird:        1.0+ (20050804)
Lightning:          0.0.1+ (20050804 16:40)
Deer Park Alpha 2:  Current using beta update url from 20050804 12:33 Pacific
Windows XP

I have been updating with nightlies, as often as they are released, for the
lqast few weeks. I have been unable durring this time to create a new calendar
for the same reason, in all versions I have tried.
I believe this bug is probably caused by the same symptom as bug 303513.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
I believe this symptom probably has the same root cause as bug 303513.
Installing a nightly lightning against TBird 1.1a2 on linux with LD_DEBUG
reveals:
 /home/dmose/.thunderbird/fa0trhfr.ltinstall/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/libstoragecomps.so:
error: symbol lookup error: undefined symbol:
_Z20NS_NewGenericModule2PK12nsModuleInfoPP9nsIModule
(fatal)

which, according to c++filt, translates to:

NS_NewGenericModule2(nsModuleInfo const*, nsIModule**)


The problem here is the const: the libxpcom_core.so provides
NS_NewGenericModule2(nsModuleInfo*, nsIModule **)
So switching to testing the current lightning nightly with the current tbird
nightly made that problem go away.  Now NSGetModule can't be found.
According to readelf, libstoragecomps.so from the lightning nightly is offering
up NSGetModule, whereas the working components in a Thunderbird nightly are
offering up NSGetModule@@Exported.  This would seem to point to some sort of
problem in or around the mozilla/build/unix/gnu-ld-scripts goop.  If
IS_COMPONENT were not being set to 1 in the mozilla/storage/build/Makefile.in, I
could see how this might happen.  Is it possible that that's getting overridden
somehow?
*** Bug 306548 has been marked as a duplicate of this bug. ***
This was solved by help from Coop and Chase in splitting up the Tinderbox builds
into separate Sunbird and TBird+Lightning.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Using a self-built Thunderbird (Mozilla 1.8 branch) and Lightning, this bug does
not seem to have gone away. I still cannot create a new calendar. Is there
something people need to change in their build setup (as maybe implied by
comment 9) for this to work correctly?
This was fixed on the trunk, not the 1.8 branch.
Err, never mind that last comment; it's wrong.  Are you building both
Thunderbird & Lightning yourself?  If so, is it a static build of Thunderbird?
Attached file My .mozconfig file β€”
Yes, it's a static build of Thunderbird; should it be non-static? This is the
.mozconfig file I'm using to build.
Attachment #197089 - Attachment mime type: application/octet-stream → text/plain
I do not believe this is resolved.  I am installing the xpi on top of Thunderbird and it is acting exactly the same...

version 1.5 (20051025) of TB  (Yes I am on a beta)
I DLed the xpi from "http://ftp.mozilla.org/pub/mozilla.org/calendar/sunbird/nightly/latest-trunk/"
dated 31-Oct-2005 17:24

(In reply to comment #14)
> version 1.5 (20051025) of TB  (Yes I am on a beta)

The notes at the bottom of the Lightning ftp page clearly state:
"Use these extension XPIs with the Thunderbird builds next to them. Note, however, that any trunk Thunderbird build of similar vintage is likely to work."

"the Thunderird builds next to them" are trunk.  Beta is not trunk, so it won't work.  This bug is fixed, and there is work being done to enable lightning to also be installed in 1.5 builds in the future.

Sorry.
I was directed to the FTP from the newsgroup to help test.  There is no warning displayed when reaching the DL this way.

again, Sorry. Just trying to help.
Actually, I think Jim may be referring to a different bug.  The XPIs at the URL he quotes are, in fact, not Lightning XPIs at all, but Calendar extension XPIs.  It's entirely possible (likely, even) that they have the same static build issue that Lightning used.  However, that really wants to live in a separate bug.  Jim, if you could file a new bug, not in the Lightning component, that would be great.
(In reply to comment #15)
> (In reply to comment #14)
> > version 1.5 (20051025) of TB  (Yes I am on a beta)
> 
> The notes at the bottom of the Lightning ftp page clearly state:
> "Use these extension XPIs with the Thunderbird builds next to them. Note,
> however, that any trunk Thunderbird build of similar vintage is likely to
> work."
> 
> "the Thunderird builds next to them" are trunk.  Beta is not trunk, so it won't
> work.  This bug is fixed, and there is work being done to enable lightning to
> also be installed in 1.5 builds in the future.

I can confirm the bug with the current 1.6a1 Win32 nightly. :-( 
(Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051031 Thunderbird/1.6a1 ID:2005103106)
It used to work some time ago...

Cheers,
Dominik
(In reply to comment #18)
> 
> I can confirm the bug with the current 1.6a1 Win32 nightly. :-( 
> (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051031
> Thunderbird/1.6a1 ID:2005103106)
> It used to work some time ago...
> 
> Cheers,
> Dominik
> 

Same with 1.6a1 Win32 Nightly 20051116 (Thunderbird and Lightning downloaded from yesterdays trunk).

Error is JavaScript Console when creating new calendar is:
Error: dbService.getProfileStorage is not a function
Source File: file:///C:/Documents%20and%20Settings/Cian.Davis/Application%20Data/Thunderbird/Profiles/default/ij0dvote.slt/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calCalendarManager.js
Line: 125

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://calendar/content/calendarUtils.js :: getCalendarManager :: line 46"  data: no]
Source File: chrome://calendar/content/calendarUtils.js
Line: 46

Identical error whether local or remote calendar. Tested on both existing and clean install of Thunderbird.

Regards,
Cian
(In reply to comment #19)
> Error is JavaScript Console when creating new calendar is:
> Error: dbService.getProfileStorage is not a function
> Source File:

That's something different.  Bug 316761, actually.  ssitter fixed that and today's build (when it comes out) should not have that error.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: