← Back to team overview

schooltool-developers team mailing list archive

Interventions with CanDo

 

---------- Forwarded message ----------
From: David Ally <david_ally@xxxxxxxxx>
Date: Fri, Jul 2, 2010 at 5:00 AM
Subject: Re: Fwd: [Schooltool-developers] Interventions with CanDo
To: Tom Hoffman <tom.hoffman@xxxxxxxxx>


Tom,
I had installed intervention from synaptic before your email came in,
however, when i used apt to install it, it said the most current
version had been installed but going further to add the plugin, gave
this error message,

david@ubuntupc:~$ sudo -s "cat >
/etc/schooltool/schooltool-cando/plugins/intervention.zcml" <include
package="schooltool.intervention" />
bash: syntax error near unexpected token `newline'

what is wrong?

David


________________________________
From: Tom Hoffman <tom.hoffman@xxxxxxxxx>
To: David Ally <david_ally@xxxxxxxxx>
Sent: Wed, June 30, 2010 8:00:57 PM
Subject: Fwd: [Schooltool-developers] Interventions with CanDo

---------- Forwarded message ----------
From: Gediminas Paulauskas <menesis@xxxxxx>
Date: Wed, Jun 30, 2010 at 9:40 AM
Subject: Re: [Schooltool-developers] Interventions with CanDo
To: Tom Hoffman <tom.hoffman@xxxxxxxxx>
Cc: SchoolTool Developers <schooltool-developers@xxxxxxxxxxxxxxxxxxx>


2010/6/26 Tom Hoffman <tom.hoffman@xxxxxxxxx>:
> Gediminas, et al,
> RIght now when you install CanDo from the .deb you don't get Interventions,
> since VA didn't want it.  Is there an additional configuration step if you
> just 'apt-get install schooltool.gradebook' to get it to show up?

Yes, you have to add a slug to plugins directory, since CanDo does not
autoinclude plugins::

$ sudo apt-get install python-schooltool.intervention
$ sudo -s "cat > /etc/schooltool/schooltool-cando/plugins/intervention.zcml"
<include package="schooltool.intervention" />
$ sudo /etc/init.d/schooltool-cando restart

Douglas said there are some conflicting CSS styles, but I don't see
any. Or rather there are places in CanDo where boxes do not align
anyway, e.g. Add Assignment form.

When I click on "Interventions" from Section's menu, I get an error

...
 File "/usr/lib/python2.6/dist-packages/schooltool/intervention/browser/intervention.py",
line 485, in __init__
   worksheets = IActivities(self.context).values()
TypeError: ('Could not adapt', <schooltool.course.section.Section
object at 0xe015fac>, <InterfaceClass
schooltool.gradebook.interfaces.IActivities>)

but this instance is almost empty, maybe with more data this works.

Please file and fix bugs, the plugins should be compatible with each other.

--
Gediminas



Follow ups

References