I can't seem to find anyone else having this issue, but I'd be very
surprised if I was the only one.

Essentially, I'm trying to have uwsgi manage 2 external processes for me
using these instructions:
http://uwsgi-docs.readthedocs.org/en/latest/AttachingDaemons.html  However,
having two entries in an INI file with the same key in the same section
gives a configparser.DuplicateOptionError exception when using Python 3.2
or greater.  This is due to a change they made where the default setting of
the config parser is strict=True (the docs state "Changed in version 3.2:
In previous versions of configparser behaviour matched strict=False.").
 So, the default is that you can't have duplicate keys in a section unless
you pass strict=False into ConfigParser().

I filed an issue with PasteDeploy (
https://bitbucket.org/ianb/pastedeploy/issue/13/python-32-changed-configparser-to-default),
but unfortunately I keep running into the same problem for every time
something wants to read the INI file (not just PasteDeploy).

Is there an alternate way of doing this?  Maybe some way of passing in a
list?

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

Reply via email to