[Zope-CMF] CMFCalendar install

marc lindahl marc@bowery.com
Sat, 02 Jun 2001 01:34:13 -0400


Hi Andrew,
I followed the instructions for installing calendar (after deleting the skin
directory and portal_type I manually added previously) and got this error
when clicking the 'Test' tab (could it be because this site already has a
portal_metadata tool with stuff in it?):

 
  Site Error

  An error was encountered while publishing this resource.

  TypeError

  Sorry, a site error occurred.

  Traceback (innermost last):
    File /usr/local/zope/Zope-2.3.1/lib/python/ZPublisher/Publish.py, line
223, in publish_module
    File /usr/local/zope/Zope-2.3.1/lib/python/ZPublisher/Publish.py, line
187, in publish
    File /usr/local/zope/Zope-2.3.1/lib/python/Zope/__init__.py, line 221,
in zpublisher_exception_hook
      (Object: Traversable)
    File /usr/local/zope/Zope-2.3.1/lib/python/ZPublisher/Publish.py, line
171, in publish
    File /usr/local/zope/Zope-2.3.1/lib/python/ZPublisher/mapply.py, line
160, in mapply
      (Object: install_events)
    File /usr/local/zope/Zope-2.3.1/lib/python/ZPublisher/Publish.py, line
112, in call_object
      (Object: install_events)
    File 
/usr/local/zope/Zope-2.3.1/lib/python/Products/ExternalMethod/ExternalMethod
.py, line 262, in __call__
      (Object: install_events)
      (Info: ((<CMFSite instance at 8cc7f08>,), {}, None))
    File 
/usr/local/zope/Zope-2.3.1/lib/python/Products/CMFCalendar/Extensions/Instal
l.py, line 136, in install
      (Object: Traversable)
    File 
/usr/local/zope/Zope-2.3.1/lib/python/Products/CMFDefault/MetadataTool.py,
line 349, in addElementPolicy
      (Object: portal_metadata)
    File 
/usr/local/zope/Zope-2.3.1/lib/python/Products/CMFDefault/MetadataTool.py,
line 440, in getElementSpec
      (Object: portal_metadata)
    File /usr/local/zope/Zope-2.3.1/lib/python/ZODB/PersistentMapping.py,
line 114, in __getitem__
    File /usr/local/zope/Zope-2.3.1/lib/python/ZODB/Connection.py, line 533,
in setstate
  TypeError: ('not enough arguments; expected 2, got 1', <extension class
Products.CMFDefault.MetadataTool.ElementSpec at 8664ae0>, ())


And the stderr output looks like:



------
2001-06-02T05:15:11 ERROR(200) ZODB Couldn't load state for
'\000\000\000\000\00
0\000\222\206'
Traceback (innermost last):
  File /usr/local/zope/Zope-2.3.1/lib/python/ZODB/Connection.py, line 533,
in se
tstate
TypeError: ('not enough arguments; expected 2, got 1', <extension class
Products
.CMFDefault.MetadataTool.ElementSpec at 8664ae0>, ())


------
2001-06-02T05:15:11 ERROR(200) ZODB Couldn't load state for
'\000\000\000\000\00
0\000\222\206'
Traceback (innermost last):
  File /usr/local/zope/Zope-2.3.1/lib/python/ZODB/Connection.py, line 533,
in se
tstate
TypeError: ('not enough arguments; expected 2, got 1', <extension class
Products
.CMFDefault.MetadataTool.ElementSpec at 8664ae0>, ())


------
2001-06-02T05:15:12 ERROR(200) ZODB Couldn't load state for
'\000\000\000\000\00
0\000\222\206'
Traceback (innermost last):
  File /usr/local/zope/Zope-2.3.1/lib/python/ZODB/Connection.py, line 533,
in se
tstate
TypeError: ('not enough arguments; expected 2, got 1', <extension class
Products
.CMFDefault.MetadataTool.ElementSpec at 8664ae0>, ())


------
2001-06-02T05:15:12 ERROR(200) ZODB Couldn't load state for
'\000\000\000\000\00
0\000\222\206'
Traceback (innermost last):
  File /usr/local/zope/Zope-2.3.1/lib/python/ZODB/Connection.py, line 533,
in se
tstate
TypeError: ('not enough arguments; expected 2, got 1', <extension class
Products
.CMFDefault.MetadataTool.ElementSpec at 8664ae0>, ())