--- orca_console_prefs.py	2009-10-21 22:09:58.000000000 +0530
+++ orca_console_prefs-new.py	2009-11-04 15:02:09.000000000 +0530
@@ -175,6 +175,9 @@
             try:
                 choice = int(sayAndPrint(_("Enter choice: "), False, True))
                 break
+            except ValueError:  
+               sayAndPrint(_("Please enter a vaild number.\n"))
+
             except:
                 pass
         if (choice <= 0) or (choice >= i):
@@ -212,6 +215,8 @@
             try:
                 choice = int(sayAndPrint(_("Enter choice: "), False, True))
                 break
+            except ValueError:  
+               sayAndPrint(_("Please enter a vaild number.\n"))
             except:
                 pass
         if (choice <= 0) or (choice >= i):
@@ -267,6 +272,9 @@
                                          True,                # getInput
                                          speechServerChoice)) # speech server
                 break
+            except ValueError:  
+               sayAndPrint(_("Please enter a vaild number.\n"))
+
             except:
                 pass
         if (choice <= 0) or (choice >= i):
@@ -418,6 +426,8 @@
             choice = int(sayAndPrint(_("Enter choice: "),
                          False, True, speechServerChoice, speechVoiceChoice))
             break
+        except ValueError:  
+               sayAndPrint(_("Please enter a vaild number.\n"))
         except:
             pass
     if choice == 2:
