[Zope-CMF] Re: [Plone-users] Still having problems with tool creation...

Dmitry S. Makovey dmitry@athabascau.ca
Fri, 18 Jul 2003 09:24:26 -0600


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On July 18, 2003 03:21 am, Raphael Ritz wrote:
> Dmitry S. Makovey wrote:
> ><Course.py>
> >...
> >    def getCreditWeights(self):
> >        syllabus_tool=3DgetToolByName(self,self.syllabus_tool_name=
)
>
> Can you confirm whether this really returns the tool you want?
> (do course objects 'know' the right 'syllabus_tool_name'?)

Thanks for response.
This is fixed now. Obviously it was a mess in Products directory, bec=
ause=20
after clean reinstall (remove old copies of CMF, Plone, Archetypes an=
d=20
CMFSyllabus and copy them over again) it seems to find getList. Now t=
here's=20
another problem: syllabus_tool is breaking every once in a while. It =
just=20
says (in ZMI) that after a while product is not awailable, and asks t=
o=20
reinstall the product. Not to post too much here here's link to colle=
ctive=20
CVS:
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/collective/CMFSyllabus=
/
I suspect two files: SyllabusTool.py and Extensions/Install.py. But s=
till=20
don't know what am I doing wrong.=20

Does anybody any clue, why tool might break from time to time without=
 any=20
obvious reasons?

> and btw: it would not hurt to provide getList (and other public met=
hods)
> with a docstring.

This would be my next step, once I'll figure out what's wrong with my=
 code by=20
itself. :)


- --=20
Dmitry Makovey
Web Systems Administrator
Athabasca University
(780) 675-6245
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/GBEuyDrVuGfS98QRAoz7AKDGrw5WZ0Sx0Tevqb6CYu1wzqcMgwCfXNsE
Gvbolc/+bPCcCQRN2orpf1Y=3D
=3DmAb2
-----END PGP SIGNATURE-----