I guess some of your usernames have non-ascii characters in them, right? Specifically a "ä" character? SchoolTool doesn't handle non-ascii usernames very well.
The problem in the code is in the schooltool.lyceum.journal.browser.journal.StudentNumberColumn class, in the getter method :
If you fix this, you get a new and similar error in the schooltool.lyceum.journal.browser.table.SelectStudentCellFormatter class, in its __call__ method:
I guess some of your usernames have non-ascii characters in them, right? Specifically a "ä" character? SchoolTool doesn't handle non-ascii usernames very well.
The problem in the code is in the schooltool. lyceum. journal. browser. journal. StudentNumberCo lumn class, in the getter method :
- urllib. quote(item. __name_ _)) quote(item. __name_ _.encode( "utf-8" )))
+ urllib.
If you fix this, you get a new and similar error in the schooltool. lyceum. journal. browser. table.SelectStu dentCellFormatt er class, in its __call__ method:
- urllib. urlencode( [('student' , item.__name__)] + urlencode( [('student' , item.__ name__. encode( "utf-8" ))] +
+ urllib.
Then you're able to look at the journal, but you cannot save grades for the students with non-ascii usernames :(