ERROR plone.app.theming Couldn't resolve /++theme++barceloneta/rules.xml

hie
Everytime i try to put on a new theme it gives me the following error . any changes i put on to the site i get the same error..
i am using it on localhost.
is the problem due the the plone installation process or i did not configure something right .
im using plone version 5.2

this is not my first time getting the tracebac as i have installed it on my desktop and laptop withbubuntu systems but i still get the same error.

2021-05-27 18:02:22 ERROR plone.app.theming Couldn't resolve /++theme++barceloneta/rules.xml
2021-05-27 18:02:22 ERROR plone.transformchain Unexpected error whilst trying to apply transform chain
Traceback (most recent call last):
File "/home/tyron/Plone/buildout-cache/eggs/plone.transformchain-1.1.0-py2.7.egg/plone/transformchain/transformer.py", line 43, in call
newResult = handler.transformIterable(result, encoding)
File "/home/tyron/Plone/buildout-cache/eggs/plone.app.theming-1.2.19-py2.7.egg/plone/app/theming/transform.py", line 132, in transformIterable
transform = self.setupTransform(runtrace=runtrace)
File "/home/tyron/Plone/buildout-cache/eggs/plone.app.theming-1.2.19-py2.7.egg/plone/app/theming/transform.py", line 69, in setupTransform
runtrace=runtrace
File "/home/tyron/Plone/buildout-cache/eggs/plone.app.theming-1.2.19-py2.7.egg/plone/app/theming/utils.py", line 610, in compileThemeTransform
runtrace=runtrace,
File "/home/tyron/Plone/buildout-cache/eggs/diazo-1.2.2-py2.7.egg/diazo/compiler.py", line 113, in compile_theme
read_network=read_network,
File "/home/tyron/Plone/buildout-cache/eggs/diazo-1.2.2-py2.7.egg/diazo/rules.py", line 219, in process_rules
rules_doc = etree.parse(rules, parser=rules_parser)
File "src/lxml/lxml.etree.pyx", line 3427, in lxml.etree.parse (src/lxml/lxml.etree.c:85131)
File "src/lxml/parser.pxi", line 1782, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:124005)
File "src/lxml/parser.pxi", line 1808, in lxml.etree._parseDocumentFromURL (src/lxml/lxml.etree.c:124374)
File "src/lxml/parser.pxi", line 1712, in lxml.etree._parseDocFromFile (src/lxml/lxml.etree.c:123169)
File "src/lxml/parser.pxi", line 1115, in lxml.etree._BaseParser._parseDocFromFile (src/lxml/lxml.etree.c:117533)
File "src/lxml/parser.pxi", line 573, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:110510)
File "src/lxml/parser.pxi", line 683, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:112276)
File "src/lxml/parser.pxi", line 611, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:111078)
IOError: Error reading file '/++theme++barceloneta/rules.xml': failed to load external entity "/++theme++barceloneta/rules.xml"