Hello,
I'm trying to create a theme for our Plone 6 (Classic, using Docker) based on the barceloneta theme. I tried to follow the guide in the docs and the one on the Plone training website.
Once I rebuild the theme (npm run build
), upload the zip, and activate it the website breaks. I added the error below. The same happens it I simply export the default theme and upload it again.
Is this a known issue, are there workarounds, or should I follow different instructions?
Kind regards
Raphael
Module Products.CMFPlone.resources.webresource, line 22, in file_data
Module Products.CMFPlone.resources.utils, line 74, in get_resource
AttributeError: __call__
- Expression: "provider:plone.scripts"
- Filename: ... ges/Products/CMFPlone/browser/templates/main_template.pt
- Location: (line 38: col 32)
- Source: ... al:replace="structure provider:plone.scripts" />
^^^^^^^^^^^^^^^^^^^^^^
- Expression: "context/main_template/macros/master"
- Filename: ... /site-packages/plone/app/portlets/dashboard/dashboard.pt
- Location: (line 6: col 23)
- Source: ... etal:use-macro="context/main_template/macros/master"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- Arguments: template: <Products.Five.browser.pagetemplatefile.ViewPageTemplateFile object at 0x7dcdf060a010>
options: {}
args: ()
nothing: None
modules: <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter object at 0x7dcdf52f0710>
request: <WSGIRequest, URL=http://localhost:8080/inet3/dashboard>
view: <Products.Five.browser.metaconfigure.SimpleViewClass from /app/lib/python3.11/site-packages/plone/app/portlets/dashboard/dashboard.pt object at 0x7dcdee87a210>
context: <PloneSite at /inet3>
views: <Products.Five.browser.pagetemplatefile.ViewMapper object at 0x7dcdec3a3310>
here: <PloneSite at /inet3>
container: <PloneSite at /inet3>
root: <Application at >
traverse_subpath: []
user: <PropertiedUser 'admin'>
default: <DEFAULT>
repeat: <Products.PageTemplates.engine.RepeatDictWrapper object at 0x7dcdeef21810>
loop: {}
target_language: None
translate: <function BaseTemplate.render.<locals>.translate at 0x7dcdec384cc0>
macroname: 'master'
attrs: {}