crossbario/pyside2reactor

Issues with running on win10 and pyside6 6.1.3

sveinse opened this issue · 0 comments

Hi

Awesome project. Something I think I'll need when integrating twisted "back-end" functionality in a pyside6 Qt GUI app. I would have love to find this on PyPi, but that is a minor thing.

1

It did not work out of box for me however. I'm running on a win10 environment and due to:

https://github.com/crossbario/pyside2reactor/blob/master/pyside2reactor/qt4base.py#L368

I had to install pywin32 as an additional dependency

2

Using pyside6 6.1.3 the application dies in some cases with the mysterous message:

TypeError: msg_blast() takes 2 positional arguments but 3 were given

due to https://github.com/crossbario/pyside2reactor/blob/master/pyside2reactor/qt4base.py#L162

It could seem like the Qt message handler now delivers 3 arguments, because changing https://github.com/crossbario/pyside2reactor/blob/master/pyside2reactor/qt4base.py#L137 fixes the issue

def msg_blast(msg_type, msg, xtra):