[Django] ERROR (EXTERNAL IP): Internal Server Error: /teams/ubuntu-swiss-users/ical

Bug #1153550 reported by Adnane Belmadiaf
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LoCo Team Portal
Fix Released
Critical
Adnane Belmadiaf

Bug Description

Traceback (most recent call last):

  File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/srv/loco.ubuntu.com/loco_directory/teams/views.py", line 147, in team_ical
    return as_ical(get_events_and_meetings(team_object), team_object.name)

  File "/srv/loco.ubuntu.com/loco_directory/teams/views.py", line 110, in as_ical
    response.write(calendar.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 947, in defaultSerialize
    child.serialize(outbuf, lineLength, validate=False)

  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 947, in defaultSerialize
    child.serialize(outbuf, lineLength, validate=False)

  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 962, in defaultSerialize
    s.write(':' + obj.value)

  File "/usr/lib/python2.6/codecs.py", line 351, in write
    data, consumed = self.encode(object, self.errors)

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 6: ordinal not in range(128)

Related branches

Adnane Belmadiaf (daker)
Changed in loco-team-portal:
importance: Undecided → Critical
status: New → Triaged
Adnane Belmadiaf (daker)
Changed in loco-team-portal:
assignee: nobody → Adnane Belmadiaf (daker)
milestone: none → 0.4.0
status: Triaged → Fix Committed
Adnane Belmadiaf (daker)
Changed in loco-team-portal:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.