Closed simon-20 closed 1 year ago
Hi,
If you are running KerkoApp on a development machine, you might want to set the value of the FLASK_ENV
environment variable to development
. Otherwise you'll be running on production settings, which attempt to use the syslog logging handler, which won't work on Windows. If you are looking at hosting KerkoApp on Windows for production, then perhaps you could set the value of the LOGGING_HANDLER
variable to an empty value (which should cause KerkoApp to use a default handler).
I hope this helps. Please let us know of the results.
KerkoApp's default production settings should probably be changed to avoid this issue on Windows, but hopefully the above workarounds can work in the meantime.
The new configuration system currently in development (#38) should help avoid this kind of trouble in the future. The syslog logging handler will have to be explicitly enabled in a configuration file.
Hi,
Thanks for your reply, and help.
I'm not sure it was entirely related to Windows. When attempting to get it set up on PythonAnywhere, I also received exceptions being thrown due to the logging handler, and exceptions thrown during the attempted handling of the logging. But I've been able to resolve some of the issues by setting LOGGING_HANDLER
to an empty value, as you suggest.
Many thanks
Hi,
I'm attempting to get Kerko and KerkoApp running on Windows 10. I've seen in the previous issues that some people have succeeded with this, with a few tweaks. However I'm running into a problem which I haven't seen mentioned.
Upon running:
flask kerko sync
for the first time, I receive the following error:
Any help on this would be much appreciated.
Thank you