okfde / froide-govplan

Basis of FragDenStaat.de's „Koalitionstracker“
https://fragdenstaat.de/koalitionstracker/
MIT License
12 stars 3 forks source link

Unable to create homepage: Cannot render block.super for blocks without a parent #16

Closed onny closed 1 week ago

onny commented 1 week ago

When trying to create a new homepage I get:

TemplateSyntaxError at /admin/cms/pagecontent/add/
Cannot render block.super for blocks without a parent.
Request Method:     POST
Request URL:    http://localhost:8000/admin/cms/pagecontent/add/?language=de
Django Version:     4.2.16
Exception Type:     TemplateSyntaxError
Exception Value:    

Cannot render block.super for blocks without a parent.

Exception Location:     /nix/store/6wi0nmi8hra4jif6a2xp1vm69ws2zhr1-python3.12-django-cms-4.1.3/lib/python3.12/site-packages/cms/utils/placeholder.py, line 247, in _scan_placeholders
Raised during:  cms.admin.pageadmin.add_view
Python Executable:  /nix/store/901c80rlps5q05bnjk1sj4zaz5k736nc-python3-3.12.7/bin/python
Python Version:     3.12.7

Traceback https://dpaste.com/HE9REMANB

stefanw commented 1 week ago

Ich habe einen fix committed, der das hoffentlich behebt. Es wurde ein Template referenziert, das in diesem Repo nicht existiert.

onny commented 6 days ago

Thank you @stefanw :+1: