Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185475 - app-pda/libopensync-plugin-google-calendar crashes if you have recurrent calendar entries
Summary: app-pda/libopensync-plugin-google-calendar crashes if you have recurrent cale...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Ryan Hill (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 354423
  Show dependency tree
 
Reported: 2007-07-15 23:13 UTC by Shawn Bohrer
Modified: 2011-02-21 11:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to allow recurrent events in Google calendar (recurrent_events.patch,2.77 KB, patch)
2007-07-15 23:17 UTC, Shawn Bohrer
Details | Diff
New ebuild that applies patch recurrent events patch (libopensync-plugin-google-calendar-0.22-r1.ebuild,809 bytes, text/plain)
2007-07-15 23:19 UTC, Shawn Bohrer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shawn Bohrer 2007-07-15 23:13:01 UTC
If your Google Calendar has recurrent events the libopensync-plugin-google-calendar will crash with an output similar to:

 Traceback (most recent call last):
  File "/usr/libexec/google-cal-helper", line 402, in ?
    sys.exit(main(sys.argv))
  File "/usr/libexec/google-cal-helper", line 394, in main
    return fn(argv)
  File "/usr/libexec/google-cal-helper", line 286, in oper_get_all
    data = e.dumpOsync()
  File "/usr/libexec/google-cal-helper", line 200, in dumpOsync
    self.addElementContent(doc, event, 'DateStarted', xsdateToOsync(self.dtstart))
  File "/usr/libexec/google-cal-helper", line 118, in xsdateToOsync
    raise DateConversionError("Invalid date/time: %s" % (s))
__main__.DateConversionError: Invalid date/time:

Reproducible: Always
Comment 1 Shawn Bohrer 2007-07-15 23:17:33 UTC
Created attachment 124973 [details, diff]
patch to allow recurrent events in Google calendar

This patch was pulled from upstream:

http://www.opensync.org/changeset/1898
Comment 2 Shawn Bohrer 2007-07-15 23:19:03 UTC
Created attachment 124975 [details]
New ebuild that applies patch recurrent events patch

This new ebuild fixes the problem for me.
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2011-02-21 11:08:35 UTC
Thanks for the patch.  Sorry it took 3 1/2 years to apply.
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2011-02-21 11:08:47 UTC
Fixed.