          message = self.set_final_status(returncode)
          self.wrapper.terminate(message)
          logger.debug("Terminated stdout reader. returncode: %s", returncode)
  
      def read_stderr(self):
          """ Read stdout from the subprocess. If training, pass the loss
          values to Queue """
          logger.debug("Opening stderr reader")
          while True:
              try:
 
</s> remove         returncode = self.process.poll()
        message = self.set_final_status(returncode)
        self.wrapper.terminate(message)
 </s> add         returncode = self._process.poll()
        assert returncode is not None
        message = self._set_final_status(returncode)
        self._wrapper.terminate(message) </s> remove     def read_stdout(self) -> None:
 </s> add     def _read_stdout(self) -> None: </s> remove         self.wrapper.tk_vars.refresh_graph.set(True)
 </s> add         tk_vars.refresh_graph.set(True)
    def _read_stderr(self) -> None:
          message = self.set_final_status(returncode)
          self.wrapper.terminate(message)
          logger.debug("Terminated stdout reader. returncode: %s", returncode)
  
    def _read_stderr(self) -> None:
          """ Read stdout from the subprocess. If training, pass the loss
          values to Queue """
          logger.debug("Opening stderr reader")
          while True:
              try:
keep keep keep keep replace keep keep keep keep keep
 bugfix: GUI force stdout/stderr reading to utf-8 
lib/gui/wrapper.py