Commit 20b7554e authored by Carlos Ramos Carreño's avatar Carlos Ramos Carreño

Add five.pt.

The current ERP5 version used for our client uses the five.pt module.
If we do not install it explicitly it produces the following error when
testing:

```python
Traceback (most recent call last):
  File "/srv/slapgrid/slappart14/t/eoa/soft/23ce02aa8134fb106bc2d3fe6f88f002/bin/runUnitTest", line 365, in <module>
    sys.exit(runUnitTest.main())
  File "/srv/slapgrid/slappart14/t/eoa/soft/23ce02aa8134fb106bc2d3fe6f88f002/parts/erp5/Products/ERP5Type/tests/runUnitTest.py", line 879, in main
    run_only=run_only,
  File "/srv/slapgrid/slappart14/t/eoa/soft/23ce02aa8134fb106bc2d3fe6f88f002/parts/erp5/Products/ERP5Type/tests/runUnitTest.py", line 572, in runUnitTestList
    layer.ZopeLite.setUp() # this will import custom_zodb.py
  File "/srv/slapgrid/slappart14/t/eoa/soft/23ce02aa8134fb106bc2d3fe6f88f002/eggs/Zope2-2.13.30-py2.7.egg/Testing/ZopeTestCase/layer.py", line 26, in setUp
    func(*args, **kw)
  File "/srv/slapgrid/slappart14/t/eoa/soft/23ce02aa8134fb106bc2d3fe6f88f002/eggs/Zope2-2.13.30-py2.7.egg/Testing/ZopeTestCase/ZopeLite.py", line 148, in _startup
    _theApp = Zope2.app()
  File "/srv/slapgrid/slappart14/t/eoa/soft/23ce02aa8134fb106bc2d3fe6f88f002/eggs/Zope2-2.13.30-py2.7.egg/Zope2/__init__.py", line 51, in app
    startup()
  File "/srv/slapgrid/slappart14/t/eoa/soft/23ce02aa8134fb106bc2d3fe6f88f002/eggs/Zope2-2.13.30-py2.7.egg/Zope2/__init__.py", line 47, in startup
    _startup()
  File "/srv/slapgrid/slappart14/t/eoa/soft/23ce02aa8134fb106bc2d3fe6f88f002/eggs/Zope2-2.13.30-py2.7.egg/Zope2/App/startup.py", line 120, in startup
    load_zcml()
  File "/srv/slapgrid/slappart14/t/eoa/soft/23ce02aa8134fb106bc2d3fe6f88f002/eggs/Zope2-2.13.30-py2.7.egg/Zope2/App/startup.py", line 52, in load_zcml
    load_site()
  File "/srv/slapgrid/slappart14/t/eoa/soft/23ce02aa8134fb106bc2d3fe6f88f002/eggs/Zope2-2.13.30-py2.7.egg/Zope2/App/zcml.py", line 46, in load_site
    _context = xmlconfig.file(site_zcml)
  File "/srv/slapgrid/slappart14/t/eoa/soft/23ce02aa8134fb106bc2d3fe6f88f002/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 649, in file
    include(context, name, package)
  File "/srv/slapgrid/slappart14/t/eoa/soft/23ce02aa8134fb106bc2d3fe6f88f002/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
    processxmlfile(f, context)
  File "/srv/slapgrid/slappart14/t/eoa/soft/23ce02aa8134fb106bc2d3fe6f88f002/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
    parser.parse(src)
  File "/srv/slapgrid/slappart14/t/eoa/shared/python2.7/5946ea6f150e3d313513dba389733880/lib/python2.7/xml/sax/expatreader.py", line 111, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/srv/slapgrid/slappart14/t/eoa/shared/python2.7/5946ea6f150e3d313513dba389733880/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/srv/slapgrid/slappart14/t/eoa/shared/python2.7/5946ea6f150e3d313513dba389733880/lib/python2.7/xml/sax/expatreader.py", line 220, in feed
    self._parser.Parse(data, isFinal)
  File "/srv/slapgrid/slappart14/t/eoa/shared/python2.7/5946ea6f150e3d313513dba389733880/lib/python2.7/xml/sax/expatreader.py", line 384, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/srv/slapgrid/slappart14/t/eoa/soft/23ce02aa8134fb106bc2d3fe6f88f002/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
    self.context.end()
  File "/srv/slapgrid/slappart14/t/eoa/soft/23ce02aa8134fb106bc2d3fe6f88f002/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
    self.stack.pop().finish()
  File "/srv/slapgrid/slappart14/t/eoa/soft/23ce02aa8134fb106bc2d3fe6f88f002/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 706, in finish
    actions = self.handler(context, **args)
  File "/srv/slapgrid/slappart14/t/eoa/soft/23ce02aa8134fb106bc2d3fe6f88f002/eggs/Zope2-2.13.30-py2.7.egg/OFS/metaconfigure.py", line 46, in loadProducts
    xmlconfig.include(_context, zcml, package=product)
  File "/srv/slapgrid/slappart14/t/eoa/soft/23ce02aa8134fb106bc2d3fe6f88f002/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 548, in include
    processxmlfile(f, context)
  File "/srv/slapgrid/slappart14/t/eoa/soft/23ce02aa8134fb106bc2d3fe6f88f002/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 380, in processxmlfile
    parser.parse(src)
  File "/srv/slapgrid/slappart14/t/eoa/shared/python2.7/5946ea6f150e3d313513dba389733880/lib/python2.7/xml/sax/expatreader.py", line 111, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/srv/slapgrid/slappart14/t/eoa/shared/python2.7/5946ea6f150e3d313513dba389733880/lib/python2.7/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/srv/slapgrid/slappart14/t/eoa/shared/python2.7/5946ea6f150e3d313513dba389733880/lib/python2.7/xml/sax/expatreader.py", line 220, in feed
    self._parser.Parse(data, isFinal)
  File "/srv/slapgrid/slappart14/t/eoa/shared/python2.7/5946ea6f150e3d313513dba389733880/lib/python2.7/xml/sax/expatreader.py", line 384, in end_element_ns
    self._cont_handler.endElementNS(pair, None)
  File "/srv/slapgrid/slappart14/t/eoa/soft/23ce02aa8134fb106bc2d3fe6f88f002/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 359, in endElementNS
    self.context.end()
  File "/srv/slapgrid/slappart14/t/eoa/soft/23ce02aa8134fb106bc2d3fe6f88f002/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 558, in end
    self.stack.pop().finish()
  File "/srv/slapgrid/slappart14/t/eoa/soft/23ce02aa8134fb106bc2d3fe6f88f002/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 705, in finish
    args = toargs(context, *self.argdata)
  File "/srv/slapgrid/slappart14/t/eoa/soft/23ce02aa8134fb106bc2d3fe6f88f002/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 1397, in toargs
    args[str(name)] = field.fromUnicode(s)
  File "/srv/slapgrid/slappart14/t/eoa/soft/23ce02aa8134fb106bc2d3fe6f88f002/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/fields.py", line 139, in fromUnicode
    raise schema.ValidationError(v)
zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/srv/slapgrid/slappart14/t/eoa/soft/23ce02aa8134fb106bc2d3fe6f88f002/eggs/Zope2-2.13.30-py2.7.egg/Zope2/utilities/skel/etc/site.zcml", line 16.2-16.23
    ZopeXMLConfigurationError: File "/srv/slapgrid/slappart14/t/eoa/soft/23ce02aa8134fb106bc2d3fe6f88f002/parts/erp5/product/ERP5Chameleon/configure.zcml", line 1.0-1.29
    ConfigurationError: ('Invalid value for', 'package', 'ImportError: Module five has no global pt')
```

Thus, this commit installs the same version that is used for our client.
parent 03991440
......@@ -4,3 +4,11 @@ extends =
[erp5]
branch = zope2
[eggs]
eggs +=
five.pt
[versions]
# instead of five.pt 3.0 (requirement Zope>=4.0a2)
five.pt = 2.2.1
......@@ -89,7 +89,7 @@ zope.i18nmessageid = 3.5.3
zope.interface = 3.6.8
zope.lifecycleevent = 3.6.2
zope.location = 3.9.1
zope.pagetemplate = 3.5.2
zope.pagetemplate = 3.6.3
zope.processlifetime = 1.0
zope.proxy = 3.6.1
zope.ptresource = 3.9.0
......
......@@ -40,7 +40,7 @@ zope.location = 3.9.1
zope.login = 1.0.0
zope.mimetype = 1.3.1
zope.minmax = 1.1.2
zope.pagetemplate = 3.5.2
zope.pagetemplate = 3.6.3
zope.password = 3.6.1
zope.pluggableauth = 1.0.3
zope.principalannotation = 3.6.1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment