[Zope-CMF] Installing CMF from CVS : Validate() error

john graybill johngraybill@hotmail.com
Wed, 31 Oct 2001 13:56:30 +0000


Just tried to install CMF from CVS and keep running into difficulties.

On the frontpage of the CMF Site, it gave:

Error Type: TypeError
Error Value: validate() takes exactly 6 arguments (5 given)

So, I installed CMF-1.1 and then updated the CMFDecor / Default / Core / 
Calendar folders from CVS.

Everything seemed to be working again, until I tried to register myself, 
when I got the same error again.

I don't understand the CMF enough to find out what's going on. Does somebody 
know what the problem could be?

The traceback is:


  File /home/jgraybill/zope/lib/python/Products/CMFCore/FSPythonScript.py, 
line 187, in _exec
    (Object: register)
    (Info: ({'script': <FSPythonScript instance at 8b20d00>, 'context': 
<CMFSite instance at 8a960d8>, 'container': <CMFSite instance at 8a960d8>, 
'_': <TemplateDict object at 0x8b9f388>, 'traverse_subpath': []}, ('', ''), 
{}, ('password', 'confirm')))
  File Script (Python), line 21, in register
  File 
/home/jgraybill/zope/lib/python/Products/CMFDefault/RegistrationTool.py, 
line 189, in registeredNotify
    (Object: portal_registration)
  File /home/jgraybill/zope/lib/python/Products/CMFCore/FSDTMLMethod.py, 
line 182, in __call__
    (Object: registered_notify_template)

File /home/jgraybill/zope/lib/python/DocumentTemplate/DT_String.py, line 
545, in __call__
    (Object: registered_notify_template)

File /home/jgraybill/zope/lib/python/DocumentTemplate/DT_With.py, line 132, 
in render
    (Object: portal_properties)

TypeError: (see above)

thanks

--
j graybill

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp