Merge lp:~ronnie.vd.c/loco-team-portal/623288 into lp:loco-team-portal
Proposed by
Ronnie
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Chris Johnston | ||||
Approved revision: | 346 | ||||
Merged at revision: | 358 | ||||
Proposed branch: | lp:~ronnie.vd.c/loco-team-portal/623288 | ||||
Merge into: | lp:loco-team-portal | ||||
Diff against target: |
87 lines (+20/-24) 3 files modified
INSTALL (+1/-1) loco_directory/events/models.py (+8/-12) loco_directory/events/views.py (+11/-11) |
||||
To merge this branch: | bzr merge lp:~ronnie.vd.c/loco-team-portal/623288 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Adnane Belmadiaf | Approve | ||
Chris Johnston | Needs Fixing | ||
Review via email: mp+44127@code.launchpad.net |
Description of the change
Calendar suppport is now trough the python-vobject library
To post a comment you must log in.
I get the following when clicking the iCal icon next to team events on the main page.
Traceback: pymodules/ python2. 6/django/ core/handlers/ base.py" in get_response chris/Dropbox/ Projects/ loco-directory/ current/ loco_directory/ events/ views.py" in teams_event_ list_ical ical(TeamEvent. objects. all(), 'All Ubuntu LoCo Team Events') chris/Dropbox/ Projects/ loco-directory/ current/ loco_directory/ events/ views.py" in event_list_ical write(calendar. serialize( )) pymodules/ python2. 6/vobject/ base.py" in serialize serialize( self, buf, lineLength, validate) pymodules/ python2. 6/vobject/ behavior. py" in serialize ialize( transformed, buf, lineLength) pymodules/ python2. 6/vobject/ base.py" in defaultSerialize (outbuf, lineLength, validate=False) pymodules/ python2. 6/vobject/ base.py" in serialize serialize( self, buf, lineLength, validate) pymodules/ python2. 6/vobject/ behavior. py" in serialize ialize( transformed, buf, lineLength) pymodules/ python2. 6/vobject/ base.py" in defaultSerialize (outbuf, lineLength, validate=False) pymodules/ python2. 6/vobject/ base.py" in serialize serialize( self, buf, lineLength, validate) pymodules/ python2. 6/vobject/ behavior. py" in serialize ialize( transformed, buf, lineLength) pymodules/ python2. 6/vobject/ base.py" in defaultSerialize encode( obj) pymodules/ python2. 6/vobject/ icalendar. py" in encode (line.value) pymodules/ python2. 6/vobject/ base.py" in backslashEscape "\\","\ \\\").replace( ";","\; ").replace( ",","\, ")
File "/usr/lib/
100. response = callback(request, *callback_args, **callback_kwargs)
File "/home/
78. return event_list_
File "/home/
55. response.
File "/usr/lib/
186. return behavior.
File "/usr/lib/
157. out = base.defaultSer
File "/usr/lib/
947. child.serialize
File "/usr/lib/
186. return behavior.
File "/usr/lib/
157. out = base.defaultSer
File "/usr/lib/
947. child.serialize
File "/usr/lib/
186. return behavior.
File "/usr/lib/
157. out = base.defaultSer
File "/usr/lib/
953. if obj.behavior and not startedEncoded: obj.behavior.
File "/usr/lib/
609. line.value = backslashEscape
File "/usr/lib/
1137. s=s.replace(
Exception Type: AttributeError at /events/team/ical/
Exception Value: 'NoneType' object has no attribute 'replace'