New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Yesod silently ignoring config/settings.yml scaffold config #474
Comments
For the first point: you need to set port via command line parameters to That second message is most likely coming from the parsing of either settings.yml or your database config file. Can you compare those against a scaffolded file and see what the differences are? |
Thank's for the fast reply. So the first point is solved, but for the second I still have no clue...
|
What's the actual change you're making? |
The exception was indeed very accurate as I'm using a postgres account without password, |
For future reference, I think you could use "" as the password value. At this point, is this issue resolved? |
The workaround with the explicit quotations solves the issue for empty passwords. |
With the dawn of yesod-1.1.7.2 and yesod-core-1.1.7.1,
the config file in config/settings.yml is blindly ignored by
yesod devel
,though removing the file yields a compile-expection
But if I'm changing port, approot or anything else, yesod will still insist to run the devel-application on http://localhost:3000
By the way, I'm still trying to upgrade my old scaffolding site to the newer version of yesod (as in yesodweb/persistent#111).
Now I get on the last steps of
yesod devel
merely the messageStarting devel application
Devel application launched: http://localhost:3000
devel.hs: user error (when expecting a String, encountered Null instead)
Exit code: ExitFailure 1
I do not know how to deal with this message as I've not modified devel.hs in any kind.
The text was updated successfully, but these errors were encountered: