Qirky / Troop

Real-time Live Coding collaboration app
311 stars 37 forks source link

GUI is missing "reconnect to server" mechanism? #54

Open jwaldmann opened 4 years ago

jwaldmann commented 4 years ago

When I get this:

Warning: connection lost.
[Errno 9] Bad file descriptor
"Can't connect to server"

the editor sort-of freezes. (I can click with the mouse but I can't type).

When I kill the client, the other client sees

Peer 'None' has disconnected
Exception occurred in message 'handle_remove': <class 'AttributeError'> AttributeError("'NoneType' object has no attribute 'remove'")
Warning: connection lost.
[Errno 9] Bad file descriptor
"Can't connect to server"

and then it's dead as well

Strange thing is "Peer None" - that's not the name I used. I started the client with -i. Without, this does not seem to happen.

Qirky commented 4 years ago

Yes you have to reconnect manually. I'll look into why the peer is "None" but there isn't an automatic reconnect to server feature