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

List:       pykde
Subject:    Aw: Re:  Re: [Bug]Can't send D-Bus struct as variant with PyQt6
From:       JakobDev <jakobdev () gmx ! de>
Date:       2023-08-30 10:51:39
Message-ID: trinity-7a37beeb-0362-45c2-ab3c-d8f14e6ccdce-1693392699244 () 3c-app-gmx-bap17
[Download RAW message or body]

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 pack=
age), so it's not a problem with the Ditro package

> 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 PyQt6
>
> On 30/08/2023 11:28, JakobDev wrote:
> > This bug also happens with QDBusUnixFileDescriptor. Is there anything
> > 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 b=
e
> >> 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 argu=
ment
> >> >> to a D-Bus method. However, on PyQt6 this is no longer possible. I=
t
> >> >> throws this error:
> >> >>
> >> >> QDBusMarshaller: type 'PyQt_PyObject' (65734) is not registered wi=
th
> >> >> D-BUS. Use qDBusRegisterMetaType to register it
> >> >> qt.dbus.integration: QDBusConnection: error: could not send messag=
e to
> >> >> service "com.example.App" path "/com/example/App" interface
> >> >> "com.example.App" member "Example": Marshalling failed: Unregister=
ed
> >> >> 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 nee=
d a
> >> >> specific D-Bus interface to test it.
> >> >
> >> > What versions of PyQt6, Qt etc? I can't reproduce this on macOS (no=
t
> >> > 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