Open sloat opened 8 years ago
Could you point out what's the issue you are reporting please?
Python 3 WSGI applications aren't mounted with the uwsgi.applications
dictionary unless the dict keys are bytes. I wasn't sure if I should post it to uwsgi-docs or here, since googling led me to the source repo, but it's not a major issue or anything.
Mostly I just wanted to post in case someone else was having the same problem.
@sloat I think you overlooked the app mountpoint must be a string warning. Feel free to open a pull request improving the message.
Can confirm it actually picks up the applications, but it doesn't work as expected as far as I can tell. Maybe the bytes representation is cause for #1163?
@xrmx In the first example the mount-points are dict keys, aren't they? If so those are strings.
Tested on OSX 10.10, Python 3.5.1
Results in:
Solution: Use bytes for the dictionary keys.
Result: