Closed Bug 401428 Opened 17 years ago Closed 17 years ago

Google calendars do not show up in any view (missing toString)

Categories

(Calendar :: Provider: GData, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tyler.style.signup, Assigned: Fallen)

Details

(Whiteboard: [gdata-0.3.1])

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.8) Gecko/20071022 Ubuntu/7.10 (gutsy) Firefox/2.0.0.8
Build Identifier: http://downloads.mozdev.org/gdataprovider/gdata-provider-2007-10-22-13.xpi

On ubuntu gutsy, tbird v2.0, I upgraded lightning to v7 (https://addons.mozilla.org/en-US/thunderbird/downloads/file/20422/lightning-0.7-tb-linux.xpi) and provider v3.  Google calendar did not appear after restart.

Deleted and recreated calendar to no effect (password was never asked for).  
Uninstalled v3 and installed nightly build 2007-10-22-13.  Still no joy, even after deletion and recreation of calendar.  
Enabled error console logging in about:config.
After logging this message: 

calGoogleRequest: Requesting GET http://www.google.com/calendar/feeds/tyler.style%40gmail.com/private/full?max-results=2147483647&singleevents=true&start-min=2007-09-30T07%3A00%3A00Z&start-max=2007-11-10T07%3A00%3A00Z

there is an error: 

Error: [Exception... "'Component does not have requested interface' when calling method: [nsIInterfaceRequestor::getInterface]"  nsresult: "0x80004002 (NS_NOINTERFACE)"  location: "<unknown>"  data: no]

Error repeats 4 times, then is followed by the messages:

Recieved response for http://www.google.com/calendar/feeds/tyler.style%40gmail.com/private/full
Error parsing XML streamTypeError: who.gd::attendeeType.@value.substring is not a function
Error getting items:
TypeError: who.gd::attendeeType.@value.substring is not a function

Similar messages repeat many times, along with messages like:

calGoogleRequest: Requesting GET http://www.google.com/calendar/feeds/tyler.style%40gmail.com/private/full?max-results=2147483647&singleevents=true&start-min=2007-09-30T00%3A00%3A00-07%3A00&start-max=2007-11-04T00%3A00%3A00-07%3A00



Reproducible: Always

Steps to Reproduce:
1.Upgrade lightning to v7 and provider to v3 simultaneously via the tbird addon upgrade dialogs
2.Restart thunderbird
3.Check calendar - google calendar does not appear.
Actual Results:  
Google calendar did not appear.

Expected Results:  
Google calendar should have appeared.

After deleting and recreating the calendar, I was never asked for a login password (as per the examples I have seen).
Thanks for the elaborate debugging info. I have some ideas what the problem may be and am investigating.
Do you specifically have thunderbird version 2.0.0.0 ?

Also, if possible please give me the xml snippet that this error shows up for. I am not having problems calling the substring function, even on empty tags.

The nsIInterfaecRequestor error is rather harmless.
Assignee: nobody → philipp
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: PC → All
Summary: Google calendars do not show up in any view, and error console reports thrown exception from nsIInterfaceRequestor::getInterface → Google calendars do not show up in any view (missing toString)
Whiteboard: [gdata-0.3.1]
Thanks to Benoît Larroque, I was able to find a fix. I personally could not reproduce these issues, I believe it may have to do with certain Thunderbird versions.
Attachment #286468 - Flags: review?(daniel.boelzle)
Comment on attachment 286468 [details] [diff] [review]
Fix missing toString()

r=dbo
Attachment #286468 - Flags: review?(daniel.boelzle) → review+
Checked in on HEAD and MOZILLA_1_8_BRANCH

-> FIXED


Spinning a cvs build soon and releasing tomorrow or wednesday.

Tyler, if possible please test today or tomorrow!
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
This seems to go wrong on Thunderbird 2.0.0.0 only, so maybe its not as critical after all. I might wait for the second patch before releasing.

If you are experiencing problems like this, please upgrade to a newer thunderbird version, i.e 2.0.0.7
Severity: major → normal
You need to log in before you can comment on or make changes to this bug.