Ticket #8043 (closed Bug: worksforme)

Opened 4 years ago

Last modified 18 months ago

Buildout Windows Instance Start Causes Error when Theme or Policy Installed

Reported by: tripcode Owned by:
Priority: major Milestone: 3.3.x
Component: Infrastructure Keywords: buildout windows service instance start
Cc:

Description (last modified by kleist) (diff)

When running a buildout instance on Windows using the instance start command the following error is encountered. Buildout runs fine and this issue below occurs after either a theme or a policy package is created using paster and then included with the buildout.cfg. Buildout is re-run.

Note: Instance console works and Instance fg works.

Plone 3.0.6

2008-04-17T14:03:12 ERROR Application Couldn't install Five
Traceback (most recent call last):
  File "D:\Plone\Zope\lib\python\OFS\Application.py", line 786, in install_product
    initmethod(context)
  File "D:\Plone\Zope\lib\python\Products\Five\__init__.py", line 28, in initialize
    zcml.load_site()
  File "D:\Plone\Zope\lib\python\Products\Five\zcml.py", line 53, in load_site
    _context = xmlconfig.file(file)
  File "D:\Plone\Zope\lib\python\zope\configuration\xmlconfig.py", line 579, in file
    include(context, name, package)
  File "D:\Plone\Zope\lib\python\zope\configuration\xmlconfig.py", line 515, in include
    processxmlfile(f, context)
  File "D:\Plone\Zope\lib\python\zope\configuration\xmlconfig.py", line 370, in processxmlfile
    parser.parse(src)
  File "D:\Plone\Python\Lib\site-packages\_xmlplus\sax\expatreader.py", line 109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "D:\Plone\Python\Lib\site-packages\_xmlplus\sax\xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "D:\Plone\Python\Lib\site-packages\_xmlplus\sax\expatreader.py", line 216, in feed
    self._parser.Parse(data, isFinal)
  File "D:\Plone\Python\Lib\site-packages\_xmlplus\sax\expatreader.py", line 364, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "D:\Plone\Zope\lib\python\zope\configuration\xmlconfig.py", line 349, in endElementNS
    self.context.end()
  File "D:\Plone\Zope\lib\python\zope\configuration\config.py", line 544, in end
    self.stack.pop().finish()
  File "D:\Plone\Zope\lib\python\zope\configuration\config.py", line 692, in finish
    actions = self.handler(context, **args)
  File "D:\Plone\Zope\lib\python\zope\configuration\xmlconfig.py", line 515, in include
    processxmlfile(f, context)
  File "D:\Plone\Zope\lib\python\zope\configuration\xmlconfig.py", line 370, in processxmlfile
    parser.parse(src)
  File "D:\Plone\Python\Lib\site-packages\_xmlplus\sax\expatreader.py", line 109, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "D:\Plone\Python\Lib\site-packages\_xmlplus\sax\xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "D:\Plone\Python\Lib\site-packages\_xmlplus\sax\expatreader.py", line 216, in feed
    self._parser.Parse(data, isFinal)
  File "D:\Plone\Python\Lib\site-packages\_xmlplus\sax\expatreader.py", line 364, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "D:\Plone\Zope\lib\python\zope\configuration\xmlconfig.py", line 349, in endElementNS
    self.context.end()
  File "D:\Plone\Zope\lib\python\zope\configuration\config.py", line 544, in end
    self.stack.pop().finish()
  File "D:\Plone\Zope\lib\python\zope\configuration\config.py", line 691, in finish
    args = toargs(context, *self.argdata)
  File "D:\Plone\Zope\lib\python\zope\configuration\config.py", line 1383, in toargs
    args[str(name)] = field.fromUnicode(s)
  File "D:\Plone\Zope\lib\python\zope\configuration\fields.py", line 141, in fromUnicode
    raise schema.ValidationError(v)
  ZopeXMLConfigurationError:
    File "d:\Plone\insite2\parts\instance\etc\site.zcml", line 14.2-14.55
  ZopeXMLConfigurationError:
    File "d:\Plone\insite2\parts\instance\etc\package-includes\001-insite2.policy-configure.zcml", line 1.0-1.58
    ConfigurationError:
      ('Invalid value for', 'package', "ImportError: Couldn't import insite2, No module named insite2")

Change History

comment:1 Changed 4 years ago by tripcode

assigning to hannosch

comment:2 Changed 4 years ago by hannosch

  • Status changed from new to closed
  • Resolution set to worksforme

This never was assigned to me... but it looks like an individual problem. I know that running buildout on Windows including add-ons works without a problem. Anyways this is not a Plone Core bug but a support request for the mailing lists...

comment:3 Changed 3 years ago by sveri

  • Status changed from closed to reopened
  • Resolution worksforme deleted

I have the same error on Arch Linux, Plone Version 3.2.1.

For more information see:  http://plone.org/support/forums/general#nabble-tc2366931

Short Version, i installed everything twice, with the unified installer and tried out different paster themes, did the buildout about ten times. The bug is reproducable on my station. It would be great to get some help on that.

comment:4 Changed 3 years ago by hannosch

  • Milestone changed from 3.1.5 to 3.x

comment:5 Changed 19 months ago by kleist

  • Description modified (diff)

tripcode and sveri: Would it be possible for you to try this again with Plone 3.3.5?

If it's not reproducable, maybe we could close this two years old ticket?

comment:6 Changed 18 months ago by kleist

  • Status changed from reopened to closed
  • Resolution set to worksforme

Closing, since no response from tripcode/sveri.

Note: See TracTickets for help on using tickets.