[Zope] __init__.py problem

Chris Withers chrisw@nipltd.com
Wed, 3 May 2000 21:47:55 +0100 (GMT)


Hi,

As many of you will know, I'm working on modernising the Squishdot
product.
As part of doing this, I thought I'd bring __init__.py into line with the
stuff on the Interfaces Wiki (sorry for missing this earlier, Michel ;-)
and in the Boring product.

Okay, starting with Squishdot 0.3.4, I changed

http://www.bay-c.co.uk/init.py.old to
http://www.bay-c.co.uk/init.py.new

The restart went fine, but now when I try to 'Add a Squishdot Site' I get
the following. I am totally at a loss as to why :(

Any ideas gratefully recieved...

cheers,

Chris



  Error Type: TypeError
  Error Value: unbound Python method must be called with SquishSite 1st
argument

Traceback (innermost last):
  File E:\Zope\2179E4~1.6\lib\python\ZPublisher\Publish.py, line 214, in
publish_module
  File E:\Zope\2179E4~1.6\lib\python\ZPublisher\Publish.py, line 179, in
publish
  File E:\Zope\2179E4~1.6\lib\python\Zope\__init__.py, line 202, in
zpublisher_exception_hook
  File E:\Zope\2179E4~1.6\lib\python\ZPublisher\Publish.py, line 165, in
publish
  File E:\Zope\2179E4~1.6\lib\python\ZPublisher\mapply.py, line 160, in
mapply
    (Object: addSquishdotForm)
  File E:\Zope\2179E4~1.6\lib\python\ZPublisher\Publish.py, line 102, in
call_object
    (Object: addSquishdotForm)
  File E:\Zope\2179E4~1.6\lib\python\App\special_dtml.py, line 120, in
__call__
    (Object: addSquishdotForm)
  File E:\Zope\2179E4~1.6\lib\python\DocumentTemplate\DT_String.py, line
502, in __call__
    (Object: addSquishdotForm)
TypeError: (see above)