Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Sep 2012 09:05:32 +0200
From:      John Hay <jhay@meraka.org.za>
To:        freebsd-zope@freebsd.org
Subject:   problem with upgrade to plone 4.2.1
Message-ID:  <20120914070532.GA6069@zibbi.meraka.csir.co.za>

next in thread | raw e-mail | index | archive | help
Hi Guys,

I have a problem. I have upgraded my plone from 4.1.5 to 4.2.1 using ports
and portmaster, but now it does not want to start. I have even created
a new clean instance and running runzope I see this:

########################
 # /usr/local/www/Zope213/ptest/bin/runzope
Traceback (most recent call last):
  File "/usr/local/bin/runzope", line 8, in <module>
    load_entry_point('Zope2==2.13.16', 'console_scripts', 'runzope')()
  File "/usr/local/lib/python2.7/site-packages/Zope2-2.13.16-py2.7.egg/Zope2/Startup/run.py", line 22, in run
    starter.prepare()
  File "/usr/local/lib/python2.7/site-packages/Zope2-2.13.16-py2.7.egg/Zope2/Startup/__init__.py", line 86, in prepare
    self.startZope()
  File "/usr/local/lib/python2.7/site-packages/Zope2-2.13.16-py2.7.egg/Zope2/Startup/__init__.py", line 259, in startZope
    Zope2.startup()
  File "/usr/local/lib/python2.7/site-packages/Zope2-2.13.16-py2.7.egg/Zope2/__init__.py", line 47, in startup
    _startup()
  File "/usr/local/lib/python2.7/site-packages/Zope2-2.13.16-py2.7.egg/Zope2/App/startup.py", line 118, in startup
    load_zcml()
  File "/usr/local/lib/python2.7/site-packages/Zope2-2.13.16-py2.7.egg/Zope2/App/startup.py", line 52, in load_zcml
    load_site()
  File "/usr/local/lib/python2.7/site-packages/Zope2-2.13.16-py2.7.egg/Zope2/App/zcml.py", line 46, in load_site
    _context = xmlconfig.file(site_zcml)
  File "/usr/local/lib/python2.7/site-packages/zope.configuration-3.8.0-py2.7.egg/zope/configuration/xmlconfig.py", line 646, in file
    include(context, name, package)
  File "/usr/local/lib/python2.7/site-packages/zope.configuration-3.8.0-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
    processxmlfile(f, context)
  File "/usr/local/lib/python2.7/site-packages/zope.configuration-3.8.0-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
    parser.parse(src)
  File "/usr/local/lib/python2.7/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/local/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/local/lib/python2.7/xml/sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/local/lib/python2.7/xml/sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/usr/local/lib/python2.7/site-packages/zope.configuration-3.8.0-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
    self.context.end()
  File "/usr/local/lib/python2.7/site-packages/zope.configuration-3.8.0-py2.7.egg/zope/configuration/config.py", line 620, in end
    self.stack.pop().finish()
  File "/usr/local/lib/python2.7/site-packages/zope.configuration-3.8.0-py2.7.egg/zope/configuration/config.py", line 774, in finish
    actions = self.handler(context, **args)
  File "/usr/local/lib/python2.7/site-packages/Zope2-2.13.16-py2.7.egg/OFS/metaconfigure.py", line 46, in loadProducts
    xmlconfig.include(_context, zcml, package=product)
  File "/usr/local/lib/python2.7/site-packages/zope.configuration-3.8.0-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
    processxmlfile(f, context)
  File "/usr/local/lib/python2.7/site-packages/zope.configuration-3.8.0-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
    parser.parse(src)
  File "/usr/local/lib/python2.7/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/local/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/local/lib/python2.7/xml/sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/local/lib/python2.7/xml/sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/usr/local/lib/python2.7/site-packages/zope.configuration-3.8.0-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
    self.context.end()
  File "/usr/local/lib/python2.7/site-packages/zope.configuration-3.8.0-py2.7.egg/zope/configuration/config.py", line 620, in end
    self.stack.pop().finish()
  File "/usr/local/lib/python2.7/site-packages/zope.configuration-3.8.0-py2.7.egg/zope/configuration/config.py", line 774, in finish
    actions = self.handler(context, **args)
  File "/usr/local/lib/python2.7/site-packages/zope.configuration-3.8.0-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
    processxmlfile(f, context)
  File "/usr/local/lib/python2.7/site-packages/zope.configuration-3.8.0-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
    parser.parse(src)
  File "/usr/local/lib/python2.7/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/local/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/local/lib/python2.7/xml/sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/local/lib/python2.7/xml/sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/usr/local/lib/python2.7/site-packages/zope.configuration-3.8.0-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
    self.context.end()
  File "/usr/local/lib/python2.7/site-packages/zope.configuration-3.8.0-py2.7.egg/zope/configuration/config.py", line 620, in end
    self.stack.pop().finish()
  File "/usr/local/lib/python2.7/site-packages/zope.configuration-3.8.0-py2.7.egg/zope/configuration/config.py", line 773, in finish
    args = toargs(context, *self.argdata)
  File "/usr/local/lib/python2.7/site-packages/zope.configuration-3.8.0-py2.7.egg/zope/configuration/config.py", line 1564, in toargs
    args[str(name)] = field.fromUnicode(s)
  File "/usr/local/lib/python2.7/site-packages/zope.configuration-3.8.0-py2.7.egg/zope/configuration/fields.py", line 227, in fromUnicode
    v = vt.fromUnicode(s)
  File "/usr/local/lib/python2.7/site-packages/zope.configuration-3.8.0-py2.7.egg/zope/configuration/fields.py", line 137, in fromUnicode
    value = self.context.resolve(name)
  File "/usr/local/lib/python2.7/site-packages/zope.configuration-3.8.0-py2.7.egg/zope/configuration/config.py", line 178, in resolve
    mod = __import__(mname, *_import_chickens)
  File "/usr/local/lib/python2.7/site-packages/plone.app.controlpanel-2.2.8-py2.7.egg/plone/app/controlpanel/filter.py", line 2, in <module>
    from plone.app.form.widgets.sequencewidget import ListSequenceWidget
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/usr/local/www/Zope213/ptest/etc/site.zcml", line 16.2-16.23
    ZopeXMLConfigurationError: File "/usr/local/lib/python2.7/site-packages/Products.CMFPlone-4.2.1.1-py2.7.egg/Products/CMFPlone/configure.zcml", line 16.2-16.46
    ZopeXMLConfigurationError: File "/usr/local/lib/python2.7/site-packages/plone.app.controlpanel-2.2.8-py2.7.egg/plone/app/controlpanel/configure.zcml", line 15.2-15.57
    ImportError: No module named sequencewidget
 #
########################

Anybody with ideas? I have even done forced rebuild with portmaster -f plone-
but I still have this problem.

John
-- 
John Hay -- jhay@meraka.csir.co.za / jhay@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120914070532.GA6069>