JakobDev activity https://gitlab.com/JakobDev 2025-10-16T17:20:00Z tag:gitlab.com,2025-10-16:4719974208 JakobDev commented on issue #36 at Thomas Kluyver / jeepney 2025-10-16T17:20:00Z JakobDev JakobDev [email protected]

Thanks for the instructions. I was able to create a working Qt integration. It was way easier than I fought. I had opened !46 to upstream it.

Oh, that's an interesting one. I had assumed the D-Bus integrations in Qt & GTK would be good enough that no-one would really want to use Jeepney in a GUI context. 😆

I've never tried GTK but the Qt one is really bad. It gives you almost no Control about the types you send. It work well for simple types, but if you do something more complex e.g. a(sssida{sv}) then good luck. There is also almost no documentation for Python.

tag:gitlab.com,2025-10-16:4719973262 JakobDev opened merge request !46: Add Qt integration at Thomas Kluyver / jeepney 2025-10-16T17:19:41Z JakobDev JakobDev [email protected]

This PR adds a Qt integration as explained in #36 to Jeepney.

To-Do:

  • Add support for PySide (I currently have no idea how)
  • Add support for file descriptors
  • Add documentation
tag:gitlab.com,2025-10-16:4719970754 JakobDev pushed new project branch qt at JakobDev / jeepney 2025-10-16T17:18:53Z JakobDev JakobDev [email protected]

JakobDev (c621b6f9) at 16 Oct 17:18

Add Qt integration

tag:gitlab.com,2025-10-16:4719793506 JakobDev pushed to project branch master at JakobDev / jeepney 2025-10-16T16:19:57Z JakobDev JakobDev [email protected]

JakobDev (76c86aa8) at 16 Oct 16:19

Fix some Sphinx warnings

... and 47 more commits

tag:gitlab.com,2025-10-15:4715797381 JakobDev opened issue #36: Integrate with PyQt at Thomas Kluyver / jeepney 2025-10-15T17:24:51Z JakobDev JakobDev [email protected] tag:gitlab.com,2025-09-18:4631139070 JakobDev opened issue #1905: OpenSSL is not working with local root certificate at freedesktop-sdk / freedesktop-sdk 2025-09-18T15:38:06Z JakobDev JakobDev [email protected] tag:gitlab.com,2024-04-26:3323874106 JakobDev opened issue #31: jeepney throws `ConnectionResetError` on invalid `object_path` at Thomas Kluyver / jeepney 2024-04-26T09:29:05Z JakobDev JakobDev [email protected]

Please take a look at the following example code:

import jeepney.io.blocking
import jeepney


def main() -> None:
    address = jeepney.DBusAddress(
        bus_name="org.freedesktop.DBus",
        object_path="org/freedesktop/DBus",
        interface="org.freedesktop.DBus",
    )

    conn = jeepney.io.blocking.open_dbus_connection()
    req = jeepney.new_method_call(address, "ListNames", "", ())
    conn.send_and_get_reply(req)


if __name__ == "__main__":
    main()

If you run this code, it will crash with ConnectionResetError: [Errno 104] Connection reset by peer. The reason for that is simple: The object_path is missing a slash at the start. But instead of communicating that to the User, jeepney just shows a random error. I faced this problem in a bigger problem and thought jeepney had a bug. Took a while to realize the problem was on my side. jeepny should throw a that clearly state what the problem is.

tag:gitlab.com,2023-11-24:2993414712 JakobDev commented on issue #1671 at freedesktop-sdk / freedesktop-sdk 2023-11-24T11:17:59Z JakobDev JakobDev [email protected]

Maybe each package could have it's own user-site in ./var/app/<appid>?

tag:gitlab.com,2023-11-14:2970899032 JakobDev pushed to project branch pythonnousersite at JakobDev / freedesktop-sdk 2023-11-14T15:58:55Z JakobDev JakobDev [email protected]

JakobDev (8f3f86d6) at 14 Nov 15:58

Fix syntax

tag:gitlab.com,2023-11-14:2970484765 JakobDev opened merge request !16195: Add PYTHONNOUSERSITE environment variable at freedesktop-sdk / freedesktop-sdk 2023-11-14T14:18:16Z JakobDev JakobDev [email protected]

See #1671

tag:gitlab.com,2023-11-14:2970480653 JakobDev pushed to project branch pythonnousersite at JakobDev / freedesktop-sdk 2023-11-14T14:17:14Z JakobDev JakobDev [email protected]

JakobDev (eedff97d) at 14 Nov 14:17

Add PYTHONNOUSERSITE environment variable

tag:gitlab.com,2023-11-14:2970471811 JakobDev pushed new project branch pythonnousersite at JakobDev / freedesktop-sdk 2023-11-14T14:14:53Z JakobDev JakobDev [email protected]

JakobDev (980a2033) at 14 Nov 14:14

tag:gitlab.com,2023-11-14:2970468930 JakobDev created project JakobDev / freedesktop-sdk 2023-11-14T14:14:08Z JakobDev JakobDev [email protected] tag:gitlab.com,2023-11-14:2970286544 JakobDev commented on issue #1671 at freedesktop-sdk / freedesktop-sdk 2023-11-14T13:16:00Z JakobDev JakobDev [email protected]

Runtimes can set env vars. Se we could set PYTHONNOUSERSITE=1 on runtime level.I don't know where the finish-args are set here, so i can't make a patch.

tag:gitlab.com,2023-11-13:2966971941 JakobDev commented on issue #1671 at freedesktop-sdk / freedesktop-sdk 2023-11-13T09:56:58Z JakobDev JakobDev [email protected]

That's not a good solution. Not everyone knows about this problem. This can cause bugs that are hard to reproduce by developers e.g. You get a bug report, but this bug is caused by older version of a lib which was loaded from user home. I think Python should be configured by default to don't load packages from user home.

tag:gitlab.com,2023-11-02:2945857595 JakobDev opened issue #1671: Python tries to import packages from the host at freedesktop-sdk / freedesktop-sdk 2023-11-02T10:13:25Z JakobDev JakobDev [email protected]

See the following output which shows the problem:

$ flatpak run --command=python --filesystem=host:ro org.freedesktop.Platform//23.08
Python 3.11.5 (main, Nov 10 2011, 15:00:00) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path
['', '/usr/lib/python311.zip', '/usr/lib/python3.11', '/usr/lib/python3.11/lib-dynload', '/home/jakob/.local/lib/python3.11/site-packages', '/app/lib/python3.11/site-packages', '/usr/lib/python3.11/site-packages']
>>> 

As you can see, ~/.local/lib/python3.11/site-packages is before /app/lib/python3.11/site-packages in sys.path when the Flatpak has access to it. sys.path is the order, in which Python tries to import packages.

If a Flatpak comes with the Python package foo, but the User has also installed foo on his local System, Python will try to import foo from the local System and not from the Flatpak. This can result in broken Applications, as the version of foo from the local System might not be compatible with the version in the Flatpak.

tag:gitlab.com,2023-10-18:2912997582 JakobDev commented on issue #1641 at freedesktop-sdk / freedesktop-sdk 2023-10-18T13:57:27Z JakobDev JakobDev [email protected]

I can't find gamemode in the runtime

tag:gitlab.com,2023-06-23:2673022056 JakobDev opened issue #1611: Patch ffmpeg to include AVSTream at freedesktop-sdk / freedesktop-sdk 2023-06-23T09:55:28Z JakobDev JakobDev [email protected]

Context

While working on a 6.5 branch for QtWebEngine I got this error: QtWebEngine will not be built: Unmodified ffmpeg >= 5.0 is not supported.. I searched for the reason for this and found this commit. It explains that Chromium needs AVSTream, which is no longer part of ffmpeg 5.0, but some distros patch it in.

Description

There are many Flatpak Apps that uses Chromium. The commit message explains that Chromium needs AVStream, so all Flatpak Apps which use Chromium (mostly through a WebView) are affected. SO I think it makes sense to ship this Patch with the Freedesktop Runtime instead of letting every App that uses a WebView ship a custom ffmpeg version.