Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python3 fixes for ping and zlib #75

Merged
merged 2 commits into from Feb 29, 2020

Conversation

SunilMohanAdapa
Copy link
Contributor

When running a frontend for local test cases, the Debian autopkgtest suite for Pagekite was failing. Investigation led to the following fixes.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950249

Please tag a new release after this fix. Thanks.

The ping request fails under Python 3 due to incorrect byte/string handling.

Test by sending a HTTP request to locally running frontend and backend with
Python 2 and 3. Also connect to pagekite.net service with Python 2 and 3.
Byte/string conversion has not be done for zlib compression.

Test by sending a HTTP request to locally running frontend and backend with
Python 2 and 3. Also connect to pagekite.net service with Python 2 and 3.
@SunilMohanAdapa
Copy link
Contributor Author

Just a reminder, Pagekite is not functional with pagekite.net without this patch.

gucci-on-fleek added a commit to gucci-on-fleek/IoT-Gateway-for-Docker that referenced this pull request Feb 26, 2020
Pagekite is broken until pagekite/PyPagekite#75 is merged, so we will
use the proposed PR until then. More superfluous files have been removed
to decrease the image size, and (hopefully) all of the sqlite warning
spam has been disabled.
@pagekite pagekite merged commit 0700911 into pagekite:main Feb 29, 2020
@pagekite
Copy link
Owner

Thank you for doing this! I'll try and get this tested and tagged today.

@SunilMohanAdapa
Copy link
Contributor Author

A release tag with this fix would be nice to have.

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.

None yet

2 participants