Replies: 1 comment 2 replies
-
That repo link is private. My advise is just the generic missing data files advice:
That said, freezing a server is pointless and django is full of hacks that make it miserable to use with PyInstaller. Just don't do it! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The .exe is running and starting the server but it always gives the message
Template loader postmortem
Django tried loading these templates, in this order:
Using engine django:
* django.template.loaders.app_directories.Loader: C:\Users\kirit\AppData\Local\Temp_MEI73282\django\contrib\admin\templates\todos\home_page.html (Source does not exist)
* django.template.loaders.app_directories.Loader: C:\Users\kirit\AppData\Local\Temp_MEI73282\django\contrib\auth\templates\todos\home_page.html (Source does not exist)
Traceback (most recent call last):
File "django\core\handlers\exception.py", line 55, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "django\core\handlers\base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "todos\views.py", line 158, in todo_home
return render(request, "todos/home_page.html", context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "django\shortcuts.py", line 24, in render
content = loader.render_to_string(template_name, context, request, using=using)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "django\template\loader.py", line 61, in render_to_string
template = get_template(template_name, using=using)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "django\template\loader.py", line 19, in get_template
raise TemplateDoesNotExist(template_name, chain=chain)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Exception Type: TemplateDoesNotExist at /
Exception Value: todos/home_page.html
here's the repository link: https://github.com/artluiz/Projeto-Alho-da-Serra
If someone could help me I be very grateful, the project deadline is tomorrow
I'm using: pyinstaller manage.spec
pyinstaller manage.spec
Beta Was this translation helpful? Give feedback.
All reactions