pallets / jinja

A very fast and expressive template engine.

Home Page:https://jinja.palletsprojects.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jinja2.exceptions.TemplateNotFound: js_resources.html

riley290 opened this issue · comments

I've built a exe file using PyInstaller under Windows 10 OS, it successfully generates the exe file, but when I run it, it raise an error:

Traceback (most recent call last):
File "FBM_TDMS_Charactreristics_Full.py", line 20, in
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in load_unlocked
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "bokeh\plotting_init
.py", line 68, in
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in load_unlocked
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "bokeh\document_init
.py", line 50, in
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "bokeh\document\document.py", line 58, in
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "bokeh\core\templates.py", line 93, in
File "jinja2\environment.py", line 883, in get_template
File "jinja2\environment.py", line 857, in _load_template
File "jinja2\loaders.py", line 115, in load
File "jinja2\loaders.py", line 197, in get_source
jinja2.exceptions.TemplateNotFound: js_resources.html
[2144] Failed to execute script 'FBM_TDMS_Charactreristics_Full' due to unhandled exception!
-->

Environment:

  • Python version: 3.9.13
  • Jinja version: 2.11.3

Please use our Discord for discussion about your own code. This tracker is for issues related to the project itself.