Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] GUI select tool generates error, does not select, and window won't close #2982

Closed
cmbarton opened this issue May 25, 2023 · 1 comment · Fixed by #2984
Closed

[Bug] GUI select tool generates error, does not select, and window won't close #2982

cmbarton opened this issue May 25, 2023 · 1 comment · Fixed by #2984
Labels
bug Something isn't working

Comments

@cmbarton
Copy link
Contributor

Describe the bug
Clicking the feature select tool in the GUI opens a small window. It also raises the error below. Then you cannot close the window. Clicking the close button does nothing and generates no error.

Traceback (most recent call last):
  File "/Applications/GRASS-
8.2.app/Contents/Resources/gui/wxpython/mapdisp/frame.py",
line 704, in OnSelect

self.dialogs["vselect"].CreateDialog(createButton=True)
  File "/Applications/GRASS-
8.2.app/Contents/Resources/gui/wxpython/gui_core/vselect.py"
, line 135, in CreateDialog

self._dialog.AddWidget(createMap, proportion=0.1)
  File "/Applications/GRASS-
8.2.app/Contents/Resources/gui/wxpython/gui_core/vselect.py"
, line 83, in AddWidget

self.mainSizer.Add(widget, proportion=proportion, flag=flag)
TypeError
:
Sizer.Add(): arguments did not match any overloaded call:
  overload 1: 'proportion' is not a valid keyword argument
  overload 2: argument 'proportion' has unexpected type
'float'
  overload 3: argument 1 has unexpected type 'Button'
  overload 4: argument 1 has unexpected type 'Button'
  overload 5: argument 1 has unexpected type 'Button'
  overload 6: argument 1 has unexpected type 'Button'
  overload 7: argument 1 has unexpected type 'Button'
  overload 8: argument 1 has unexpected type 'Button'
  overload 9: argument 1 has unexpected type 'Button'

System description (please complete the following information):

  • Operating System: Mac OS 13.3.1 Apple ARM
  • GRASS GIS version: 8.2.1
@cmbarton
Copy link
Contributor Author

Thanks for the fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant