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

TypeError: 'exclusive' is an unknown keyword argument #157

Open
kurt-rhee opened this issue Oct 6, 2022 · 0 comments
Open

TypeError: 'exclusive' is an unknown keyword argument #157

kurt-rhee opened this issue Oct 6, 2022 · 0 comments
Assignees

Comments

@kurt-rhee
Copy link

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:

  1. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants