-
Notifications
You must be signed in to change notification settings - Fork 29
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
tornado 3.x seems to have broken json encoding: #236
Comments
I just reproduced this, I'll look into it further |
This is more related to Tornado 2.4 vs 3 changes. The python coweb server works with Tornado 2.4, but apparently not Tornado 3. Part of the issue was not converting This fix (and whether or not Tornado 3 issues are fixed) will go into the next release, so in the meantime, you will need to clone the git repo and install the server from the master branch. You can follow these steps with a few exceptions. After cloning the |
@ccotter thanks for checking it out,
to this (watch line 82)
in servers/python/coweb/admin.py and the first client seems to connect fine, but a second client can not join that session (there's some place in the code thats tripping and i still dont get the flow of the code so im having a hard time debugging). |
5822afa is the commit |
ok, |
@thebookworm101 I'll do some digging and see what I can find. As always, if you find anything, feel free to submit a pull request :) |
@ccotter I submitted the pull request for this, but i noticed that if i were to paste more than 7 lines of text into a collaborative session, it either takes too long to sync or disconnects the session and the page refreshes. Is there some plan to deal with situations like that? How possible is it right now to change from one character at a time when pasting content to a set of characters at a time (or all thats pasted if its not too big). This problem exists even with the current setup. (try pasting >7 lines of text on the dailyscrum textarea in the demo.) The problem imho is that either
|
this is what i get on the terminal with the dailyscrum example when the browser connects:
seems like a python 2x - 3x issue:
See the same error with python 3.30 reproduced on the terminal:
But the same works fine on python 2.7.3
edit changed the issue title from:
python 3.3.0 seems to have broken json encoding:
to
tornado 3.x . seems to have broken json encoding:
The text was updated successfully, but these errors were encountered: