User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-AU; rv:188.8.131.52) Gecko/20101206 Ubuntu/10.10 (maverick) Firefox/3.6.13 Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:184.108.40.206) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7 When I add a general google calendar such as "Weather" or "Phases of the Moon" (using the iCal link from the calendars settings web page) I am prompted for login details (a strange user name is suggested: part of the calendars url). NOTE: in the following, I did not select "Use the password manager to remember this password". If i provide empty credentials (delete the suggested user name), on relaunching thunderbird, an empty "Google Calendar Login" popup appears (attached screenshot). When this (empty) popup is closed, thunderbird launches normally but lightning no longer has any google calendars in its calendar list and generates exceptions (I can provide more details if useful). If I provide dummy credentials of the form "firstname.lastname@example.org", they are not accepted and I am prompted again for login details. If I provide dummy credentials of the form "x", I am prompted a second time (with suggested user name "email@example.com"), and if I use "x" again, it is accepted. In this case, the calendar is in the list, but its content is not shown, and I am prompted for credentials when I relaunch thunderbird ("firstname.lastname@example.org" suggested). Reproducible: Sometimes Steps to Reproduce: 1. Right click calendar list, select "new calendar", select "on the network" then "next" 2. Select "Google Calendar" 3. Paste iCal link from a Google 'interesting calendar' such as "Phases of the Moon" in to the 'Location' box. 4. Click 'next' 5. Click 'next' on the 'nickname' screen 6. A popup asking for login details appears: delete the suggested user name, leaving both user name and password blank, and click 'ok'. Do not select "remember the password" 7. Click "finish" on the "Your calendar has been created" screen. 6. Restart thunderbird Actual Results: An empty popup (attached screen shot) appears with the title "Google Calendar Login". When this popup is closed, thunderbird launches, but lightning does not show any google calendars and produces exceptions such as 'this.docShell is null' Expected Results: The subscribed google calendars are shown and exceptions are not thrown. This is intermittent, as as yet I don't see a pattern. If I disable Provider, delete google calendars then enable Provider and add calendars, it seems to happen most times... I installed "Provider for Google Calendar" from http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/1.0b2/contrib/linux-x86_64/ This provided version 0.70, which I updated from within thunderbird. I have records of the exceptions thrown - they are related to displaying the calendar tab. If I restart thunderbird with a calendar tab open, I also get an exception, but that's another bug.. Here's an example: -- Exception object -- + message (string) 'view is null' + fileName (string) 'chrome://calendar/content/calendar-views.js' + lineNumber (number) 382 + stack (string) 653 chars + name (string) 'TypeError' * -- Stack Trace -- switchToView(null)@chrome://calendar/content/calendar-views.js:382 ltnSelectCalendarView(null)@chrome://lightning/content/messenger-overlay-sidebar.js:255 ltnShowCalendarView(null,(void 0))@chrome://lightning/content/messenger-overlay-sidebar.js:272 showCalendarView(null)@chrome://calendar/content/calendar-views.js:287 ltnSwitch2Calendar()@chrome://lightning/content/messenger-overlay-sidebar.js:452 ([object Object],[object Object])@chrome://lightning/content/messenger-overlay-sidebar.js:85 openTab("calendar",[object Object])@chrome://messenger/content/tabmail.xml:542 oncommand([object XULCommandEvent])@chrome://messenger/content/messenger.xul:1
This behaviour was seen with Provider version 0.71 that was obtained by installing 0,70 from http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/1.0b2/contrib/linux-x86_64/ then updating from within thunderbird.
To access the read-only iCal feed create a new calendar On the Network -> ICalendar. Only use CalDAV or Gdata if you have full write access to the calendar.
Yes, I realise that... Thank you all the same though (: I still feel this bug is worth looking at - perhaps not critical, but it helps user confidence if things can't be broken by foolish choices.. For the record, if you've got this problem and are looking to get lightning on its feet again, uninstalling "Provider for Google Calendar", deleting the (greyed out) offending calendars, then re-installing Provider should fix things.
ian, do you still see this problem?
There has been a major rewrite of the Provider for Google Calendar between version 0.32 and 1.0. A vast number of bugs have been fixed during this rewrite, therefore I am closing lots of old bugs that I think might either be fixed or no longer apply to the latest version. Please read the updated FAQ  for details on known issues. If you can reproduce your issue with the latest version of the Provider for Google Calendar and you can't find an existing bug that handles your case, please reopen this issue. Thank you for your understanding.  https://wiki.mozilla.org/Calendar:GDATA_Provider
Status: UNCONFIRMED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.