> Realised I might have knocked this question out of the public
> consciousness by replying to my own post with some additional info... Here
> it is collated into a single (more considered) post.
>
>
> I have a situation where uWSGI is attempting to load the paste
> environment, and ``uri`` in deploy's ``loadcontext`` is bytes whereas I
> believe it should be string, resulting in:
>
>   TypeError: Type str doesn't support the buffer API
>
> I have modified my Deploy to coerce ``uri`` to a string and uWSGI then
> launches successfully. This issue does not occur with Pyramid's waitress
> server reading the same .ini file (see trace).
>
> Is this an issue with uWSGI sending the wrong type, or should Paste Deploy
> be more tolerant of bytes/strings in this case?
>
> Best, S
>
>
>


Can you try with that patch ?

https://github.com/unbit/uwsgi/commit/2de9b9d5c7269fd255da75cc10d6565722cbd6a7



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

Reply via email to