traceback when enabling gradebook on Fedora RPM's
Bug #620866 reported by
Tom Hoffman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SchoolTool |
Fix Released
|
High
|
Gediminas Paulauskas |
Bug Description
When our friends in Nepal try to fire up the RPM's they're working on with gradebook (or any other plugin, presumably) enabled by including in instance_
For reference, the RPM's are here:
Changed in schooltool: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Gediminas Paulauskas (menesis) |
Changed in schooltool: | |
status: | Triaged → Fix Committed |
tags: | added: packaging rpm |
Changed in schooltool: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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 oxy(app) app.app. SchoolToolAppli cation object at 0xa401c2c>, <InterfaceClass schooltool. requirement. interfaces. IScoreSystemsPr oxy>)
ssProxy = IScoreSystemsPr
TypeError: ('Could not adapt', <schooltool.
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.