[Zope] RE: [Zope-CMF] too many arguments; expected 3, got 4

Norman Khine khine@btinternet.com
Sat, 21 Apr 2001 21:31:54 +0100


D'oh, managed to delete the mail I was meant to be replying to.
It's another bug, here's the diff in sebdiff(tm) format

File FSPropertiesObject.py:

<  def manage_doCustomize(self, folder_path, data=None, RESPONSE=None):
        """Makes a ZODB Based clone with the same data.

        Calls _createZODBClone for the actual work.
        """
        # Overridden here to provide a different redirect target.

<        FSObject.manage_doCustomize(self, folder_path, data, RESPONSE)

---

>  def manage_doCustomize(self, folder_path, RESPONSE=None):
        """Makes a ZODB Based clone with the same data.

        Calls _createZODBClone for the actual work.
        """
        # Overridden here to provide a different redirect target.

>        FSObject.manage_doCustomize(self, folder_path, RESPONSE)

seb

-----Original Message-----
From: zope-cmf-admin@zope.org [mailto:zope-cmf-admin@zope.org]On Behalf
Of Norman Khine
Sent: 21 April 2001 20:00
To: Zope-CMF
Subject: [Zope-CMF] too many arguments; expected 3, got 4


Hello,
I am trying to update the stylesheet_properties from the generic folder, but
when I click on Customize I get the following error:

Error Type: TypeError
Error Value: too many arguments; expected 3, got 4

Traceback (innermost last):
  File /usr/home/khine/usr/local/Zope/lib/python/ZPublisher/Publish.py, line
223, in publish_module
  File /usr/home/khine/usr/local/Zope/lib/python/ZPublisher/Publish.py, line
187, in publish
  File /usr/home/khine/usr/local/Zope/lib/python/Zope/__init__.py, line 221,
in zpublisher_exception_hook
    (Object: stylesheet_properties)
  File /usr/home/khine/usr/local/Zope/lib/python/ZPublisher/Publish.py, line
171, in publish
  File /usr/home/khine/usr/local/Zope/lib/python/ZPublisher/mapply.py, line
160, in mapply
    (Object: manage_doCustomize)
  File /usr/home/khine/usr/local/Zope/lib/python/ZPublisher/Publish.py, line
112, in call_object
    (Object: manage_doCustomize)
  File
/usr/home/khine/usr/local/Zope/lib/python/Products/CMFCore/FSPropertiesObjec
t.py, line 130, in manage_doCustomize
    (Object: stylesheet_properties)
TypeError: (see above)

Any ideas?

Thanks

      /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Norman Khine
     /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:khine@o-a-l.net
    /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Purley, UK
   /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____
   ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^
              /*/             \*\



_______________________________________________
Zope-CMF maillist  -  Zope-CMF@zope.org
http://lists.zope.org/mailman/listinfo/zope-cmf

See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
requests