Error with Python 3.11 and PySide 6.4 and possible fix
Opened this issue · 0 comments
Netzvamp commented
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 ...