fregante / GhostText

đź‘» Use your text editor to write in your browser. Everything you type in the editor will be instantly updated in the browser (and vice versa).
https://GhostText.fregante.com
MIT License
3.32k stars 115 forks source link

Connection errors #31 #29

Closed Cacodaimon closed 10 years ago

Cacodaimon commented 10 years ago

Origin issue: https://github.com/Cacodaimon/GhostText-for-Chrome/issues/31

sejbr commented 10 years ago

This CSS http://paste.pm/i7g.js didn't open at all. I guess that is because of its length. As I said it does not open at all in sublime. Just spawns a new tab/window and on the chrome side it acts as if it was working correctly. This on the other hand work http://paste.pm/i7f.js and starts the other problems. When connection is closed, you have to restart sublime to connect again. No info shows in sublime console when trying to create new connection without restarting it.

If those informations are not enough I could try to host a dev IPBoard site for you to do testing but that might get tricky on the licensing side. If info above is not enough just tell me and I'll see what I can do.

Cacodaimon commented 10 years ago

Thanks for the files,

About the first file: I think it about it's length, I'm working on it.

I can't reproduce the error about the second file, maybe it's windows related. My windows installation is currently broke I hope to find enough time to fix it at the weekend…

Cacodaimon commented 10 years ago

The long message text error has been fixed, please be patient until the next version gets released or test it manually: https://github.com/Cacodaimon/GhostText-for-SublimeText#user-content-development-version

The new version gets relased when: https://github.com/Cacodaimon/GhostText-for-SublimeText/issues/24 is fixed, too.

sejbr commented 10 years ago

Well I'm not sure if my response got deleted or if I forgot to sent it xd... Yes, the length bug has been fixed and now it works great even with 3k+ lines of css :).

About the reconnecting bug with having to restart sublime after canceling connection, here's a video of it since you don't have your windows up and running. I'm not sure if it will help with anything, but here it is nonetheless https://www.youtube.com/watch?v=jx5xHvGWa9k (Sorry about the background music. Forgot to disable audio channel for recording)

Cacodaimon commented 10 years ago

It was a windows related error, some unidentified process on windows sends an empty request to the open port?

I gonna add this fix when I'm back on Linux: https://gist.github.com/Cacodaimon/dfeaa538349d2504c31f

Cacodaimon commented 10 years ago

I used the wrong issue id: https://github.com/Cacodaimon/GhostText-for-SublimeText/commit/2c8a58d79db3cbc2b466e381ed70e403cff9967b

@sejbr Can you check if it works now on your windows when I got an okey I gonna create a new tag/release…

sejbr commented 10 years ago

This bug is fixed now :).

Cacodaimon commented 10 years ago

:triumph: