Uploaded image for project: 'Health'
  1. Health
  2. HEALTH-208

Incompatibilty with new Bika LIMS' add site templates

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.5
    • Fix Version/s: 3.1.6
    • Labels:
      None

      Description

      Rised by:
      https://github.com/bikalabs/Bika-LIMS/pull/1379
      https://github.com/bikalabs/Bika-LIMS/pull/1387

      Error compiling bika with bikaHealth extension with the new plone-add site template.

      pau@mendel:~/dev/Espurna/bikahealth/zinstance$ bin/plonectl fg
      instance: 2014-12-17 11:59:37 INFO ZServer HTTP server started at Wed Dec 17 11:59:37 2014
      	Hostname: 0.0.0.0
      	Port: 8091
      2014-12-17 11:59:39 INFO plone.jsonapi.router DefaultRouter::__init__
      2014-12-17 11:59:39 INFO plone.jsonapi.router DefaultRouter.add_url_rule: /version (apiversion) -> 'apiversion' options: {'methods': ['GET']}
      2014-12-17 11:59:41 INFO Archetypes  
      ArchetypesTool: Trying to register "bika.lims.Analysis" which has already been registered.  The new type bika.health.content.analysis.Analysis is going to override bika.lims.content.analysis.Analysis
      2014-12-17 11:59:41 INFO Archetypes  
      ArchetypesTool: Trying to register "bika.lims.AnalysisSpec" which has already been registered.  The new type bika.health.content.analysisspec.AnalysisSpec is going to override bika.lims.content.analysisspec.AnalysisSpec
      Traceback (most recent call last):
        File "/home/pau/dev/Espurna/bikahealth/buildout-cache/eggs/Zope2-2.13.21-py2.7.egg/Zope2/Startup/run.py", line 76, in <module>
          run()
        File "/home/pau/dev/Espurna/bikahealth/buildout-cache/eggs/Zope2-2.13.21-py2.7.egg/Zope2/Startup/run.py", line 22, in run
          starter.prepare()
        File "/home/pau/dev/Espurna/bikahealth/buildout-cache/eggs/Zope2-2.13.21-py2.7.egg/Zope2/Startup/__init__.py", line 86, in prepare
          self.startZope()
        File "/home/pau/dev/Espurna/bikahealth/buildout-cache/eggs/Zope2-2.13.21-py2.7.egg/Zope2/Startup/__init__.py", line 262, in startZope
          Zope2.startup()
        File "/home/pau/dev/Espurna/bikahealth/buildout-cache/eggs/Zope2-2.13.21-py2.7.egg/Zope2/__init__.py", line 47, in startup
          _startup()
        File "/home/pau/dev/Espurna/bikahealth/buildout-cache/eggs/Zope2-2.13.21-py2.7.egg/Zope2/App/startup.py", line 118, in startup
          load_zcml()
        File "/home/pau/dev/Espurna/bikahealth/buildout-cache/eggs/Zope2-2.13.21-py2.7.egg/Zope2/App/startup.py", line 52, in load_zcml
          load_site()
        File "/home/pau/dev/Espurna/bikahealth/buildout-cache/eggs/Zope2-2.13.21-py2.7.egg/Zope2/App/zcml.py", line 46, in load_site
          _context = xmlconfig.file(site_zcml)
        File "/home/pau/dev/Espurna/bikahealth/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/xmlconfig.py", line 651, in file
          context.execute_actions()
        File "/home/pau/dev/Espurna/bikahealth/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 620, in execute_actions
          for action in resolveConflicts(self.actions):
        File "/home/pau/dev/Espurna/bikahealth/buildout-cache/eggs/zope.configuration-3.7.4-py2.7.egg/zope/configuration/config.py", line 1527, in resolveConflicts
          raise ConfigurationConflictError(conflicts)
      zope.configuration.config.ConfigurationConflictError: Conflicting configuration actions
        For: ('view', <InterfaceClass OFS.interfaces.IApplication>, 'plone-addsite', <InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>, <InterfaceClass zope.publisher.interfaces.browser.IDefaultBrowserLayer>)
          File "/home/pau/dev/Espurna/bikahealth/buildout-cache/eggs/Products.CMFPlone-4.3.2-py2.7.egg/Products/CMFPlone/browser/admin.zcml", line 11.2-17.8
              <browser:page
                  for="OFS.interfaces.IApplication"
                  name="plone-addsite"
                  class=".admin.AddPloneSite"
                  permission="zope2.ViewManagementScreens"
                  template="templates/plone-addsite.pt"
                  />
          File "/home/pau/dev/Espurna/bikahealth/zinstance/src/bika.lims/bika/lims/browser/overrides.zcml", line 14.4-20.10
                <browser:page
                    for="OFS.interfaces.IApplication"
                    name="plone-addsite"
                    class="Products.CMFPlone.browser.admin.AddPloneSite"
                    permission="zope2.ViewManagementScreens"
                    template="templates/plone-addsite.pt"
                    />
        For: ('view', <InterfaceClass OFS.interfaces.IApplication>, 'plone-overview', <InterfaceClass zope.publisher.interfaces.browser.IBrowserRequest>, <InterfaceClass zope.publisher.interfaces.browser.IDefaultBrowserLayer>)
          File "/home/pau/dev/Espurna/bikahealth/buildout-cache/eggs/Products.CMFPlone-4.3.2-py2.7.egg/Products/CMFPlone/browser/admin.zcml", line 35.2-41.8
              <browser:page
                  for="OFS.interfaces.IApplication"
                  name="plone-overview"
                  class=".admin.Overview"
                  permission="zope.Public"
                  template="templates/plone-overview.pt"
                  />
          File "/home/pau/dev/Espurna/bikahealth/zinstance/src/bika.lims/bika/lims/browser/overrides.zcml", line 7.4-12.10
                <browser:page
                    for="OFS.interfaces.IApplication"
                    name="plone-overview"
                    class=".admin.Overview"
                    permission="zope.Public"
                    />
      pau@mendel:~/dev/Espurna/bikahealth/zinstance$ 
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Espurna Pau Soliva (Inactive)
            Reporter:
            Espurna Pau Soliva (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Agile