Comment 4 for bug 1281335

Revision history for this message
mark mcdougall (mmcdouga) wrote : Re: export fails

Deleted all the timetables, this year and last, still export fails.
Is there any way to access the data other than export function?
Might it be hard to make an export link for the different parts of schooltool instead of only the whole school?
I mean like one can import just a contacts or people csv, have an export people link on the people page just as there is an import people link?
This might mean at least most all is accessible (exportable) should a bug block one section,..?
;;;;;;;;;;;;;;;;;;;;;;;;;
heres the latest failure traceback

''''''''''''''''''
' Id 4a7440af-56bc-4b8d-9a5c-90901e80935e
Failed
Traceback Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/celery/execute/trace.py", line 181, in trace_task R = retval = fun(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/schooltool/task/tasks.py", line 231, in __call__ raise failure FormattedTraceback:
Exception

sequence item 0: expected string, NoneType found

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 448, in execute
  report_file = self.renderToFile(renderer, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/schooltool/report/report.py", line 497, in renderToFile
  self.renderReport(renderer, stream, *args, **kw)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 883, in renderReport
  workbook = renderer(*args, **kw)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 869, in __call__
  self.export_section_timetables(wb)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 768, in export_section_timetables
  timetables.append(','.join(parts))

Exception

<ExceptionWithTraceback (TypeError('sequence item 0: expected string, NoneType found',))>

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

Persisted traceback
Exception

sequence item 0: expected string, NoneType found

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 448, in execute
  report_file = self.renderToFile(renderer, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/schooltool/report/report.py", line 497, in renderToFile
  self.renderReport(renderer, stream, *args, **kw)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 883, in renderReport
  workbook = renderer(*args, **kw)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 869, in __call__
  self.export_section_timetables(wb)
File "/usr/lib/python2.7/dist-packages/schooltool/export/export.py", line 768, in export_section_timetables
  timetables.append(','.join(parts))

Exception

<ExceptionWithTraceback (TypeError('sequence item 0: expected string, NoneType found',))>

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

Internal state FAILURE