[Zope-CMF] error installing CMFCalendar in CMF-1.1beta

marc lindahl marc@bowery.com
Sun, 03 Jun 2001 13:18:44 -0400


Did you have a portal_metadata tool in your old portal?  with/without
element data in it?

> From: Joachim Schmitz <js@aixtraware.de>
> Date: Sun, 3 Jun 2001 17:51:33 +0200 (CEST)
> To: zope-cmf <zope-cmf@zope.org>
> Subject: Re: [Zope-CMF] error installing CMFCalendar in CMF-1.1beta
>=20
> replying to my own post:
>=20
> I created a new portal-instance under CMF 1.1beta, and there it worked
> without problems. That leaves the question: how do I upgrade an CMF-insta=
nce
> to a new CMF version ?
>=20
>=20
> On Sun, 3 Jun 2001, Joachim Schmitz wrote:
>=20
>> Hi,
>>=20
>> I followed the instructions in the INSTALL.txt created an external metho=
d
>> install_events, when I try it, I get:
>>=20
>> Site Error
>>=20
>> An error was encountered while publishing this resource.
>>=20
>> Error Type: TypeError
>> Error Value: ('not enough arguments; expected 2, got 1', <extension clas=
s
>> Products.CMFDefault.MetadataTool.ElementSpec at 85baed8>, ())
>>=20
>>=20
>>=20
>> Troubleshooting Suggestions
>>=20
>> The URL may be incorrect.
>> The parameters passed to this resource may be incorrect.
>> A resource that this resource relies on may be encountering an error.
>>=20
>> For more detailed information about the error, please refer to the HTML
>> source for this page.
>>=20
>> If the error persists please contact the site maintainer. Thank you for =
your
>> patience.
>>=20
>> Traceback (innermost last):
>> File /usr/local/Zope-2.3.1/lib/python/ZPublisher/Publish.py, line 223, i=
n
>> publish_module
>> File /usr/local/Zope-2.3.1/lib/python/ZPublisher/Publish.py, line 187, i=
n
>> publish
>> File /usr/local/Zope-2.3.1/lib/python/Zope/__init__.py, line 221, in
>> zpublisher_exception_hook
>> (Object: Traversable)
>> File /usr/local/Zope-2.3.1/lib/python/ZPublisher/Publish.py, line 171, i=
n
>> publish
>> File /usr/local/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/mapply.py, l=
ine
>> 160, in mapply
>> (Object: install_events)
>> File /usr/local/Zope-2.3.1/lib/python/ZPublisher/Publish.py, line 112, i=
n
>> call_object
>> (Object: install_events)
>> File=20
>> /usr/local/Zope-2.3.0-linux2-x86/lib/python/Products/ExternalMethod/Exte=
rnalM
>> ethod.py, line 262, in __call__
>> (Object: install_events)
>> (Info: ((<CMFSite instance at 888fed8>,), {}, None))
>> File=20
>> /usr/local/ZopePark/tozo1.aixtraware.de/ZInstanceHome/Products/CMFCalend=
ar/Ex
>> tensions/Install.py, line 136, in install
>> (Object: Traversable)
>> File=20
>> /usr/local/ZopePark/tozo1.aixtraware.de/ZInstanceHome/Products/CMFDefaul=
t/Met
>> adataTool.py, line 349, in addElementPolicy
>> (Object: portal_metadata)
>> File=20
>> /usr/local/ZopePark/tozo1.aixtraware.de/ZInstanceHome/Products/CMFDefaul=
t/Met
>> adataTool.py, line 440, in getElementSpec
>> (Object: portal_metadata)
>> File /usr/local/Zope-2.3.0-linux2-x86/lib/python/ZODB/PersistentMapping.=
py,
>> line 114, in __getitem__
>> File /usr/local/Zope-2.3.1/lib/python/ZODB/Connection.py, line 533, in
>> setstate
>> TypeError: (see above)
>>=20
>>=20
>>=20
>> Mit freundlichen Gr=FC=DFen
>>=20
>> Joachim Schmitz
>>=20
>> AixtraWare, Ing. B=FCro f=FCr Internetanwendungen
>> H=FCsgenstr. 33a, D-52457 Aldenhoven
>> Telefon: +49-2464-8851, FAX: +49-2464-905163
>>=20
>>=20
>> _______________________________________________
>> Zope-CMF maillist  -  Zope-CMF@zope.org
>> http://lists.zope.org/mailman/listinfo/zope-cmf
>>=20
>> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
>> requests
>>=20
>=20
> Mit freundlichen Gr=FC=DFen
>=20
> Joachim Schmitz
>=20
> AixtraWare, Ing. B=FCro f=FCr Internetanwendungen
> H=FCsgenstr. 33a, D-52457 Aldenhoven
> Telefon: +49-2464-8851, FAX: +49-2464-905163
>=20
>=20
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>=20
> See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
> requests