I was trying to install the plone.org github repo in my local machine
After cloning the repo using git commands I used the command make install
as given in the readme file and faced below errors
Installing collected packages: plone.app.vulnerabilities, ploneorg
Attempting uninstall: plone.app.vulnerabilities
Found existing installation: plone.app.vulnerabilities 0.1
Uninstalling plone.app.vulnerabilities-0.1:
Successfully uninstalled plone.app.vulnerabilities-0.1
Running setup.py develop for plone.app.vulnerabilities
Attempting uninstall: ploneorg
Found existing installation: ploneorg 1.0.0a1
Uninstalling ploneorg-1.0.0a1:
Successfully uninstalled ploneorg-1.0.0a1
Running setup.py develop for ploneorg
Successfully installed plone.app.vulnerabilities-0.1 ploneorg-1.0.0a1
make[2]: Leaving directory '/home/dhairya/Desktop/plone.org/backend'
+ make create-site
make[2]: Entering directory '/home/dhairya/Desktop/plone.org'
+ dirname /home/dhairya/Desktop/plone.org/Makefile
+ dirname /home/dhairya/Desktop/plone.org/Makefile
+ make -C ./backend/ create-site
make[3]: Entering directory '/home/dhairya/Desktop/plone.org/backend'
+ which python3
+ python3 -c 'import sys; print((int(sys.version_info[0]), int(sys.version_info[1])) > tuple(map(int, "3.11".split("."))))'
+ PYTHONWARNINGS=ignore
+ ./bin/zconsole run instance/etc/zope.conf ./scripts/create_site.py
Traceback (most recent call last):
File "/home/dhairya/Desktop/plone.org/backend/lib/python3.11/site-packages/ZConfig/info.py", line 332, in gettype
return self._types[n]
~~~~~~~~~~~^^^
KeyError: 'dos_protection'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/dhairya/Desktop/plone.org/backend/lib/python3.11/site-packages/ZConfig/cfgparser.py", line 102, in start_section
newsect = self.context.startSection(section, type_, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dhairya/Desktop/plone.org/backend/lib/python3.11/site-packages/ZConfig/loader.py", line 407, in startSection
t = self.schema.gettype(type_)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dhairya/Desktop/plone.org/backend/lib/python3.11/site-packages/ZConfig/info.py", line 334, in gettype
raise ZConfig.SchemaError("unknown type name: " + repr(name))
ZConfig.SchemaError: unknown type name: 'dos_protection'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/dhairya/Desktop/plone.org/backend/./bin/zconsole", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/dhairya/Desktop/plone.org/backend/lib/python3.11/site-packages/Zope2/utilities/zconsole.py", line 50, in main
runscript(namespace.zopeconf, *namespace.scriptargs)
File "/home/dhairya/Desktop/plone.org/backend/lib/python3.11/site-packages/Zope2/utilities/zconsole.py", line 13, in runscript
make_wsgi_app({}, zopeconf)
File "/home/dhairya/Desktop/plone.org/backend/lib/python3.11/site-packages/Zope2/Startup/run.py", line 51, in make_wsgi_app
opts = ZopeWSGIOptions(configfile=zope_conf)()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dhairya/Desktop/plone.org/backend/lib/python3.11/site-packages/Zope2/Startup/options.py", line 84, in __call__
self.load_configfile()
File "/home/dhairya/Desktop/plone.org/backend/lib/python3.11/site-packages/Zope2/Startup/options.py", line 79, in load_configfile
self.configroot, self.confighandlers = loader.loadURL(
^^^^^^^^^^^^^^^
File "/home/dhairya/Desktop/plone.org/backend/lib/python3.11/site-packages/ZConfig/loader.py", line 153, in loadURL
return self.loadResource(r)
^^^^^^^^^^^^^^^^^^^^
File "/home/dhairya/Desktop/plone.org/backend/lib/python3.11/site-packages/ZConfig/loader.py", line 397, in loadResource
self._parse_resource(sm, resource)
File "/home/dhairya/Desktop/plone.org/backend/lib/python3.11/site-packages/ZConfig/loader.py", line 442, in _parse_resource
parser.parse(matcher)
File "/home/dhairya/Desktop/plone.org/backend/lib/python3.11/site-packages/ZConfig/cfgparser.py", line 75, in parse
section = self.start_section(section, line[1:-1])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dhairya/Desktop/plone.org/backend/lib/python3.11/site-packages/ZConfig/cfgparser.py", line 104, in start_section
self.error(e.message)
File "/home/dhairya/Desktop/plone.org/backend/lib/python3.11/site-packages/ZConfig/cfgparser.py", line 194, in error
raise ZConfig.ConfigurationSyntaxError(message, self.url, self.lineno)
ZConfig.ConfigurationSyntaxError: unknown type name: 'dos_protection'
(line 18 in file:///home/dhairya/Desktop/plone.org/backend/instance/etc/zope.conf)
make[3]: *** [Makefile:156: create-site] Error 1
make[3]: Leaving directory '/home/dhairya/Desktop/plone.org/backend'
make[2]: *** [Makefile:62: create-site] Error 2
make[2]: Leaving directory '/home/dhairya/Desktop/plone.org'
make[1]: *** [Makefile:53: install-backend] Error 2
make[1]: Leaving directory '/home/dhairya/Desktop/plone.org'
make: *** [Makefile:70: install] Error 2
above are the error logs I am getting