Skip to content

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

@Netzvamp

Description

@Netzvamp

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions