[00:00:21] they also a speech to text and text to speech system [00:00:29] trained by the data of common oice [00:01:30] Default TTS is picowave, there are at least 4 others. [00:02:31] Biggest issue lately was wakeword detectors., but Mycroft, a server based VA, has a very nice sound recog detector. that I'm using [00:03:44] I guess you tried the things from here, right? https://wiki.navit-project.org/index.php/Dbus#set_destination [00:08:57] yeah unfortunately, error messages are either wrong number of positional parameters or tuple does not match your values and I am not going to say what the tuple looks like. Typical D-Bus response [00:10:35] it is packaging the data I am having trouble with. [00:10:40] bus_conn.set_destination("geo: -112.0 51.5") fails [00:10:56] bus_conn.set_position("geo: -112.0 51.5") [00:11:00] succeeds [00:11:28] Docs say they accept the same formats? [00:14:46] will try to compile navit here and also give it a shot [00:15:48] full meal deal [00:15:51] from pydbus import SessionBus, SystemBus from gi.repository import GLib bus = SessionBus() bus_conn = bus.get("org.navit_project.navit","/org/navit_project/navit/default_navit") print(bus_conn) bus_conn.zoom(-2) bus_conn.zoom(+2) bus_conn.set_center_by_string("geo: -112.0 52") bus_conn.set_position((1,-113.5,51.5)) bus_conn.set_destination((1,-114.0,53.0)) [00:20:59] from the code I dont see a reson why it should be treated differently [00:21:05] at least not on a first glance [00:21:27] you said set postion works but set destination does not? [00:22:02] > >>>bus_conn.set_position((1,-113.5,51.5)) > >>> bus_conn.set_destination((1,-114.0,53.0)) > Traceback (most recent call last): > File "", line 1, in > File "/usr/lib/python3.8/site-packages/pydbus/proxy_method.py", line 74, in call > self._iface_name, self.name, GLib.Variant(self._sinargs, args), GLib.VariantType.new(self._soutargs), > File [00:22:02] "/usr/lib/python3.8/site-packages/gi/overrides/GLib.py", line 189, in new > v = creator._create(format_string, value) > File "/usr/lib/python3.8/site-packages/gi/overrides/GLib.py", line 136, in _create > raise TypeError("Tuple mismatches value's number of elements %s %s" % (format, value)) > TypeError: Tuple mismatches value's number of elements ((iii)s) ((1, -114.0, 53.0),) > >>> [00:23:19] I don't know what I'm missing...... [00:23:31] this seems the file in which the binding is defined: https://github.com/navit-gps/navit/blob/trunk/navit/binding/dbus/binding_dbus.c [00:29:15] Do I have to do a GLib.Variant call like here? [00:29:18] print (bus_conn.Activate("show-contact", [GLib.Variant("(ss)", ("id","bb6465ee-7c6e-40ea-baa6-8af5c3b47cba"))], {("DESKTOP_APPLICATION_ID", GLib.Variant("s", "9870fd8f"))})) [00:29:28] try another string after the three numbers [00:29:45] tried that, multiple times, multiple ways [00:29:49] consdiering here: https://github.com/navit-gps/navit/blob/bab784a39a5d26827fcc76661eee3738e4b46c0e/navit/binding/dbus/binding_dbus.c#L2016 [00:33:31] my python is non-existent so I tried a uge number of variations what the data should look like. [00:33:53] {".navit", "set_destination", "(is)s", "(projection,coordinates)comment", "", "", request_navit_set_destination}, [00:34:01] what does (is)s look like? [00:34:12] uge = huge [00:56:34] Tried GLib.Variant, it complains invalid format. Me, I suspect invalid code since I wrote it [01:09:21] 3 extra lines in the set_destination. iter.next() failing since it is a single item list? [01:11:39] Back later [01:18:52] *** Quits: Horwitz (~mich1@p200300ec9f01e500022268fffe64e7c4.dip0.t-ipconnect.de) (Ping timeout: 244 seconds) [01:32:10] *** Joins: Horwitz (~mich1@p200300ec9f28d100022268fffe64e7c4.dip0.t-ipconnect.de) [01:32:10] *** ChanServ sets mode: +o Horwitz [03:16:27] *** Quits: ilovekiruna (~ilovekiru@2a02:8108:d00:110:d96c:93f4:8be1:474b) (Read error: Connection reset by peer) [03:47:51] yaw@orski [07:52:50] *** Quits: Peetz0r (~Peetz0r@2a02:58:42:4370:5054:ff:feba:29b6) (Ping timeout: 264 seconds) [08:00:48] *** Joins: Peetz0r (~Peetz0r@2a02:58:42:4370:5054:ff:feba:29b6) [12:55:15] *** Joins: ilovekiruna (~ilovekiru@2a02:8108:d00:110:d96c:93f4:8be1:474b) [12:55:15] *** ChanServ sets mode: +v ilovekiruna [13:37:47] *** Quits: Youte (~Youte@aannecy-651-1-83-125.w86-209.abo.wanadoo.fr) () [13:51:37] G'dag! [14:36:57] Hi Cyker [14:37:22] o/ [14:38:34] how are the things [14:39:09] busy [14:39:12] how about you? [14:40:02] not busy at all! [14:40:44] i think my brain is atrophying [14:40:49] :-o [14:40:52] lucky you [14:41:08] it#s not as great as it sounds [14:51:05] In such situations I often find something to do [15:14:55] are you a developer? [15:14:57] or a user? [22:55:23] *** Quits: ChanServ (ChanServ@services.) (*.net *.split) [23:01:41] *** Joins: ChanServ (ChanServ@services.) [23:01:41] *** orwell.freenode.net sets mode: +o ChanServ