Hi, after successfully creating an product-addon for Plone 5.2 with the bobtemplates.plone tool, i ran into an error message i have no clues in solving.
(isoliertes_python3) [mimir@home my.testpaket]$ buildout
Not upgrading because not running a local buildout command.
Develop: '/home/mimir/plonetest/my.testpaket/.'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files found matching '*.txt'
warning: no previously-included files found matching '.gitlab-ci.yml'
Uninstalling plone-helper-scripts.
Uninstalling omelette.
Running uninstall recipe.
Uninstalling test.
Uninstalling instance.
Sectionbuildoutcontains unused option(s): 'eggs' 'package-extras' 'package-min-coverage' 'plone-user' 'test-eggs'.
This may be an indication for either a typo in the option's name or a bug in the used recipe.
Updating _mr.developer.
Installing instance.
Getting distribution for 'plone.app.robotframework==1.5.6'.
Got plone-app-robotframework 1.5.6.
Getting distribution for 'selenium==3.141.0'.
Got selenium 3.141.0.
Getting distribution for 'robotframework==3.1.2'.
Got robotframework 3.1.2.
Getting distribution for 'robotsuite==2.2.1'.
Got robotsuite 2.2.1.
Getting distribution for 'robotframework-selenium2library==3.0.0'.
Got robotframework-selenium2library 3.0.0.
Getting distribution for 'babel==2.11.0'.
Got Babel 2.11.0.
Getting distribution for 'robotframework-seleniumlibrary==3.3.1'.
Got robotframework-seleniumlibrary 3.3.1.
Generated script '/home/mimir/plonetest/my.testpaket/bin/instance'.
Generated interpreter '/home/mimir/plonetest/my.testpaket/parts/instance/bin/interpreter'.
While:
Installing instance.An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "/home/mimir/plonetest/isoliertes_python3/lib/python3.8/site-packages/zc/buildout/buildout.py", line 2300, in main
getattr(buildout, command)(args)
File "/home/mimir/plonetest/isoliertes_python3/lib/python3.8/site-packages/zc/buildout/buildout.py", line 856, in install
installed_files = self[part]._call(recipe.install)
File "/home/mimir/plonetest/isoliertes_python3/lib/python3.8/site-packages/zc/buildout/buildout.py", line 1659, in _call
return f()
File "/home/mimir/plonetest/my.testpaket/eggs/plone.recipe.zope2instance-6.13.0-py3.8.egg/plone/recipe/zope2instance/recipe.py", line 164, in install
retval = Scripts.install(self)
File "/home/mimir/plonetest/my.testpaket/eggs/zc.recipe.egg-2.0.7-py3.8-linux-x86_64.egg/zc/recipe/egg/egg.py", line 256, in install
return zc.buildout.easy_install.scripts(
File "/home/mimir/plonetest/isoliertes_python3/lib/python3.8/site-packages/zc/buildout/easy_install.py", line 1238, in scripts
assert dist is not None, 'distribution not found for %s' % req.name
AssertionError: distribution not found for plone.app.robotframework
(isoliertes_python3) [mimir@home my.testpaket]$
plone.app.robotframework gets found and installed, but later in the buildout it tells distribution not found for plone.app.robotframework.
This is against any logic at all.
I used mr.bob to create an addon-package, modified the buildout.cfg to use the plone 5.2 one, and the initial buildout ran cleanly.
After trying to run the tests, with bin/test, the plone.app.event package tried to import some Testlayer from robotframworks, I added plone.app.robotframework to the buildout (although the install is on a remote server, so no selenium tests needed at all anyway) to make it happy, but this gives the above error.
Any thoughts ? Thanks in advance.