Attendance Journal Export 2.6.4

Bug #1373642 reported by mark mcdougall
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SchoolTool
New
Undecided
Unassigned

Bug Description

I get this error message upon trying to use the export to excel feature in the journal,

System failure while generating export. Ticket nr. 14cd4469-6671-41bb-8b98-f3b6a540ff6d.

Please contact your administrator.
......
and
.......
System failure while generating export. Ticket nr. e43b904d-225d-4c0c-b8a0-a17bd949bf8d.

Please contact your administrator.

Do you need error logs or is it an associated bug?
Thanks,
Mark

Revision history for this message
Jeremy (jeremy-stokes) wrote :

Similar issue here using Schooltool 2.8.1. See below for error reporting output:

System failure.

Ticket nr. fb5d458a-191c-4cb4-9a83-fcd9d82490d3.

Please contact your administrator.

Exception
'RemoteReportRequest' object has no attribute 'util'
Traceback
File "/usr/lib/python2.7/dist-packages/schooltool/task/tasks.py", line 184, in runTransaction
  result = callable(*args, **kw)
File "/usr/lib/python2.7/dist-packages/schooltool/report/report.py", line 451, in execute
  report_file = self.renderToFile(renderer, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/schooltool/report/report.py", line 500, in renderToFile
  self.renderReport(renderer, stream, *args, **kw)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 934, in renderReport
  workbook = renderer(*args, **kw)
File "/usr/lib/python2.7/dist-packages/schooltool/lyceum/journal/browser/journal.py", line 1965, in __call__
  self.export_month_worksheets(workbook)
File "/usr/lib/python2.7/dist-packages/schooltool/lyceum/journal/browser/journal.py", line 1946, in export_month_worksheets
  self.print_grades(ws, nm, len(months))
File "/usr/lib/python2.7/dist-packages/schooltool/lyceum/journal/browser/journal.py", line 1923, in print_grades
  table = sorted(self.table(), key=lambda x:self.studentSortKey)
File "/usr/lib/python2.7/dist-packages/schooltool/lyceum/journal/browser/journal.py", line 1242, in table
  active_students = students.on(self.request.util.today).any(ACTIVE)
Exception
<ExceptionWithTraceback (AttributeError("'RemoteReportRequest' object has no attribute 'util'",))>
Traceback
File "/usr/lib/python2.7/dist-packages/schooltool/task/tasks.py", line 211, in __call__
  result = self.runTransaction('execute', True, self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/schooltool/task/tasks.py", line 201, in runTransaction
  raise failure

Revision history for this message
Tom Hoffman (tom-hoffman) wrote :

This should be fixed in the 2.8.2 release, planned for early next week.

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.