there was something wrong with plone 4.2.4 , can anyone help me out?

66 views
Skip to first unread message

gonewind

unread,
Apr 10, 2013, 8:53:38 AM4/10/13
to singing...@googlegroups.com
hi,everyone:
    I am trying to move plone 4.1 to Plone 4.2.4,the S&D was working properly with 4.1. but when i move to plone 4.2.4, when it start,it give me following information, the site is broken! 
    does anyone also encount this problem? how to solve it?

    thanks



2013-04-10 20:33:15 INFO ZServer HTTP server started at Wed Apr 10 20:33:15 2013
        Hostname: 0.0.0.0
        Port: 8080
2013-04-10 20:33:15 INFO Zope Set effective user to "plone"
2013-04-10 20:33:18 INFO ZEO.ClientStorage zeostorage ClientStorage (pid=4339) created RW/normal for storage: '1'
2013-04-10 20:33:18 INFO ZEO.cache created temporary cache file '<fdopen>'
2013-04-10 20:33:18 INFO ZEO.zrpc.Connection(C) (127.0.0.1:8100) received handshake 'Z3101'
2013-04-10 20:33:18 INFO ZEO.ClientStorage zeostorage Testing connection <ManagedClientConnection ('127.0.0.1', 8100)>
2013-04-10 20:33:18 INFO ZEO.ClientStorage zeostorage Server authentication protocol None
2013-04-10 20:33:18 INFO ZEO.ClientStorage zeostorage Connected to storage: ('localhost', 8100)
2013-04-10 20:33:18 INFO ZEO.ClientStorage zeostorage No verification necessary -- empty cache
2013-04-10 20:33:21 INFO ZEO.ClientStorage zeostorage Disconnected from storage: "('localhost', 8100)"
Traceback (most recent call last):
  File "/usr/local/Plone/zeocluster/parts/client1/bin/interpreter", line 305, in <module>
    execfile(__file__)
  File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/Zope2/Startup/run.py", line 76, in <module>
    run()
  File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/Zope2/Startup/run.py", line 22, in run
    starter.prepare()
  File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/Zope2/Startup/__init__.py", line 86, in prepare
    self.startZope()
  File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/Zope2/Startup/__init__.py", line 262, in startZope
    Zope2.startup()
  File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/Zope2/__init__.py", line 47, in startup
    _startup()
  File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/Zope2/App/startup.py", line 118, in startup
    load_zcml()
  File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/Zope2/App/startup.py", line 52, in load_zcml
    load_site()
  File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/Zope2/App/zcml.py", line 46, in load_site
    _context = xmlconfig.file(site_zcml)
  File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 649, in file
    include(context, name, package)
  File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
    processxmlfile(f, context)
  File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
    parser.parse(src)
  File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
    self.context.end()
  File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
    self.stack.pop().finish()
  File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish
    actions = self.handler(context, **args)
  File "/usr/local/Plone/buildout-cache/eggs/Zope2-2.13.19-py2.7.egg/OFS/metaconfigure.py", line 46, in loadProducts
    xmlconfig.include(_context, zcml, package=product)
  File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
    processxmlfile(f, context)
  File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
    parser.parse(src)
  File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
    self.context.end()
  File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
    self.stack.pop().finish()
  File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish
    actions = self.handler(context, **args)
  File "/usr/local/Plone/buildout-cache/eggs/z3c.autoinclude-0.3.4-py2.7.egg/z3c/autoinclude/zcml.py", line 104, in includePluginsDirective
    includeZCMLGroup(_context, info, filename)
  File "/usr/local/Plone/buildout-cache/eggs/z3c.autoinclude-0.3.4-py2.7.egg/z3c/autoinclude/zcml.py", line 30, in includeZCMLGroup
    include(_context, filename, includable_package)
  File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
    processxmlfile(f, context)
  File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
    parser.parse(src)
  File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
    self.context.end()
  File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
    self.stack.pop().finish()
  File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish
    actions = self.handler(context, **args)
  File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
    processxmlfile(f, context)
  File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
    parser.parse(src)
  File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 107, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 207, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/local/Plone/Python-2.7/lib/python2.7/xml/sax/expatreader.py", line 349, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
    self.context.end()
  File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
    self.stack.pop().finish()
  File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 705, in finish
    args = toargs(context, *self.argdata)
  File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 1397, in toargs
    args[str(name)] = field.fromUnicode(s)
  File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/fields.py", line 137, in fromUnicode
    value = self.context.resolve(name)
  File "/usr/local/Plone/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 179, in resolve
    mod = __import__(mname, *_import_chickens)
  File "/usr/local/Plone/buildout-cache/eggs/collective.dancing-0.9.10-py2.7.egg/collective/dancing/composer.py", line 32, in <module>
    from collective.dancing import transform
  File "/usr/local/Plone/buildout-cache/eggs/collective.dancing-0.9.10-py2.7.egg/collective/dancing/transform.py", line 11, in <module>
    from collective.dancing import utils
  File "/usr/local/Plone/buildout-cache/eggs/collective.dancing-0.9.10-py2.7.egg/collective/dancing/utils.py", line 6, in <module>
    import stoneagehtml
  File "/usr/local/Plone/buildout-cache/eggs/StoneageHTML-0.2.1-py2.7.egg/stoneagehtml/__init__.py", line 1, in <module>
    from stoneagehtml import compactify
  File "/usr/local/Plone/buildout-cache/eggs/StoneageHTML-0.2.1-py2.7.egg/stoneagehtml/stoneagehtml.py", line 31, in <module>
    import cssutils
  File "/usr/local/Plone/buildout-cache/eggs/cssutils-0.9.10-py2.7.egg/cssutils/__init__.py", line 111, in <module>
    from . import util
  File "/usr/local/Plone/buildout-cache/eggs/cssutils-0.9.10-py2.7.egg/cssutils/util.py", line 7, in <module>
    from .helper import normalize
  File "/usr/local/Plone/buildout-cache/eggs/cssutils-0.9.10-py2.7.egg/cssutils/helper.py", line 9, in <module>
    import urllib.request, urllib.parse, urllib.error
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/usr/local/Plone/zeocluster/parts/client1/etc/site.zcml", line 16.2-16.23
    ZopeXMLConfigurationError: File "/usr/local/Plone/buildout-cache/eggs/Products.CMFPlone-4.2.4-py2.7.egg/Products/CMFPlone/configure.zcml", line 102.4-106.10
    ZopeXMLConfigurationError: File "/usr/local/Plone/buildout-cache/eggs/collective.dancing-0.9.10-py2.7.egg/collective/dancing/configure.zcml", line 15.2-15.30
    ZopeXMLConfigurationError: File "/usr/local/Plone/buildout-cache/eggs/collective.dancing-0.9.10-py2.7.egg/collective/dancing/mail.zcml", line 16.2-16.62
    ImportError: No module named request

Daniel Widerin

unread,
Apr 10, 2013, 2:00:36 PM4/10/13
to singing...@googlegroups.com
You have to pin your cssutil package, as i described in buildout.cfg on github.
just open the buildout file for your plone site and copy out the version pins.

https://github.com/collective/collective.dancing/blob/master/test-plone-4.2.x.cfg

use a version below 0.9.10

regards
daniel
> --
> You received this message because you are subscribed to the Google Groups "Singing & Dancing" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to singing-danci...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

何国锋

unread,
Apr 10, 2013, 8:14:28 PM4/10/13
to singing...@googlegroups.com
Great!it is working!
Thank you!


2013/4/11 Daniel Widerin <dan...@widerin.net>
You received this message because you are subscribed to a topic in the Google Groups "Singing & Dancing" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/singing-dancing/UxUfLeXQL8g/unsubscribe?hl=en-US.
To unsubscribe from this group and all its topics, send an email to singing-danci...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.





--
******************************************
何国锋

中国电信上海公司信息网络部
地址: 上海市四川北路61号11楼
电话: 86-21-66089508
手机: 18918560598
Email:  hegu...@shtel.com.cn
新浪微博:  http://weibo.com/gonewind  
******************************************
本邮件含有保密信息,请您恪守保密义务,未经
我方书面同意,勿向第三人透露;若本邮件误发
至您信箱,请立即删除,并通知我方,勿向第三
人透露。
******************************************
Reply all
Reply to author
Forward
0 new messages