I type to build a Plone 6 classic 6.0.12 with buildout, but it got error when run instance fg

FileNotFoundError: [Errno 2] No such file or directory: '/mnt/HDD2/PLONE_VOLTO/PLONE6CLASSIC/zinstance/eggs/Products.validation-2.1.3-py3.11.egg/Products/validation/configure.zcml'

Anyone have idea how to fix this, thanks in advanced.

Sounds like this bug in the most recent version of collective.easyform: collective.easyform 4.2.1 no longer works with Plone versions prior to 6.0.13 · Issue #436 · collective/collective.easyform · GitHub

But you're lucky I recognized that. I don't know how you expect people to help when you provide so little information. In this case, the rest of the error traceback makes it clear that the error happens because of easyform, but you left that part out of your message.

Sorry my fault

zope.configuration.xmlconfig.ZopeXMLConfigurationError: File "/mnt/HDD2/PLONE_VOLTO/PLONE6CLASSIC/zinstance/eggs/collective.easyform-4.2.1-py3.11.egg/collective/easyform/configure.zcml", line 9.2-9.43
File "/mnt/HDD2/PLONE_VOLTO/PLONE6CLASSIC/zinstance/parts/instance/etc/site.zcml", line 16.2-16.23
File "/mnt/HDD2/PLONE_VOLTO/PLONE6CLASSIC/zinstance/eggs/Products.CMFPlone-6.0.12-py3.11.egg/Products/CMFPlone/configure.zcml", line 128.2-132.8
FileNotFoundError: [Errno 2] No such file or directory: '/mnt/HDD2/PLONE_VOLTO/PLONE6CLASSIC/zinstance/eggs/Products.validation-2.1.3-py3.11.egg/Products/validation/configure.zcml'

do this information help?

The strange thing is the buildout file is working in my working site. But it don't work in the new build development site with same plone version 6.0.12

You're getting a new version of collective.easyform which has this bug. Pin your addons to specific versions if you don't want surprise upgrades.

1 Like

Thanks very much

Got that too yesterday. Latest collective.easyform needs Products.validation>=3.0.0 but it forgot to define that in in setup.py.

EDIT: see https://dist.plone.org/release/6.0-latest/versions.cfg there its pinned correctly. You might have your local deprecated version pin somewhere.

1 Like

Thanks alot