Erro ao Criar Turma

Bug #1670188 reported by Estefano E M Silva
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SchoolTool
New
Undecided
Unassigned

Bug Description

Procedimento para ver o erro:

1) Clicar em uma turma já criada;
2) Através da página da turma selecionada, acessar o link: nova turma;
3) Clicar no botão de cancelar a criação da turma, o erro já vai aparecer!

Erro:

Exceção
UnicodeEncodeError: 'ascii' codec can't encode character u'\xaa' in position 51: ordinal not in range(128)

Traceback
File "/usr/lib/python2.7/dist-packages/zope/publisher/publish.py", line 132, in publish
  result = publication.callObject(request, obj)
File "/usr/lib/python2.7/dist-packages/zope/app/publication/zopepublication.py", line 205, in callObject
  return mapply(ob, request.getPositionalArguments(), request)
File "/usr/lib/python2.7/dist-packages/zope/publisher/publish.py", line 107, in mapply
  return debug_call(obj, args)
Extra information: <schooltool.skin.flourish.zcml_content.FlourishSectionAddView_addSection.html object at 0x7fb4b9a28050>
File "/usr/lib/python2.7/dist-packages/zope/publisher/publish.py", line 113, in debug_call
  return obj(*args)
File "/usr/lib/python2.7/dist-packages/schooltool/skin/flourish/page.py", line 96, in __call__
  self.update()
File "/usr/lib/python2.7/dist-packages/schooltool/course/browser/section.py", line 1333, in update
  super(SectionAddView, self).update()
File "/usr/lib/python2.7/dist-packages/z3c/form/form.py", line 211, in update
  self.actions.execute()
File "/usr/lib/python2.7/dist-packages/z3c/form/action.py", line 99, in execute
  result = handler()
File "/usr/lib/python2.7/dist-packages/z3c/form/button.py", line 315, in __call__
  return handler(self.form, self.action)
File "/usr/lib/python2.7/dist-packages/z3c/form/button.py", line 170, in __call__
  return self.func(form, action)
File "/usr/lib/python2.7/dist-packages/schooltool/course/browser/section.py", line 1410, in handle_cancel_action
  self.request.response.redirect(url)
File "/usr/lib/python2.7/dist-packages/zope/publisher/browser.py", line 759, in redirect
  return super(BrowserResponse, self).redirect(location, status, trusted)
File "/usr/lib/python2.7/dist-packages/zope/publisher/http.py", line 877, in redirect
  location = str(location)

Modules
schooltool 2.6.3 (/usr/lib/python2.7/dist-packages)

schooltool.cando 2.6.2 (/usr/lib/python2.7/dist-packages)

schooltool.gradebook 2.6.3 (/usr/lib/python2.7/dist-packages)

schooltool.intervention 2.6.2 (/usr/lib/python2.7/dist-packages)

schooltool.lyceum.journal 2.6.3 (/usr/lib/python2.7/dist-packages)

Runtime
Python 2.7.6 (default, Oct 26 2016, 20:30:19) [GCC 4.8.4]

Linux schooltool 3.13.0-111-generic #158-Ubuntu SMP Wed Feb 22 16:12:03 UTC 2017 x86_64 x86_64

Filesystem encoding ANSI_X3.4-1968, preferred ANSI_X3.4-1968

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.