Server error when generating sample data error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SchoolTool |
Fix Released
|
Undecided
|
Gediminas Paulauskas |
Bug Description
Installed on a fully updated Intrepid install
Set devmode on
Generate sample data with all checkboxes ticked.
Exception
TypeError: ('Could not adapt', <schooltool.
Traceback
File "/usr/lib/
result = publication.
File "/usr/lib/
return mapply(ob, request.
File "/usr/lib/
return debug_call(obj, args)
Extra information: <bound method SampleDataView.
File "/usr/lib/
return obj(*args)
File "/usr/lib/
self.update()
File "/usr/lib/
pluginNames=
File "/usr/lib/
visit(name)
File "/usr/lib/
plugin.
File "/usr/lib/
ITimetableSch
tags: | added: code-cleanup traceback |
Changed in schooltool: | |
status: | New → Fix Committed |
assignee: | nobody → Gediminas Paulauskas (menesis) |
milestone: | none → 1.4.0 |
Changed in schooltool: | |
status: | Fix Committed → Fix Released |
Actually, we need to eliminate the old sample data generation. We're replacing it with a set of sample data in a spreadsheet that can be imported via a new data import mechanism. We released the new import system on Friday but unfortunately introduced some unrelated bugs. We should have this all cleaned up and documented shortly.
Sorry for the inconvenience.