[Gambas-bugtracker] Bug #1927: gb.dbus Component DBusApplication Introspection Empty on Fedora
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Sun Oct 25 00:25:38 CEST 2020
http://gambaswiki.org/bugtracker/edit?object=BUG.1927&from=L21haW4-
REALITYRIPPLE reported a new bug.
Summary
-------
gb.dbus Component DBusApplication Introspection Empty on Fedora
Type : Bug
Priority : Medium
Gambas version : Master
Product : Unknown
Description
-----------
Fedora Workstation seems to be causing a silent failure somewhere during the assemblage of the Introspection in an DBusApplication and its constituent elements, such as DBusProxy. The example code I'm using to test is extremely simple:
Print DBus["org.freedesktop.DBus"]._Introspect("/")
The result should be a populated introspection XML string, with all the interfaces and their methods and signals listed. However, when testing on Fedora Workstation 31 and 32, the result is interface-less:
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
<node name="org/freedesktop/DBus"/>
</node>
This, of course, results in all kinds of runtime issues when trying to call any of the methods that should exist on the interfaces, because they're not being listed. I've checked the outputs from "dbus-send" on Fedora and matched them to other OSs (Ubuntu and such), and the results of the actual requests I made seem to be identical, but I don't know all the details of how the introspection is put together in Gambas.
If I'm just missing an init call of some sort, that'd be a relief, but since it only seems to be an issue on Fedora, I'm worried it's probably a real bug.
System information
------------------
Gambas 3.15.2
Fedora Workstation x86_64 31-1.9 and 32-1.6
More information about the Bugtracker
mailing list