Server error on export XLS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SchoolTool |
Fix Released
|
High
|
Ignas Mikalajūnas |
Bug Description
I have just updated Schooltool 2 (ppa.launchpad.net) via Ubuntu's automatic updates feature (31/03/2009)
Any call to http://
Server Error
An internal server error has occurred. This most likely means that you have found a bug in SchoolTool. Please report it on the issue tracker.
Exception
IndexError: tuple index out of range
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 MegaExporter.
File "/usr/lib/
return obj(*args)
File "/usr/lib/
self.
File "/usr/lib/
row = self.format_
File "/usr/lib/
offset = self.format_
File "/usr/lib/
resource = event.resources[0]
Changed in schooltool: | |
assignee: | nobody → Ignas Mikalajūnas (ignas) |
importance: | Undecided → High |
milestone: | none → jaunty |
Changed in schooltool: | |
status: | Fix Committed → Fix Released |
I'm a complete newb to school tool and Zope
I had the same error on a new install with SchoolTool 2009.04dev on My Linux Mint (Ubuntu) System.
Just created some test courses and 2 sections.
Also previously I tried the import of the test data and I got similar "Index out of range" error localhost: 7080/@@ import. html
============
Header
Exception traceback
Time
Thu Apr 16 22:39:12 2009
Usero
unauthenticated, sb.person.manager, Administrator, SchoolTool,
Request URL
http://
Exception Type
IndexError
Exception Value
list index out of range
Traceback
Traceback (most recent call last):
* Module zope.publisher. publish, line 133, in publish callObject( request, obj) publication. zopepublication , line 167, in callObject getPositionalAr guments( ), request) publish, line 108, in mapply _traceback_ info__: <security proxied zope.app. pagetemplate. simpleviewclass .SimpleViewClas s from /usr/lib/ python2. 4/site- packages/ schooltool/ export/ templates/ import. pt instance at 0xc3c53ac> publish, line 114, in debug_call pagetemplate. simpleviewclass , line 44, in __call__ pagetemplate. viewpagetemplat efile, line 83, in __call__ func(im_ self, *args, **kw) pagetemplate. viewpagetemplat efile, line 51, in __call__ otations= getattr( debug_flags, 'sourceAnnotati ons', 0), te.pagetemplate , line 115, in pt_render ert=0, sourceAnnotatio ns=sourceAnnota tions)( ) talinterpreter, line 271, in __call__ interpret( self.program) talinterpreter, line 346, in interpret opcode] (self, args) talinterpreter, line 586, in do_setLocal_tal engine. setLocal( name, self.engine. evaluateValue( expr)) usr/lib/ python2. 4/site- packages/ schooltool/ export/ templates/ import. pt u'view/ update' >
{' args': (),
' context' : <schooltool. app.app. SchoolToolAppli cation object at 0xb6f8f66c>,
' default' : <object object at 0xb7dc2538>,
' loop': {},
' nothing' : None,
' options' : {},
' repeat' : {},
' request' : <zc.resourcelib rary.publicatio n.Request instance URL=http:// localhost: 7080/@@ import. html>,
' template' : <zope.app. pagetemplate. viewpagetemplat efile.ViewPageT emplateFile object at 0xb426e2c>,
' view': <zope.app. pagetemplate. simpleviewclass .SimpleViewClas s from /usr/lib/ python2. 4/site- packages/ schooltool/ export/ templates/ import. pt object at 0xc3c53ac>,
' views': <zope.app. pagetemplate. viewpagetemplat efile.ViewMappe r object at 0xc3c53ec>} expressions, line 217, in __call__ econtext)
result = publication.
* Module zope.app.
return mapply(ob, request.
* Module zope.publisher.
return debug_call(obj, args)
_
* Module zope.publisher.
return obj(*args)
* Module zope.app.
return self.index(*args, **kw)
* Module zope.app.
return self.im_
* Module zope.app.
sourceAnn
* Module zope.pagetempla
strictins
* Module zope.tal.
self.
* Module zope.tal.
handlers[
* Module zope.tal.
self.
* Module zope.tales.tales, line 696, in evaluate
return expression(self)
/
Line 1, Column 0
Expression: <PathExpr standard:
- Names:
* Module zope.tales.
return self._eval(
* Module zope.t...