dash_on_flask icon indicating copy to clipboard operation
dash_on_flask copied to clipboard

jinja2 exceptions on branch feature/multiple_dash_apps

Open ghost opened this issue 5 years ago • 2 comments

Thanks for the great work.

(Using git clone -b feature/multiple_dash_apps https://github.com/okomarov/dash_on_flask.git)

I tried running from the feature/multiple_dash_apps but am getting:

  • route http://127.0.0.1:5000/ throws this exception:

jinja2.exceptions.TemplateNotFound: index.html

  • route http://127.0.0.1:5000/dashboard throws:

jinja2.exceptions.TemplateNotFound: login.html

Many thanks for any help

ghost avatar Feb 21 '20 04:02 ghost

I think it just can't find your templates folder. Just a file path issue. I think you need to specify it when creating the Dash app. Cheers


From: Wanwu [email protected] Sent: Thursday, February 20, 2020 9:39:38 PM To: okomarov/dash_on_flask [email protected] Cc: Subscribed [email protected] Subject: [okomarov/dash_on_flask] jinja2.exceptions.TemplateNotFound: index.html on branch feature/multiple_dash_apps (#10)

Thanks for the great work.

I tried running from the feature/multiple_dash_apps but am getting:

jinja2.exceptions.TemplateNotFound: index.html

git clone -b feature/multiple_dash_apps https://github.com/okomarov/dash_on_flask.git

App is running but the route http://127.0.0.1:5000/ throws the exception.

Many thanks for any help

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/okomarov/dash_on_flask/issues/10?email_source=notifications&email_token=AF37SZYM4YQSGSBGXAOGOXDRD5LIVA5CNFSM4KY4CZYKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IPGE4BA, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AF37SZYWMMN5TK437RVQ5BTRD5LIVANCNFSM4KY4CZYA.

mccarthysean avatar Feb 21 '20 05:02 mccarthysean

Thanks. I can't seem to figure out where to specify that. I get it for blueprints...

Here's my structure:

Screenshot 2020-02-21 at 12 30 44

ghost avatar Feb 21 '20 05:02 ghost