You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to update unicorn from version 0.56.1 to 0.61.0, but it results in an unexpected issue. After reviewing the release notes and changelog, I couldn't find any mention of this as a breaking change.
The error I get is:
File "/home/quint/code/monorepo/dist/export/python/virtualenvs/cell-manager/3.10.12/lib/python3.10/site-packages/django/template/base.py", line 1008, in <listcomp>
return SafeString("".join([node.render_annotated(context) for node in self]))
File "/home/quint/code/monorepo/dist/export/python/virtualenvs/cell-manager/3.10.12/lib/python3.10/site-packages/django/template/base.py", line 969, in render_annotated
return self.render(context)
File "/home/quint/code/monorepo/dist/export/python/virtualenvs/cell-manager/3.10.12/lib/python3.10/site-packages/django_unicorn/templatetags/unicorn.py", line 184, in render
self.view = UnicornView.create(
File "/home/quint/code/monorepo/dist/export/python/virtualenvs/cell-manager/3.10.12/lib/python3.10/site-packages/decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File "/home/quint/code/monorepo/dist/export/python/virtualenvs/cell-manager/3.10.12/lib/python3.10/site-packages/django_unicorn/decorators.py", line 20, in timed
result = func(*args, **kwargs)
File "/home/quint/code/monorepo/dist/export/python/virtualenvs/cell-manager/3.10.12/lib/python3.10/site-packages/django_unicorn/components/unicorn_view.py", line 951, in create
raise ComponentModuleLoadError(message, locations=locations)
django_unicorn.errors.ComponentModuleLoadError: The component module 'header' could not be loaded.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am attempting to update unicorn from version 0.56.1 to 0.61.0, but it results in an unexpected issue. After reviewing the release notes and changelog, I couldn't find any mention of this as a breaking change.
The error I get is:
Which happens at this point in the template:
header
is an other template file (in a different folder, namely../unicorn/header.html
)This header.html file doesn't have any references to unicorn, So I'm wondering if using the unicorn tag is even correct.
This works fine in 0.56.1
Beta Was this translation helpful? Give feedback.
All reactions