                      self.errcount += 1
                  else:
                      print("Error reading the preview file for {}".format(name))
                      self.previewtrain[name] = None
  
      def get_current_size(self, name):
 
</s>
                    logger.error("Error reading the preview file for '%s'", img)
                      self.errcount += 1
                  else:
                    logger.error("Error reading the preview file for '%s'", img)
                      print("Error reading the preview file for {}".format(name))
                      self.previewtrain[name] = None
  
      def get_current_size(self, name):
keep add keep keep keep keep
 Add right click menu to GUI. Implement some GUI Logging
lib/gui/utils.py