Skip to content

Instantly share code, notes, and snippets.

@frague59
Created September 7, 2021 13:37
Show Gist options
  • Save frague59/e399e4fd7fa9f751afe3cf068140894e to your computer and use it in GitHub Desktop.
Save frague59/e399e4fd7fa9f751afe3cf068140894e to your computer and use it in GitHub Desktop.
Stack - webpack loader
Traceback (most recent call last):
File "/home/fguerin/Projects/agenda.tourcoing.fr/venv/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/home/fguerin/Projects/agenda.tourcoing.fr/venv/lib/python3.9/site-packages/django/core/handlers/base.py", line 204, in _get_response
response = response.render()
File "/home/fguerin/Projects/agenda.tourcoing.fr/venv/lib/python3.9/site-packages/django/template/response.py", line 105, in render
self.content = self.rendered_content
File "/home/fguerin/Projects/agenda.tourcoing.fr/venv/lib/python3.9/site-packages/django/template/response.py", line 83, in rendered_content
return template.render(context, self._request)
File "/home/fguerin/Projects/agenda.tourcoing.fr/venv/lib/python3.9/site-packages/django/template/backends/django.py", line 61, in render
return self.template.render(context)
File "/home/fguerin/Projects/agenda.tourcoing.fr/venv/lib/python3.9/site-packages/django/template/base.py", line 170, in render
return self._render(context)
File "/home/fguerin/Projects/agenda.tourcoing.fr/venv/lib/python3.9/site-packages/django/test/utils.py", line 100, in instrumented_test_render
return self.nodelist.render(context)
File "/home/fguerin/Projects/agenda.tourcoing.fr/venv/lib/python3.9/site-packages/django/template/base.py", line 938, in render
bit = node.render_annotated(context)
File "/home/fguerin/Projects/agenda.tourcoing.fr/venv/lib/python3.9/site-packages/django/template/base.py", line 905, in render_annotated
return self.render(context)
File "/home/fguerin/Projects/agenda.tourcoing.fr/venv/lib/python3.9/site-packages/django/template/library.py", line 192, in render
output = self.func(*resolved_args, **resolved_kwargs)
File "/home/fguerin/Projects/agenda.tourcoing.fr/venv/lib/python3.9/site-packages/webpack_loader/templatetags/webpack_loader.py", line 12, in render_bundle
tags = utils.get_as_tags(
File "/home/fguerin/Projects/agenda.tourcoing.fr/venv/lib/python3.9/site-packages/webpack_loader/utils.py", line 61, in get_as_tags
bundle = _get_bundle(bundle_name, extension, config)
File "/home/fguerin/Projects/agenda.tourcoing.fr/venv/lib/python3.9/site-packages/webpack_loader/utils.py", line 39, in _get_bundle
bundle = get_loader(config).get_bundle(bundle_name)
File "/home/fguerin/Projects/agenda.tourcoing.fr/venv/lib/python3.9/site-packages/webpack_loader/loader.py", line 97, in get_bundle
filtered_chunks = self.filter_chunks(chunks)
File "/home/fguerin/Projects/agenda.tourcoing.fr/venv/lib/python3.9/site-packages/webpack_loader/loader.py", line 45, in filter_chunks
ignore = any(regex.match(chunk)
File "/home/fguerin/Projects/agenda.tourcoing.fr/venv/lib/python3.9/site-packages/webpack_loader/loader.py", line 45, in <genexpr>
ignore = any(regex.match(chunk)
TypeError: expected string or bytes-like object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment