Closed vegax87 closed 3 years ago
Hi @vegax87 I have it in a yml file like this
mailer.yml
sender: None
and in python
app.config_from_yaml('mailer.yml', 'mailer')
@vegax87 the stacktrace you posted seems more related to the reloader.
Can you please try run the application with the --no-reloader
option?
@gi0baro The app runs without issues so far but it took a while the first time I ran it with --no-reloaded
`> emmett develop --no-reloader
WARNING in ext [c:\users\vegax87\appdata\local\programs\python\python37\lib\site-packages\emmett\tools\auth\ext.py:177]: No mailer seems to be configured. The auth features requiring mailer won't work. Starting Emmett development server on app app Emmett application app running on http://127.0.0.1:8000 (press CTRL+C to quit) [32mINFO[0m: Started server process [[36m11300[0m] [32mINFO[0m: Waiting for application startup. [32mINFO[0m: Application startup complete. [32mINFO[0m: Uvicorn running on [1mhttp://127.0.0.1:8000[0m (Press CTRL+C to quit)`
I use Win 10 and Python 3.7, I have tried to add this string in bloggy example
but everytime it displays a warning first and then several errors, obviously I can't run the application.
`> WARNING in ext [c:\users\vegax87\appdata\local\programs\python\python37\lib\site-packages\emmett\tools\auth\ext.py:177]: No mailer seems to be configured. The auth features requiring mailer won't work.