problem subscribing to Google calendar

4 messages Options
Embed this post
Permalink
Scott-13

problem subscribing to Google calendar

Reply Threaded More More options
Print post
Permalink
When use public option "collection not found" returns after pasting url.

So then when I use private I get error:

http://www.google.com/calendar/ical/chloesdad%40gmail.com/private-f643d3bbd1e4e170b5719680aed17dae/basic.ics

At line 198: In transformToNative, unhandled exception: <type
'exceptions.ValueError'>: year is out of range

Traceback: <class 'vobject.base.ParseError'>: At line 198: In
transformToNative, unhandled exception: <type 'exceptions.ValueError'>:
year is out of range
C:\Program
Files\Chandler1.0.3\release\bin\lib\site-packages\twisted\python\threadpool.py:148:_worker
C:\Program
Files\Chandler1.0.3\release\bin\lib\site-packages\twisted\python\context.py:59:callWithContext
C:\Program
Files\Chandler1.0.3\release\bin\lib\site-packages\twisted\python\context.py:37:callWithContext
C:\Program Files\Chandler1.0.3\util\task.py:88:__threadStart
--- <exception caught here> ---
C:\Program
Files\Chandler1.0.3\release\bin\lib\site-packages\twisted\internet\defer.py:107:maybeDeferred
C:\Program
Files\Chandler1.0.3\application\dialogs\SubscribeCollection.py:298:run
C:\Program
Files\Chandler1.0.3\parcels\osaf\sharing\__init__.py:754:subscribe
C:\Program
Files\Chandler1.0.3\parcels\osaf\sharing\__init__.py:925:subscribeICS
C:\Program Files\Chandler1.0.3\parcels\osaf\sharing\shares.py:801:get
C:\Program Files\Chandler1.0.3\parcels\osaf\sharing\shares.py:778:sync
C:\Program
Files\Chandler1.0.3\parcels\osaf\sharing\webdav_conduit.py:423:sync
C:\Program
Files\Chandler1.0.3\parcels\osaf\sharing\recordset_conduit.py:88:sync
C:\Program
Files\Chandler1.0.3\parcels\osaf\sharing\recordset_conduit.py:202:_sync
C:\Program
Files\Chandler1.0.3\parcels\osaf\sharing\recordset_conduit.py:1273:getRecords
C:\Program Files\Chandler1.0.3\parcels\osaf\sharing\ics.py:523:deserialize
C:\Program
Files\Chandler1.0.3\release\bin\lib\site-packages\vobject-0.8.1b-py2.5.egg\vobject\base.py:1055:readComponents
C:\Program
Files\Chandler1.0.3\release\bin\lib\site-packages\vobject-0.8.1b-py2.5.egg\vobject\base.py:600:transformChildrenToNative
C:\Program
Files\Chandler1.0.3\release\bin\lib\site-packages\vobject-0.8.1b-py2.5.egg\vobject\base.py:599:transformChildrenToNative
C:\Program
Files\Chandler1.0.3\release\bin\lib\site-packages\vobject-0.8.1b-py2.5.egg\vobject\base.py:122:transformToNative
C:\Program
Files\Chandler1.0.3\release\bin\lib\site-packages\vobject-0.8.1b-py2.5.egg\vobject\icalendar.py:657:transformToNative
C:\Program
Files\Chandler1.0.3\release\bin\lib\site-packages\vobject-0.8.1b-py2.5.egg\vobject\icalendar.py:1813:parseDtstart
C:\Program
Files\Chandler1.0.3\release\bin\lib\site-packages\vobject-0.8.1b-py2.5.egg\vobject\icalendar.py:1608:stringToDateTime

_______________________________________________
[hidden email] mailing list
unsubscribe here: http://lists.osafoundation.org/mailman/listinfo/chandler-users
Chandler wiki: http://chandlerproject.org/wikihome
Graham Perrin

"year is out of range" parse error (was: problem subscribing to Google calendar)

Reply Threaded More More options
Print post
Permalink
Scott-13

"year is out of range" parse error (was: problem subscribing to Google calendar)

Reply Threaded More More options
Print post
Permalink
add: Platform I use: XP. Also Firefox 3.0.10
Scott
_______________________________________________
[hidden email] mailing list
unsubscribe here: http://lists.osafoundation.org/mailman/listinfo/chandler-users
Chandler wiki: http://chandlerproject.org/wikihome
ka67

Re: "year is out of range" parse error (was: problem subscribing to Google calendar)

Reply Threaded More More options
Print post
Permalink
In reply to this post by Graham Perrin
Graham Perrin wrote:
I found the above bug page when looking for a solution for a problem with a calendar from Google which would consistently prevent me from subscribing through Chandler Desktop. Regarding the information provided on such page, I'd like to 1) offer a piece of information, and 2) ask a question:

1) On comment #1, Jeffrey Harris says: "I can't remember which calendar client likes to do
that [event created in year 0], but I'm guessing you imported those events into Google from somewhere else."  
Well, the event that is causing the trouble in the calendar I'm trying to subscribe to was created in Google Calendar itself. It shows up as the first event on the calendar ICS file, but in fact it was the last one I created, minutes before saving it and reseting its private iCal address.

2) On Comment #6, Aquil H. Abdullah says: "Anyway, the fix was to add the following piece of code to the icalander.py in the vobject module:

    if year < datetime.MINYEAR:
        year = datetime.MINYEAR
    if year > datetime.MAXYEAR:
        year = datetime.MAXYEAR

At line 1579."

It seems, from his answer, that the bug was fixed sometime later (after the date he writes, 30 July 2009) but I downloaded Chandler Desktop and started using it last week, and the problem is still there.

I tried doing what he says would be enough, that is, substituting line 1579 for the code he provides. It didn't work, so I guess I'm doing it wrong (I was just copying-and-pasting, no idea if this is what should be done).  Should I, instead, add the code AFTER/BEFORE line 1579? (I'm using Notepad++ to edit the calendar.py file).

Thank you for putting up with my first post and question to the Chandler-users list - I'm sticking my neck out because I volunteer for an NGO and using Chandler would really help us all be more productive and work in synergy.

Regards,

Karen