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

marc lindahl marc@bowery.com
Sun, 03 Jun 2001 15:11:23 -0400


No prob...
I'm boned, because I had a pile of stuff in the portal_metadata tool, and
the updated version is incompatible (I think, due to inheriting Persistent)=
,
and there's no current way to import/export just the data from the tool,
independant of the internal structure...  AFAIK!

> From: Joachim Schmitz <js@aixtraware.de>
> Date: Sun, 3 Jun 2001 21:02:12 +0200 (CEST)
> To: zope-cmf <zope-cmf@zope.org>
> Subject: Re: [Zope-CMF] error installing CMFCalendar in CMF-1.1beta
>=20
> On Sun, 3 Jun 2001, marc lindahl wrote:
>=20
>> Did you have a portal_metadata tool in your old portal?  with/without
>> element data in it?
>>=20
> yes, without elements. I removed it, copied the portal_metadata from the
> beta, deleted the Event policy, and voila I could run install_events with=
out
> error in the old instance. Thanks for the tip.
>=20
>=20
>>> 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-ins=
tance
>>> 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 met=
hod
>>>> 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 cl=
ass
>>>> 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 HTM=
L
>>>> source for this page.
>>>>=20
>>>> If the error persists please contact the site maintainer. Thank you fo=
r
>>>> your
>>>> patience.
>>>>=20
>>>> Traceback (innermost last):
>>>> File /usr/local/Zope-2.3.1/lib/python/ZPublisher/Publish.py, line 223,=
 in
>>>> publish_module
>>>> File /usr/local/Zope-2.3.1/lib/python/ZPublisher/Publish.py, line 187,=
 in
>>>> 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,=
 in
>>>> publish
>>>> File /usr/local/Zope-2.3.0-linux2-x86/lib/python/ZPublisher/mapply.py,=
 line
>>>> 160, in mapply
>>>> (Object: install_events)
>>>> File /usr/local/Zope-2.3.1/lib/python/ZPublisher/Publish.py, line 112,=
 in
>>>> call_object
>>>> (Object: install_events)
>>>> File
>>>> /usr/local/Zope-2.3.0-linux2-x86/lib/python/Products/ExternalMethod/Ex=
terna
>>>> lM
>>>> ethod.py, line 262, in __call__
>>>> (Object: install_events)
>>>> (Info: ((<CMFSite instance at 888fed8>,), {}, None))
>>>> File
>>>> /usr/local/ZopePark/tozo1.aixtraware.de/ZInstanceHome/Products/CMFCale=
ndar/
>>>> Ex
>>>> tensions/Install.py, line 136, in install
>>>> (Object: Traversable)
>>>> File
>>>> /usr/local/ZopePark/tozo1.aixtraware.de/ZInstanceHome/Products/CMFDefa=
ult/M
>>>> et
>>>> adataTool.py, line 349, in addElementPolicy
>>>> (Object: portal_metadata)
>>>> File
>>>> /usr/local/ZopePark/tozo1.aixtraware.de/ZInstanceHome/Products/CMFDefa=
ult/M
>>>> et
>>>> adataTool.py, line 440, in getElementSpec
>>>> (Object: portal_metadata)
>>>> File /usr/local/Zope-2.3.0-linux2-x86/lib/python/ZODB/PersistentMappin=
g.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 featu=
re
>>>> 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 featur=
e
>>> requests
>>=20
>>=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