You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When pressing "Restart" it will crash XQEMU (See #50). When pressing the button again, XQEMU-Manager will try to send another QMP command before realizing that XQEMU crashed.
This leads to XQEMU-Manager aborting (closing):
Traceback (most recent call last):
File "./main.py", line 426, in onRestartButtonClicked
self.inst.restart()
File "./main.py", line 330, in restart
return self.run_cmd('system_reset')
File "./main.py", line 318, in run_cmd
resp = self._qmp.cmd_obj(cmd)
File "xqemu-manager/qmp.py", line 174, in cmd_obj
resp = self.__json_read()
File "xqemu-manager/qmp.py", line 82, in __json_read
data = self.__sockfile.readline()
File "/usr/lib/python3.7/socket.py", line 589, in readinto
return self._sock.recv_into(b)
ConnectionResetError: [Errno 104] Connection reset by peer
Aborted (core dumped)
or
Traceback (most recent call last):
File "./main.py", line 426, in onRestartButtonClicked
self.inst.restart()
File "./main.py", line 330, in restart
return self.run_cmd('system_reset')
File "./main.py", line 320, in run_cmd
raise Exception('Disconnected!')
Exception: Disconnected!
Aborted (core dumped)
We should handle the disconnection / loss of connection more gracefully.
This might also affect other QMP commands.
The text was updated successfully, but these errors were encountered:
When pressing "Restart" it will crash XQEMU (See #50). When pressing the button again, XQEMU-Manager will try to send another QMP command before realizing that XQEMU crashed.
This leads to XQEMU-Manager aborting (closing):
or
We should handle the disconnection / loss of connection more gracefully.
This might also affect other QMP commands.
The text was updated successfully, but these errors were encountered: