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

Joachim Schmitz js@aixtraware.de
Sun, 3 Jun 2001 21:02:12 +0200 (CEST)


On Sun, 3 Jun 2001, marc lindahl wrote:

> Did you have a portal_metadata tool in your old portal?  with/without
> element data in it?
>
yes, without elements. I removed it, copied the portal_metadata from the
beta, deleted the Event policy, and voila I could run install_events without
error in the old instance. Thanks for the tip.


> > 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
> >
> > replying to my own post:
> >
> > 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-instance
> > to a new CMF version ?
> >
> >
> > On Sun, 3 Jun 2001, Joachim Schmitz wrote:
> >
> >> Hi,
> >>
> >> I followed the instructions in the INSTALL.txt created an external method
> >> install_events, when I try it, I get:
> >>
> >> Site Error
> >>
> >> An error was encountered while publishing this resource.
> >>
> >> Error Type: TypeError
> >> Error Value: ('not enough arguments; expected 2, got 1', <extension class
> >> Products.CMFDefault.MetadataTool.ElementSpec at 85baed8>, ())
> >>
> >>
> >>
> >> Troubleshooting Suggestions
> >>
> >> 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.
> >>
> >> For more detailed information about the error, please refer to the HTML
> >> source for this page.
> >>
> >> If the error persists please contact the site maintainer. Thank you for your
> >> patience.
> >>
> >> 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/ExternalM
> >> ethod.py, line 262, in __call__
> >> (Object: install_events)
> >> (Info: ((<CMFSite instance at 888fed8>,), {}, None))
> >> File
> >> /usr/local/ZopePark/tozo1.aixtraware.de/ZInstanceHome/Products/CMFCalendar/Ex
> >> tensions/Install.py, line 136, in install
> >> (Object: Traversable)
> >> File
> >> /usr/local/ZopePark/tozo1.aixtraware.de/ZInstanceHome/Products/CMFDefault/Met
> >> adataTool.py, line 349, in addElementPolicy
> >> (Object: portal_metadata)
> >> File
> >> /usr/local/ZopePark/tozo1.aixtraware.de/ZInstanceHome/Products/CMFDefault/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)
> >>
> >>
> >>
> >> Mit freundlichen Grüßen
> >>
> >> Joachim Schmitz
> >>
> >> AixtraWare, Ing. Büro für Internetanwendungen
> >> Hüsgenstr. 33a, D-52457 Aldenhoven
> >> Telefon: +49-2464-8851, FAX: +49-2464-905163
> >>
> >>
> >> _______________________________________________
> >> 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
> >>
> >
> > Mit freundlichen Grüßen
> >
> > Joachim Schmitz
> >
> > AixtraWare, Ing. Büro für Internetanwendungen
> > Hüsgenstr. 33a, D-52457 Aldenhoven
> > Telefon: +49-2464-8851, FAX: +49-2464-905163
> >
> >
> > _______________________________________________
> > 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
>
>
>

Mit freundlichen Grüßen

Joachim Schmitz

AixtraWare, Ing. Büro für Internetanwendungen
Hüsgenstr. 33a, D-52457 Aldenhoven
Telefon: +49-2464-8851, FAX: +49-2464-905163