orca r3783 - in trunk: . src/orca



Author: wwalker
Date: Fri Mar 28 23:49:14 2008
New Revision: 3783
URL: http://svn.gnome.org/viewvc/orca?rev=3783&view=rev

Log:
Add an additional except clause in __idleHandler to prevent tracebacks from killing Say All.


Modified:
   trunk/ChangeLog
   trunk/src/orca/gnomespeechfactory.py

Modified: trunk/src/orca/gnomespeechfactory.py
==============================================================================
--- trunk/src/orca/gnomespeechfactory.py	(original)
+++ trunk/src/orca/gnomespeechfactory.py	Fri Mar 28 23:49:14 2008
@@ -538,6 +538,13 @@
                             self.__sayAll.currentContext,
                             speechserver.SayAllContext.COMPLETED)
                         self.__sayAll = None
+                    except:
+                        # This is here to deal with the situation where speech
+                        # might have stopped and __sayAll was set to None.
+                        # If we don't handle those cases, Say All can stop
+                        # working.
+                        #
+                        pass
 
         rerun = True
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]