Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

django.template.exceptions.TemplateDoesNotExist: bulma/uni_formset.html #18

Open
8 tasks done
fsecada01 opened this issue Jan 9, 2025 · 0 comments
Open
8 tasks done

Comments

@fsecada01
Copy link

fsecada01 commented Jan 9, 2025

  • Operating System: Windows 11
  • Local Setup:
    • Python v3.13
    • UV
    • Django v5.1
    • django-crispy-forms 2.3
    • crispy-bulma 0.11.0
  • Steps
    • Implement Django project via startproject command
    • Create Djagno Model and associated forms.ModelForm class instance
    • Create CBV instance with inlineformset_factory instance in the get_context_data method.
    • Route CBV in urls.py
    • Run server either via python manage.py runserver or uvicorn {app}.asgi:application
    • Visit the associated URL.

Ran the above steps and encountered a TemplateDoesNotExist issue. The log is attached below:

ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\template\backends\django.py", line 107, in render
    return self.template.render(context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\template\base.py", line 171, in render
    return self._render(context)
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\test\utils.py", line 114, in instrumented_test_render
    return self.nodelist.render(context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\template\base.py", line 1008, in render
    return SafeString("".join([node.render_annotated(context) for node in self]))
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\template\base.py", line 969, in render_annotated
    return self.render(context)
           ^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\template\loader_tags.py", line 159, in render
    return compiled_parent._render(context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\test\utils.py", line 114, in instrumented_test_render
    return self.nodelist.render(context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\template\base.py", line 1008, in render
    return SafeString("".join([node.render_annotated(context) for node in self]))
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\template\base.py", line 969, in render_annotated
    return self.render(context)
           ^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\template\loader_tags.py", line 159, in render
    return compiled_parent._render(context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\test\utils.py", line 114, in instrumented_test_render
    return self.nodelist.render(context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\template\base.py", line 1008, in render
    return SafeString("".join([node.render_annotated(context) for node in self]))
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\template\base.py", line 969, in render_annotated
    return self.render(context)
           ^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\template\loader_tags.py", line 65, in render
    result = block.nodelist.render(context)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\template\base.py", line 1008, in render
    return SafeString("".join([node.render_annotated(context) for node in self]))
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\template\base.py", line 969, in render_annotated
    return self.render(context)
           ^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\template\loader_tags.py", line 65, in render
    result = block.nodelist.render(context)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\template\base.py", line 1008, in render
    return SafeString("".join([node.render_annotated(context) for node in self]))
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\template\base.py", line 969, in render_annotated
    return self.render(context)
           ^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\template\base.py", line 1067, in render
    output = self.filter_expression.resolve(context)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\template\base.py", line 745, in resolve
    new_obj = func(obj, *arg_vals)
              ^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\crispy_forms\templatetags\crispy_forms_filters.py", line 55, in as_crispy_form
    template = uni_formset_template(template_pack)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\crispy_forms\templatetags\crispy_forms_filters.py", line 16, in uni_formset_template
    return get_template("%s/uni_formset.html" % template_pack)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\template\loader.py", line 19, in get_template
    raise TemplateDoesNotExist(template_name, chain=chain)
django.template.exceptions.TemplateDoesNotExist: bulma/uni_formset.html

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\uvicorn\protocols\http\h11_impl.py", line 403, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__
    return await self.app(scope, receive, send)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\asgi.py", line 162, in __call__
    await self.handle(scope, receive, send)
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\asgi.py", line 208, in handle
    task.result()
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\asgi.py", line 185, in process_request
    response = await self.run_get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\asgi.py", line 244, in run_get_response
    response = await self.get_response_async(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\base.py", line 162, in get_response_async
    response = await self._middleware_chain(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 468, in __call__
    ret = await asyncio.shield(exec_coro)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Users\Paco-Old-Account\.pyenv\pyenv-win\versions\3.12.7\Lib\concurrent\futures\thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 522, in thread_handler
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 57, in inner
    response = response_for_exception(request, exc)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 140, in response_for_exception
    response = handle_uncaught_exception(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 55, in inner
    response = get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\utils\deprecation.py", line 129, in __call__
    response = response or self.get_response(request)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 57, in inner
    response = response_for_exception(request, exc)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 140, in response_for_exception
    response = handle_uncaught_exception(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 55, in inner
    response = get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\debug_toolbar\middleware.py", line 81, in __call__
    response = toolbar.process_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\debug_toolbar\panels\__init__.py", line 204, in process_request
    return self.get_response(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\debug_toolbar\panels\timer.py", line 65, in process_request
    return super().process_request(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\debug_toolbar\panels\__init__.py", line 204, in process_request
    return self.get_response(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\debug_toolbar\panels\__init__.py", line 204, in process_request
    return self.get_response(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\debug_toolbar\panels\headers.py", line 46, in process_request
    return super().process_request(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\debug_toolbar\panels\__init__.py", line 204, in process_request
    return self.get_response(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\debug_toolbar\panels\__init__.py", line 204, in process_request
    return self.get_response(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\debug_toolbar\panels\__init__.py", line 204, in process_request
    return self.get_response(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\debug_toolbar\panels\staticfiles.py", line 113, in process_request
    response = super().process_request(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\debug_toolbar\panels\__init__.py", line 204, in process_request
    return self.get_response(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\debug_toolbar\panels\__init__.py", line 204, in process_request
    return self.get_response(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\debug_toolbar\panels\__init__.py", line 204, in process_request
    return self.get_response(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  [Previous line repeated 2 more times]
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 254, in __call__
    return call_result.result()
           ^^^^^^^^^^^^^^^^^^^^
  File "D:\Users\Paco-Old-Account\.pyenv\pyenv-win\versions\3.12.7\Lib\concurrent\futures\_base.py", line 449, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "D:\Users\Paco-Old-Account\.pyenv\pyenv-win\versions\3.12.7\Lib\concurrent\futures\_base.py", line 401, in __get_result
    raise self._exception
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 331, in main_wrap
    result = await self.awaitable(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 44, in inner
    response = await sync_to_async(
               ^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 468, in __call__
    ret = await asyncio.shield(exec_coro)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Users\Paco-Old-Account\.pyenv\pyenv-win\versions\3.12.7\Lib\concurrent\futures\thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 520, in thread_handler
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 140, in response_for_exception
    response = handle_uncaught_exception(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 518, in thread_handler
    raise exc_info[1]
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 42, in inner
    response = await get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\utils\deprecation.py", line 145, in __acall__
    response = response or await self.get_response(request)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 44, in inner
    response = await sync_to_async(
               ^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 468, in __call__
    ret = await asyncio.shield(exec_coro)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Users\Paco-Old-Account\.pyenv\pyenv-win\versions\3.12.7\Lib\concurrent\futures\thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 520, in thread_handler
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 140, in response_for_exception
    response = handle_uncaught_exception(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 518, in thread_handler
    raise exc_info[1]
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 42, in inner
    response = await get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\utils\deprecation.py", line 145, in __acall__
    response = response or await self.get_response(request)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 44, in inner
    response = await sync_to_async(
               ^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 468, in __call__
    ret = await asyncio.shield(exec_coro)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Users\Paco-Old-Account\.pyenv\pyenv-win\versions\3.12.7\Lib\concurrent\futures\thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 520, in thread_handler
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 140, in response_for_exception
    response = handle_uncaught_exception(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 518, in thread_handler
    raise exc_info[1]
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 42, in inner
    response = await get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\utils\deprecation.py", line 145, in __acall__
    response = response or await self.get_response(request)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 44, in inner
    response = await sync_to_async(
               ^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 468, in __call__
    ret = await asyncio.shield(exec_coro)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Users\Paco-Old-Account\.pyenv\pyenv-win\versions\3.12.7\Lib\concurrent\futures\thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 520, in thread_handler
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 140, in response_for_exception
    response = handle_uncaught_exception(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 518, in thread_handler
    raise exc_info[1]
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 42, in inner
    response = await get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\utils\deprecation.py", line 145, in __acall__
    response = response or await self.get_response(request)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 44, in inner
    response = await sync_to_async(
               ^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 468, in __call__
    ret = await asyncio.shield(exec_coro)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Users\Paco-Old-Account\.pyenv\pyenv-win\versions\3.12.7\Lib\concurrent\futures\thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 520, in thread_handler
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 140, in response_for_exception
    response = handle_uncaught_exception(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 518, in thread_handler
    raise exc_info[1]
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 42, in inner
    response = await get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\utils\deprecation.py", line 145, in __acall__
    response = response or await self.get_response(request)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 44, in inner
    response = await sync_to_async(
               ^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 468, in __call__
    ret = await asyncio.shield(exec_coro)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Users\Paco-Old-Account\.pyenv\pyenv-win\versions\3.12.7\Lib\concurrent\futures\thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 520, in thread_handler
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 140, in response_for_exception
    response = handle_uncaught_exception(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 518, in thread_handler
    raise exc_info[1]
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 42, in inner
    response = await get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\utils\deprecation.py", line 145, in __acall__
    response = response or await self.get_response(request)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 44, in inner
    response = await sync_to_async(
               ^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 468, in __call__
    ret = await asyncio.shield(exec_coro)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Users\Paco-Old-Account\.pyenv\pyenv-win\versions\3.12.7\Lib\concurrent\futures\thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 520, in thread_handler
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 140, in response_for_exception
    response = handle_uncaught_exception(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 518, in thread_handler
    raise exc_info[1]
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 42, in inner
    response = await get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\utils\deprecation.py", line 145, in __acall__
    response = response or await self.get_response(request)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 44, in inner
    response = await sync_to_async(
               ^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 468, in __call__
    ret = await asyncio.shield(exec_coro)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Users\Paco-Old-Account\.pyenv\pyenv-win\versions\3.12.7\Lib\concurrent\futures\thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 520, in thread_handler
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 140, in response_for_exception
    response = handle_uncaught_exception(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 518, in thread_handler
    raise exc_info[1]
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 42, in inner
    response = await get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\utils\deprecation.py", line 145, in __acall__
    response = response or await self.get_response(request)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 44, in inner
    response = await sync_to_async(
               ^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 468, in __call__
    ret = await asyncio.shield(exec_coro)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Users\Paco-Old-Account\.pyenv\pyenv-win\versions\3.12.7\Lib\concurrent\futures\thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 520, in thread_handler
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 140, in response_for_exception
    response = handle_uncaught_exception(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 518, in thread_handler
    raise exc_info[1]
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 42, in inner
    response = await get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\utils\deprecation.py", line 145, in __acall__
    response = response or await self.get_response(request)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 44, in inner
    response = await sync_to_async(
               ^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 468, in __call__
    ret = await asyncio.shield(exec_coro)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\Users\Paco-Old-Account\.pyenv\pyenv-win\versions\3.12.7\Lib\concurrent\futures\thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 520, in thread_handler
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 140, in response_for_exception
    response = handle_uncaught_exception(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 518, in thread_handler
    raise exc_info[1]
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\exception.py", line 42, in inner
    response = await get_response(request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 518, in thread_handler
    raise exc_info[1]
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\core\handlers\base.py", line 284, in _get_response_async
    response = await sync_to_async(
               ^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 468, in __call__
    ret = await asyncio.shield(exec_coro)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\current_thread_executor.py", line 40, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\asgiref\sync.py", line 522, in thread_handler
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\template\response.py", line 114, in render
    self.content = self.rendered_content
                   ^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\template\response.py", line 92, in rendered_content
    return template.render(context, self._request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\template\backends\django.py", line 109, in render
    reraise(exc, self.backend)
  File "C:\dev\python\django\AutoWriter\.venv\Lib\site-packages\django\template\backends\django.py", line 130, in reraise
    raise new from exc
django.template.exceptions.TemplateDoesNotExist: bulma/uni_formset.html

This seems to be resolvable by creating the missing uni_formset.html file in the bulma directory. PR is inbound.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant