Need section enrollment to split into multiple sheets

Bug #1516663 reported by Tom Hoffman on 2015-11-16
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SchoolTool
High
Douglas Cerna
3.x
Critical
Douglas Cerna

Bug Description

Was exporting schooltool spreadsheet this morning and it threw out an error.

System failure.

Ticket nr. 999f0a90-3058-440d-afdf-458872411375.

Please contact your administrator.

Exception
row index (65536) not an int in range(65536)

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 935, in renderReport
  workbook = renderer(*args, **kw)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 920, in __call__
  self.export_sections_enrollment(wb)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 737, in export_sections_enrollment
  ws, year, term, section, row=row)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 710, in export_section_enrollment
  ], ws, row=row)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 301, in print_table
  self.print_row(cells, ws, row=(row+y), col=col)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 306, in print_row
  self.write(ws, row, col+x, cell.data, **cell.style)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 155, in write
  ws.write(row, col, data, style)
File "/usr/lib/python2.7/dist-packages/xlwt/Worksheet.py", line 1030, in write
  self.row(r).write(c, label, style)
File "/usr/lib/python2.7/dist-packages/xlwt/Worksheet.py", line 1078, in row
  self.__rows[indx] = self.Row(indx, self)
File "/usr/lib/python2.7/dist-packages/xlwt/Row.py", line 42, in __init__
  raise ValueError("row index (%r) not an int in range(65536)" % rowx)

Exception
<ExceptionWithTraceback (ValueError('row index (65536) not an int in range(65536)',))>
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

Changed in schooltool:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Douglas Cerna (replaceafill)
Changed in schooltool:
milestone: none → 3.0
Chad (chadelp) wrote :

Any update on this bug?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions