Browse Source

wxGUI: ignore error message containing 'GtkPizza', see trac https://trac.osgeo.org/grass/ticket/283
(merge from devbr6, https://trac.osgeo.org/grass/changeset/33301)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@33302 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 16 years ago
parent
commit
aa2ce7a5fd
1 changed files with 5 additions and 0 deletions
  1. 5 0
      gui/wxpython/gui_modules/goutput.py

+ 5 - 0
gui/wxpython/gui_modules/goutput.py

@@ -88,6 +88,8 @@ class CmdThread(threading.Thread):
             except AttributeError:
                 aborted = False
             
+            time.sleep(.1)
+            
             event = wxCmdDone(aborted=aborted,
                               time=requestTime,
                               pid=requestId)
@@ -572,6 +574,9 @@ class GMStderr:
         self.printMessage = False
         
     def write(self, s):
+        if "GtkPizza" in s:
+            return
+        
         s = s.replace('\n', os.linesep)
         # remove/replace escape sequences '\b' or '\r' from stream
         progressValue = -1