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

Error with Python 3.11 and PySide 6.4 and possible fix #7

Open
Netzvamp opened this issue Mar 9, 2023 · 0 comments
Open

Error with Python 3.11 and PySide 6.4 and possible fix #7

Netzvamp opened this issue Mar 9, 2023 · 0 comments

Comments

@Netzvamp
Copy link

Netzvamp commented Mar 9, 2023

Hello,

I've tried objbrowser with Python 3.11 and PySide 6.4, but throws following exception:

  File "C:\path\objbrowser\objectbrowser.py", line 275, in _setup_views
    self.button_group.buttonClicked[int].connect(self._change_details_field)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
IndexError: Signature "buttonClicked(int)" not found for signal: "buttonClicked". Available candidates: "buttonClicked(QAbstractButton*)"

If i replace that with self.button_group.buttonClicked.connect(self._change_details_field) and it's running now without issues.

I've also replaced line 539 with self.button_group.buttonClicked.disconnect(self._change_details_field), or it throws the same error.

I have no idea about compatibility with other Pyside or Python versions for that fix ...

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

1 participant