[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [Bug]Can't send D-Bus struct as variant with PyQt6
From:       JakobDev <jakobdev () gmx ! de>
Date:       2023-09-02 7:34:57
Message-ID: 380cbe1d-df28-473a-b266-6d34a734ba1b () gmx ! de
[Download RAW message or body]

Thanks

Am 01.09.23 um 15:01 schrieb Phil Thompson:
> On 30/08/2023 11:51, JakobDev wrote:
>> I was able to also reproduce this Bug with PyQt 6 installed from PyPI
>> in a venv (curent version is 6.5.2 and the Qt version is shipped with
>> the package), so it's not a problem with the Ditro package
>
> Hopefully fixed in the next snapshot.
>
> Phil
>
>>> Gesendet: Mittwoch, 30. August 2023 um 12:36 Uhr
>>> Von: "Phil Thompson" <phil@riverbankcomputing.com>
>>> An: "JakobDev" <jakobdev@gmx.de>
>>> Cc: pyqt@riverbankcomputing.com
>>> Betreff: Re: Aw: Re: [Bug]Can't send D-Bus struct as variant with PyQt=
6
>>>
>>> On 30/08/2023 11:28, JakobDev wrote:
>>> > This bug also happens with QDBusUnixFileDescriptor. Is there anythin=
g
>>> > I can do to help you getting this fixed?
>>>
>>> You could answer my question about version numbers. I'm not going to
>>> dig
>>> around some distro I've never heard of.
>>>
>>> >> Gesendet: Donnerstag, 10. August 2023 um 20:58 Uhr
>>> >> Von: "JakobDev" <jakobdev@gmx.de>
>>> >> An: "Phil Thompson" <phil@riverbankcomputing.com>
>>> >> Cc: pyqt@riverbankcomputing.com
>>> >> Betreff: Re: [Bug]Can't send D-Bus struct as variant with PyQt6
>>> >>
>>> >> I use the Qt and PyQt version from the Manjaro Repos, so you
>>> should be
>>> >> able to reproduce it there
>>> >>
>>> >> Am 04.08.23 um 17:53 schrieb Phil Thompson:
>>> >> > On 03/08/2023 10:56, JakobDev wrote:
>>> >> >> On PyQt5 it is possible to pass a struct marked as variant as
>>> argument
>>> >> >> to a D-Bus method. However, on PyQt6 this is no longer
>>> possible. It
>>> >> >> throws this error:
>>> >> >>
>>> >> >> QDBusMarshaller: type 'PyQt_PyObject' (65734) is not
>>> registered with
>>> >> >> D-BUS. Use qDBusRegisterMetaType to register it
>>> >> >> qt.dbus.integration: QDBusConnection: error: could not send
>>> message to
>>> >> >> service "com.example.App" path "/com/example/App" interface
>>> >> >> "com.example.App" member "Example": Marshalling failed:
>>> Unregistered
>>> >> >> type PyQt_PyObject passed in arguments
>>> >> >>
>>> >> >> I attached a example code which shows the behaviour in PyQt5 and
>>> >> >> PyQt6. The error happens before anything is send, so you don't
>>> need a
>>> >> >> specific D-Bus interface to test it.
>>> >> >
>>> >> > What versions of PyQt6, Qt etc? I can't reproduce this on macOS
>>> (not
>>> >> > had a chance to try Linux).
>>> >> >
>>> >> > Phil
>>> >>
>>>
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic