Skip to content

Conversation

@Dfupa
Copy link

@Dfupa Dfupa commented Oct 1, 2020

Background: Some of the intended functionality of ete3's webplugin app wasn't working properly (the WebTreeAplication's call function)

After some digging, I found out that the issue had to do with string encoding (as the native string is bytes for python2 and text for python3: https://portingguide.readthedocs.io/en/latest/strings.html) provided WSGI applications are required to yield bytes objects: Str in Python2 and bytes in Python3

My code solutions were rather simple but I tried to fix (most of) the encoding errors I was able to pinpoint through my testing.

Fixing Python3 encoding incompatibilities.
Reorganizing a bit of the code as well as fix some minor errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant