← Back to team overview

ubuntu-bengali-manual team mailing list archive

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

 

Public bug reported:

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)

** Affects: loco-team-portal
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bengali Manual, which is subscribed to LoCo Team Portal.
https://bugs.launchpad.net/bugs/1153550

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

Status in LoCo Team Portal:
  New

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/loco-team-portal/+bug/1153550/+subscriptions


Follow ups

References