This repository was archived by the owner on Oct 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
This repository was archived by the owner on Oct 24, 2024. It is now read-only.
TypeError: 'exclusive' is an unknown keyword argument #157
Copy link
Copy link
Open
Description
Describe the bug
Trying out an example script from the documentation gives the following error.
Backend QtAgg is interactive backend. Turning interactive mode on.
QApplication: invalid style override 'adwaita' passed, ignoring it.
Available styles: Windows, Fusion
/media/H/Python/Nevados/helios.core/_env/lib/python3.8/site-packages/qtpy/__init__.py:267: RuntimeWarning: Selected binding "pyside2" could not be found, using "pyqt5"
warnings.warn('Selected binding "{}" could not be found, '
Traceback (most recent call last):
File "/media/H/Python/Nevados/helios.core/_env/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 3457, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)
File "<ipython-input-2-c9516354d9da>", line 1, in <module>
runfile('/media/H/Python/Nevados/helios.core/trace/dom/utils/loader.py', wdir='/media/H/Python/Nevados/helios.core/trace/dom/utils')
File "/snap/pycharm-community/298/plugins/python-ce/helpers/pydev/_pydev_bundle/pydev_umd.py", line 198, in runfile
pydev_imports.execfile(filename, global_vars, local_vars) # execute the script
File "/snap/pycharm-community/298/plugins/python-ce/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/media/H/Python/Nevados/helios.core/trace/dom/utils/loader.py", line 194, in <module>
viewer = App()
File "/media/H/Python/Nevados/helios.core/_env/lib/python3.8/site-packages/compas_view2/app/app.py", line 215, in __init__
self.init()
File "/media/H/Python/Nevados/helios.core/_env/lib/python3.8/site-packages/compas_view2/app/app.py", line 228, in init
self._init_menubar(self.config.get('menubar'))
File "/media/H/Python/Nevados/helios.core/_env/lib/python3.8/site-packages/compas_view2/app/app.py", line 619, in _init_menubar
self._add_menubar_items(items, self.menubar)
File "/media/H/Python/Nevados/helios.core/_env/lib/python3.8/site-packages/compas_view2/app/app.py", line 662, in _add_menubar_items
self._add_menubar_items(item['items'], menu)
File "/media/H/Python/Nevados/helios.core/_env/lib/python3.8/site-packages/compas_view2/app/app.py", line 664, in _add_menubar_items
radio = QtWidgets.QActionGroup(self.window, exclusive=True)
TypeError: 'exclusive' is an unknown keyword argument
To Reproduce
Steps to reproduce the behavior:
- Attempt to run an example from the documentation
Expected behavior
No TypeError
Screenshots
None
Desktop (please complete the following information):
- OS: Zorin OS 16
- Python version 3
- Python package manager pip
Additional context
None
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels