CalDAV issues

24 views
Skip to first unread message

Michael Wolfinger

unread,
Nov 8, 2010, 6:08:22 AM11/8/10
to try...@googlegroups.com
Dear All,

I have some problems with Tryton 1.6 CalDAV (over SSL):

I can connect to the CalDAV Server from Thunderbird with the Lightning extension and all events that have been entered via the Tryton Client are available in Thunderbird/Lightning. The other direction causes troubles: Any event entered via Thunderbird/Lightning is sent to the Tyton CalDAV server (and available in the Tyrton client), however those events are not visible in Thunderbird/Lightning. Tryton logs the following:

[Mon Nov 08 11:42:51 2010] ERROR:webdav:Exception:
Traceback (most recent call last):
  File "/data/scratch/Tryton/trytond-1.6.1/trytond/modules/calendar/caldav.py", line 91, in _get_caldav_calendar_data
    cache=CACHE)
  File "/data/scratch/Tryton/trytond-1.6.1/trytond/modules/calendar/webdav.py", line 488, in get_calendar_data
    return self.get_data(cursor, user, uri, context=context, cache=cache)\
  File "/data/scratch/Tryton/trytond-1.6.1/trytond/modules/calendar/webdav.py", line 441, in get_data
    return ical.serialize()
  File "/usr/lib/pymodules/python2.6/vobject/base.py", line 186, in serialize
    return behavior.serialize(self, buf, lineLength, validate)
  File "/usr/lib/pymodules/python2.6/vobject/behavior.py", line 157, in serialize
    out = base.defaultSerialize(transformed, buf, lineLength)
  File "/usr/lib/pymodules/python2.6/vobject/base.py", line 902, in defaultSerialize
    child.serialize(outbuf, lineLength, validate=False)
  File "/usr/lib/pymodules/python2.6/vobject/base.py", line 189, in serialize
    return defaultSerialize(self, buf, lineLength)
  File "/usr/lib/pymodules/python2.6/vobject/base.py", line 902, in defaultSerialize
    child.serialize(outbuf, lineLength, validate=False)
  File "/usr/lib/pymodules/python2.6/vobject/base.py", line 189, in serialize
    return defaultSerialize(self, buf, lineLength)
  File "/usr/lib/pymodules/python2.6/vobject/base.py", line 921, in defaultSerialize
    s.write(':' + strout)
TypeError: cannot concatenate 'str' and 'datetime.datetime' objects

Tested configurations:
Thunderbird 2.0.24 + Lightning 0.9 (Fedora 12)
Thunderbird 3.1.6 + Lightning 1.02b + inverse SoGo Connector 3.103 (Mac OS 10.6.4)

Any suggestions?

Michael

Cédric Krier

unread,
Nov 8, 2010, 6:26:41 AM11/8/10
to try...@googlegroups.com

Looks like http://bugs.tryton.org/roundup/issue1278

--
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: cedric...@b2ck.com
Website: http://www.b2ck.com/

Michael Wolfinger

unread,
Nov 8, 2010, 1:27:01 PM11/8/10
to try...@googlegroups.com
that was it, thanks cedk ;)

2010/11/8 Cédric Krier <cedric...@b2ck.com>
Reply all
Reply to author
Forward
0 new messages