[Flask] Cannot run debug mode

Geert Stappers stappers at stappers.nl
Mon Sep 16 01:21:51 EDT 2019


On Mon, Sep 16, 2019 at 09:11:14AM +1000, mhysnm1964 at gmail.com wrote:
> All,
> 
> Windows 10, Python 3.6.
> 
>  
> 
> I am having an issue with my flask app and do not understand why it does not
> work. If I use the flask environment variables to set debug mode. I get
> error messages where Flask cannot find the script. If I do not set the
> environment variables. It runs. 

Sounds to me like that full path of script must be set.


>    ...
> If I have the following environments set: 
> 
>  
> 
> Set flask_app = budget.py
> 
> Set flask_debug = 1
> 
>  
> 
> I get the following errors:
> 
>  
> 
> WARNING: This is a development server. Do not use it in a production
> deployment.                                     Use a production WSGI server
> instead.

That warning is not an error ...



Groeten
Geert Stappers
-- 
Leven en laten leven


More information about the Flask mailing list