Report card layout

Bug #1292132 reported by Sergio Morilla
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SchoolTool Gradebook
Incomplete
High
Douglas Cerna

Bug Description

Error del servidor

Ha ocurrido un error del servidor interno. Esto probablemente significa que ha encontrado un fallo en SchoolTool. Por favor reportelo a la seccion de fallos..

Excepción
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf1 in position 1: ordinal not in range(128)

Traza
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.FlourishReportCardColumnAddView_addReportCardColumn.html object at 0xb15859ac>
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/gradebook/browser/report_card.py", line 1347, in update
  if 'CANCEL' in self.request or not self.has_schoolyear:
File "/usr/lib/python2.7/dist-packages/schooltool/app/browser/app.py", line 1136, in has_schoolyear
  return self.schoolyear is not None
File "/usr/lib/python2.7/dist-packages/zope/cachedescriptors/property.py", line 71, in __get__
  value = func(inst)
File "/usr/lib/python2.7/dist-packages/schooltool/app/browser/app.py", line 1131, in schoolyear
  result = schoolyears.get(schoolyear_id, result)
File "/usr/lib/python2.7/dist-packages/zope/container/btree.py", line 109, in get
  return self._SampleContainer__data.get(key, default)

Modules

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

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

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

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

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

Runtime

Python 2.7.5+ (default, Feb 27 2014, 19:39:55) [GCC 4.8.1]

Linux sergio-virtual-machine 3.11.0-18-generic #32-Ubuntu SMP Tue Feb 18 21:13:28 UTC 2014 i686 i686

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

Automatic Bug Report

To submit automatic bug report you must be logged into Launchpad Issue Tracker

Changed in schooltool:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Douglas Cerna (replaceafill)
milestone: none → 2.7.0
Revision history for this message
Douglas Cerna (replaceafill) wrote :

Hola Sergio.

He tratado de reproducir este error pero no he podido. Recuerda cuáles son los pasos que lo provocaron? Por lo que puedo ver, se trata de algún caracter con acento o una "ñ" en el título del año escolar.

Y veo que en ese entonces usaba la versión 2.6.0. Podría actualizar SchoolTool y ver si el error persiste?

Gracias!

Changed in schooltool:
status: Triaged → Incomplete
Revision history for this message
Gediminas Paulauskas (menesis) wrote :

I have been testing with non-ascii schoolyears and all views in report card layout work and navigate correctly.

affects: schooltool → schooltool.gradebook
Changed in schooltool.gradebook:
milestone: 2.7.0 → none
milestone: none → 2.6.3
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.