Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Lightning Nightly + TB Error: D is not defined

1 view
Skip to first unread message

Alan Lord (News)

unread,
Apr 20, 2009, 7:12:36 AM4/20/09
to
Hi

I've been using the nightly TB3 and Lightning for a couple of weeks now
on Ubuntu Jaunty with no probs.

In the last couple of days however my calendar entries have disappeared :-(

I am seeing the error in the Error Console

Error: D is not defined
Source File:
file:///home/alord/.thunderbird/tb-profile/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calUtils.jsm
->
file:///home/alord/.thunderbird/tb-profile/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/calendar-js/calDavRequestHandlers.js
Line: 206

Could it be the D in %7D (the '}') is not being interpreted correctly?

I have removed and re-installed the extension using the current nightly
from here:
http://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/nightly/latest-trunk/linux-xpi/

TB Help->About reports:

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4pre) Gecko/20090419
Lightning/1.0pre Shredder/3.0b3pre


TIA

Alan

HISA VP

unread,
Apr 20, 2009, 8:45:15 AM4/20/09
to
On Apr 20, 9:12 pm, "Alan Lord (News)" <alansli...@gmail.com> wrote:
> Hi
>
> I've been using the nightly TB3 and Lightning for a couple of weeks now
> on Ubuntu Jaunty with no probs.
>
> In the last couple of days however my calendar entries have disappeared :-(
>
> I am seeing the error in the Error Console
>
> Error: D is not defined
> Source File:
> file:///home/alord/.thunderbird/tb-profile/extensions/%7Be2fda1a4-762b-4020 -b5ad-a41df1933103%7D/modules/calUtils.jsm
> ->
> file:///home/alord/.thunderbird/tb-profile/extensions/%7Be2fda1a4-762b-4020 -b5ad-a41df1933103%7D/calendar-js/calDavRequestHandlers.js
> Line: 206
>
> Could it be the D in %7D (the '}') is not being interpreted correctly?
>
> I have removed and re-installed the extension using the current nightly
> from here:http://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/nightly/lat...

>
> TB Help->About reports:
>
> Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4pre) Gecko/20090419
> Lightning/1.0pre Shredder/3.0b3pre
>
> TIA
>
> Alan

I have the same problem - but only with Google Webdav calendars. Local
calendars work fine. I don't think it's the %7D - looking at line 206
in calDavRequestHandlers.js :

let C = new Namespace("C", "urn:ietf:params:xml:ns:caldav");
let D = new Namespace("D", "DAV:");
let multigetQueryXml =
<calendar-multiget xmlns:D={D} xmlns={C}>
<D:prop>
<D:getetag/>
<calendar-data/>
</D:prop>
</calendar-multiget>;

while (this.itemsNeedFetching.length) {
let locpath = this.itemsNeedFetching.pop();
multigetQueryXml.D::prop += <D:href xmlns:D={D}>
{locpath}</D:href>; (this is line 206)
}

I have no idea how to debug this.

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/525.19
(KHTML, like Gecko) Chrome/1.0.154.53 Safari/525.19
Lightning/1.0pre Shredder/3.0b3pre


Jon Hilton

John Vivirito

unread,
Apr 20, 2009, 10:27:04 AM4/20/09
to dev-apps...@lists.mozilla.org
> _______________________________________________
> dev-apps-calendar mailing list
> dev-apps...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-apps-calendar
>

The bug above i was unaware of but i need more info about the bug. Can you please file a bug in launchpad.net so i can get a look at it?
This is an annoying bug more so that a "bad" bug however i would like to take a look into it. When you file the bug on launchpad i will get email about it.
I am one of the maintainers of Sunbird on Ubuntu there are a few of us that touch Sunbird however its my baby :) so any and all info you can provide would be great.

--
Sincerely Yours,
John Vivirito

https://launchpad.net/~gnomefreak
https://wiki.ubuntu.com/JohnVivirito
Linux User# 414246

"How can i get lost, if i have no where to go"
-- Metallica from Unforgiven III


signature.asc

Alan Lord (News)

unread,
Apr 20, 2009, 1:13:00 PM4/20/09
to
On 20/04/09 15:27, John Vivirito wrote:
<snip />

>
> The bug above i was unaware of but i need more info about the bug. Can you please file a bug in launchpad.net so i can get a look at it?
> This is an annoying bug more so that a "bad" bug however i would like to take a look into it. When you file the bug on launchpad i will get email about it.
> I am one of the maintainers of Sunbird on Ubuntu there are a few of us that touch Sunbird however its my baby :) so any and all info you can provide would be great.
>

Hi John,

I'll try and get round to it this evening. But this is a problem for me
with Lightning, not Sunbird.

Any further info you would like?

Cheers

Al

Stefan Sitter

unread,
Apr 20, 2009, 2:07:31 PM4/20/09
to
Does it works if you use current Lightning build but an older
Thunderbird build? Bug 489079 [1] reports a similar issue with the
Provider for Google Calendar extension and states that it works with
the 20090417 Thunderbird build.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=489079

John Vivirito

unread,
Apr 20, 2009, 3:55:16 PM4/20/09
to dev-apps...@lists.mozilla.org
> _______________________________________________
> dev-apps-calendar mailing list
> dev-apps...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-apps-calendar
>
Lightning and Sunbird are built from same source in Ubuntu. The source
package name is lightning-sunbird
signature.asc

Stefan Sitter

unread,
Apr 20, 2009, 4:10:15 PM4/20/09
to
John Vivirito wrote:
> The bug above i was unaware of but i need more info about the
> bug. Can you please file a bug in launchpad.net so i can get a
> look at it? This is an annoying bug more so that a "bad" bug
> however i would like to take a look into it. When you file the
> bug on launchpad i will get email about it. I am one of the
> maintainers of Sunbird on Ubuntu there are a few of us that touch
> Sunbird however its my baby :) so any and all info you can
> provide would be great.

Hello John,

why should he report to launchpad.net? Bugs regarding Thunderbird,
Sunbird or Lightning should be filed at
<https://bugzilla.mozilla.org/>.

Or do you provide custom nightly builds for Windows Vista (used by
Jon) or Ubuntu (used by Alan) that differ from the official nightly
builds? In that case please disregard my question.

/Stefan

John Vivirito

unread,
Apr 20, 2009, 4:49:01 PM4/20/09
to dev-apps...@lists.mozilla.org
> _______________________________________________
> dev-apps-calendar mailing list
> dev-apps...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-apps-calendar
>
I could be mistaken but i thought he said he was running Ubuntu. I did
not mean to imply only reporting it to Launchpad. It should always be
reported with Mozilla first. If it is Ubuntu that he is using he should
report it in both places so we can track the progress that has been made.
I'm sorry if i wasn't clear in other posts.
signature.asc

HISA VP

unread,
Apr 20, 2009, 10:23:58 PM4/20/09
to
Thanks Stefan for referencing this thread in https://bugzilla.mozilla.org/show_bug.cgi?id=489079

I would help with more info if I could but not sure what information
is relevant or useful.

cheers,

Jon Hilton

HISA VP

unread,
Apr 20, 2009, 11:41:15 PM4/20/09
to
On Apr 21, 12:23 pm, HISA VP <proj...@gmail.com> wrote:
> Thanks Stefan for referencing this thread inhttps://bugzilla.mozilla.org/show_bug.cgi?id=489079

>
> I would help with more info if I could but not sure what information
> is relevant or useful.
>
> cheers,
>
> Jon Hilton

I have confirmed that the problem goes away if I go back to 2009-04-17
build of Shredder.

I have reported this on bugzilla - see https://bugzilla.mozilla.org/show_bug.cgi?id=489275

Jon Hilton

Alan Lord (News)

unread,
Apr 21, 2009, 4:38:59 AM4/21/09
to

Confirmed by me too:

Confirmed. I use TB3 (Latest nightly) and Lightning 1.0 (latest nightly)
with the Cosmo Caldav Calender Server - *NOT* Google.

Same problem. Calendars are not displayed and the error is as in #25 above.

Going back to a TB build of 17/04/09 but maintaining my Lightning from
20/04/09 and the calenders work.

Am running on Ubuntu Jaunty.

HTH

Al

HISA VP

unread,
Apr 21, 2009, 10:06:40 PM4/21/09
to
On Apr 21, 6:38 pm, "Alan Lord (News)" <alansli...@gmail.com> wrote:
> On 21/04/09 04:41, HISA VP wrote:
>
>
>
> > On Apr 21, 12:23 pm, HISA VP<proj...@gmail.com>  wrote:
> >> Thanks Stefan for referencing this thread inhttps://bugzilla.mozilla.org/show_bug.cgi?id=489079
>
> >> I would help with more info if I could but not sure what information
> >> is relevant or useful.
>
> >> cheers,
>
> >> Jon Hilton
>
> > I have confirmed that the problem goes away if I go back to 2009-04-17
> > build of Shredder.
>
> > I have reported this on bugzilla - seehttps://bugzilla.mozilla.org/show_bug.cgi?id=489275

>
> > Jon Hilton
>
> Confirmed by me too:
>
> Confirmed. I use TB3 (Latest nightly) and Lightning 1.0 (latest nightly)
> with the Cosmo Caldav Calender Server - *NOT* Google.
>
> Same problem. Calendars are not displayed and the error is as in #25 above.
>
> Going back to a TB build of 17/04/09 but maintaining my Lightning from
> 20/04/09 and the calenders work.
>
> Am running on Ubuntu Jaunty.
>
> HTH
>
> Al

Hi all,

It looks like this is fixed. I suggest trying the next nightly - see
https://bugzilla.mozilla.org/show_bug.cgi?id=489079

Jon

Stefan Sitter

unread,
Apr 22, 2009, 7:02:58 PM4/22/09
to
HISA VP wrote:
> It looks like this is fixed. I suggest trying the next nightly -
> see https://bugzilla.mozilla.org/show_bug.cgi?id=489079

The fix is not yet available in Thunderbird 3.0b3pre nightly test
builds. Currently it is only fixed in Thunderbird 3.1a1pre builds.

Peter Lairo

unread,
Apr 23, 2009, 1:30:57 PM4/23/09
to

Which nightly trunk version of Lightning works with Tb 3.1*?

I've looked around in here:
ftp://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/

But I can't find it. :-\

URL please.
--
Regards,

Peter Lairo

The browser you can trust: www.Firefox.com
Reclaim Your Inbox: www.GetThunderbird.com

Islam: http://www.jihadwatch.org/islam101/
Israel: http://www.jewishvirtuallibrary.org/jsource/myths2/
Church of the Flying Spaghetti Monster: http://www.venganza.org/

"So, why don't we ever talk about the sun's contribution to global
warming? Well, because we can't regulate it, tax it, or make it feel
guilty for what it's doing" (www.WhatYouOughtToKnow.com)

Stefan Sitter

unread,
Apr 23, 2009, 3:37:23 PM4/23/09
to
Peter Lairo wrote:
> Which nightly trunk version of Lightning works with Tb 3.1*?

None. The current Lightning and Provider for Google Calendar nightly
test builds don't support 3.1a1pre and don't plan to. You have to
modify the extensions to allow installation in 3.1a1pre.

The fixed was now checked in to mozilla-1.9.1 branch too according
to Bug 489079 Comment #46. This means it should be available in
tomorrows Thunderbird 3.0b3pre build.

Stefan

0 new messages