Server error when defining schedule (unicode)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SchoolTool |
Fix Released
|
Critical
|
Ignas Mikalajūnas |
Bug Description
Version: SVN r6658 on an Ubuntu Edgy
Problem: after choosing the periods for a schedule, I got an internal server error.
Almost all the strings used had non-ascii chars (timetable, section, course). So I can't pinpoint which one(s) caused this.
Exception:
UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 24: ordinal not in range(128)
Traceback:
File "/home/
result = publication.
File "/home/
return mapply(ob, request.
File "/home/
return debug_call(obj, args)
Extra information: <bound method SectionTimetabl
File "/home/
return obj(*args)
File "/home/
day.add(
File "/home/
zope.
File "/home/
subscriber(event)
File "/home/
for ignored in zope.component.
File "/home/
return sitemanager.
File "/home/
return self.adapters.
File "/home/
subscription(
File "/home/
calendar = timetable.
File "/home/
activity=
File "/home/
CalendarEvent
File "/home/
self.__name__ = base64.
File "base64.py", line 315, in encodestring
pieces.
description: | updated |
description: | updated |
Changed in schooltool: | |
importance: | Undecided → Medium |
Changed in schooltool: | |
status: | New → Confirmed |
Changed in schooltool: | |
status: | Confirmed → Fix Committed |
Changed in schooltool: | |
status: | Fix Committed → Fix Released |
The problem still occurs when the course, timetable, term and section only have ascii characters. I'm resetting the system for more experiments.