Plone Captchas on 2.0.5
Up to Plone Captchas
Hi,
I have tried to install Captchas on Plone 2.0.5 (I can't upgrade because of a CMFBoard installation and such). However, when I first tried to restart zope it complained about not finding "permissions" in CMFCore (imported from config.py). I replaced this with CMFCorePermissions, which seemed to get rid of that error, but then I got another set of errors:
------
2007-04-09T17:14:38 ERROR(200) Zope Couldn't install PloneCaptcha
Traceback (most recent call last):
File "/home/restless/zope/lib/python/OFS/Application.py", line 751, in install_product
initmethod(context)
File "/home/restless/zope/instance/Products/PloneCaptcha/__init__.py", line 39, in initialize
,icon='tool.png'
TypeError: __init__() takes exactly 5 non-keyword arguments (3 given)
Traceback (most recent call last):
File "/home/restless/zope/lib/python/Zope/Startup/run.py", line 50, in ?
run()
File "/home/restless/zope/lib/python/Zope/Startup/run.py", line 19, in run
start_zope(opts.configroot)
File "/home/restless/zope/lib/python/Zope/Startup/__init__.py", line 52, in start_zope
starter.startZope()
File "/home/restless/zope/lib/python/Zope/Startup/__init__.py", line 231, in startZope
Zope.startup()
File "/home/restless/zope/lib/python/Zope/__init__.py", line 47, in startup
_startup()
File "/home/restless/zope/lib/python/Zope/App/startup.py", line 96, in startup
OFS.Application.initialize(application)
File "/home/restless/zope/lib/python/OFS/Application.py", line 278, in initialize
initializer.initialize()
File "/home/restless/zope/lib/python/OFS/Application.py", line 305, in initialize
self.install_products()
File "/home/restless/zope/lib/python/OFS/Application.py", line 573, in install_products
return install_products(app)
File "/home/restless/zope/lib/python/OFS/Application.py", line 604, in install_products
folder_permissions, raise_exc=debug_mode)
File "/home/restless/zope/lib/python/OFS/Application.py", line 751, in install_product
initmethod(context)
File "/home/restless/zope/instance/Products/PloneCaptcha/__init__.py", line 39, in initialize
,icon='tool.png'
TypeError: __init__() takes exactly 5 non-keyword arguments (3 given)
restless@saw2:~/zope/instance/Products$
----
It looks like something changed in the calling of __init__ in toolsinit, but all my attempts to fill in the necessary parameters have failed. Is it possible to make this work with 2.0.5, or will it never happen? Any suggestions? Thanks.
Obviously I'm on the wrong forum!