• Carlos Ramos Carreño's avatar
    Add five.pt. · 20b7554e
    Carlos Ramos Carreño authored
    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.
    20b7554e
software.cfg 187 Bytes