GNOME Bugzilla – Bug 350382
the first time Orca GUI runs, bad argument type is passed: None instead of integer.
Last modified: 2006-08-08 07:05:27 UTC
Please describe the problem: The first time Orca is run (without ~/.orca dir) and initializes the GUI, an argument None is passed, instead an integer, so it prints an error. As it's the last line in the function, nothing else goes wrong, only the error is printed (Orca doesn't loose functionality, but it could in the future). Steps to reproduce: 1. rm -Rf ~/.orca 2. orca 3. See the terminal output Actual results: an ugly python error is printed in the terminal output. Expected results: no errors in the terminal. Does this happen every time? yes Other information: PATCH: Change the lines orca_gui_prefs.py: 388: index = self._getComboBoxIndex(self.magMouseTrackingComboBox, mode) self.magMouseTrackingComboBox.set_active(index) for: index = self._getComboBoxIndex(self.magMouseTrackingComboBox, mode) if index != None: self.magMouseTrackingComboBox.set_active(index) Just adding that check will avoid that error.
*** This bug has been marked as a duplicate of 350294 ***