Comment 1 for bug 620866

Revision history for this message
Douglas Cerna (replaceafill) wrote :

Reading http://schooltool.pov.lt/irclogs/%23schooltool.2010-08-19.log.html#t2010-08-19T18:53:47

aks th1a: nope, to enable gradebook, i added in instance_folder/school.zcml file <include package="schooltool.gradebook" />

and looking at the error in the adapter lookup:

File "/usr/lib/python2.5/site-packages/schooltool/gradebook/generations/evolve1.py", line 81, in evolve
ssProxy = IScoreSystemsProxy(app)
TypeError: ('Could not adapt', <schooltool.app.app.SchoolToolApplication object at 0xa401c2c>, <InterfaceClass schooltool.requirement.interfaces.IScoreSystemsProxy>)

the IScoreSystemsProxy adapter comes from the requirement package, so I guess they need to add:

<include package="schooltool.requirement" />

to their instance's 'school.zcml' file just before the <include package="schooltool.gradebook" /> line.