Menu

#8 gui-client disconnect Errno 32, broken pipe

open
nobody
None
3
2011-10-31
2011-09-21
No

Platform: Linux, python 2.7.1, IPython 0.10.2
To reproduce:
1) start qtlab with gui
2) close gui
3) start gui with qt.flow.start_gui()
4) run qt.mstart()
5) run qt.mend()

After step 5 the following error is produced:

WARNING:root:Send exception ([Errno 32] Broken pipe), assuming client disconnected
root: WARNING Send exception ([Errno 32] Broken pipe), assuming client disconnected
WARNING:root:Client disconnected, removing
root: WARNING Client disconnected, removing

The gui however does still work, and exits when the shell is exited.

Discussion

  • Pieter de Groot

    Pieter de Groot - 2011-09-26

    The error is produced because the gui has disconnected and the shell does not get notified of this. It finds out when trying to send data, and only disconnects the shell side when it finds out that the sending fails. This behaviour is good when the gui closed with a crash, but closing it properly (manually) should not give ugly error messages. We need to implement a proper disconnect procedure.

     
  • Pieter de Groot

    Pieter de Groot - 2011-10-31
    • priority: 5 --> 3
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.