I'm switching from an .ini based uWSGI config to a .yaml based one and am having problems with magic variables being processed for a Python web app using Pylons.

In the .ini file:
chdir = %d

properly evaulates to the directory of the .ini file.

In the .yaml file:

chdir: %d

Can't be used, because PyYaml complains about the '%' character being first, so I try:

chdir: "%d"

but then uWSGI expands that to "/home/jsivak/projects/app1" (including the double quotation marks) and uWSGI can't find/chdir to the actual directory: /home/jsivak/projects/app1

Is this a bug/issue in uWSGI's processing of string based magic variables?

Thanks
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to