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

client hangs after 'Message contained no data' #55

Open
jwaldmann opened this issue Apr 11, 2020 · 1 comment
Open

client hangs after 'Message contained no data' #55

jwaldmann opened this issue Apr 11, 2020 · 1 comment

Comments

@jwaldmann
Copy link

I often get this in the lower-left client window

[Errno 32] Broken pipe
"Can't connect to server"
Warning: connection lost.

and at the same time this in the console:

Exception in thread Thread-1:                                                [0/831]
Traceback (most recent call last):                                                  
  File "/usr/lib64/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()                                                                      
  File "/usr/lib64/python3.8/threading.py", line 870, in run         
    self._target(*self._args, **self._kwargs)                                    
  File "/home/waldmann/software/music/Troop/src/receiver.py", line 93, in handle
    raise(e)                                                                        
  File "/home/waldmann/software/music/Troop/src/receiver.py", line 71, in handle    
    packet = self.reader.feed(self.sock.recv(self.bytes))                           
  File "/home/waldmann/software/music/Troop/src/message.py", line 46, in feed       
    raise EmptyMessageError()             
src.message.EmptyMessageError: 'Message contained no data'    
@Qirky
Copy link
Owner

Qirky commented Apr 11, 2020

Yup it's a bug that happens sometimes when connections drop

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

No branches or pull requests

2 participants