After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 350382 - the first time Orca GUI runs, bad argument type is passed: None instead of integer.
the first time Orca GUI runs, bad argument type is passed: None instead of in...
Status: RESOLVED DUPLICATE of bug 350294
Product: orca
Classification: Applications
Component: magnification
0.2.x
Other All
: Normal minor
: ---
Assigned To: Orca Maintainers
Orca Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-08-08 06:50 UTC by Jorge Sandín
Modified: 2006-08-08 07:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jorge Sandín 2006-08-08 06:50:51 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.
Comment 1 Jorge Sandín 2006-08-08 07:05:27 UTC

*** This bug has been marked as a duplicate of 350294 ***