<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
Good Day,<BR>
<BR>
May I ask you a question about the DBus interface of BibleTime?<BR>
I am interested in this interface so that Bibledit can use it to share its verse reference with BibleTime.<BR>
<BR>
The main problem is that I can't get it to work.<BR>
<BR>
There are various places in the code where the DBus is called from BibleTime. So far I have seen these bits:<BR>
<BR>
QDBusConnection::sessionBus().registerObject("/BibleTime", &bibleTime);<BR>
<BR>
Q_CLASSINFO("D-Bus Interface", "info.bibletime.BibleTime")<BR>
<BR>
If a client would like to cause BibleTime to scroll to, say, Genesis 2:4, then it looks like the following command would do it:<BR>
<BR>
syncAllVerseBasedModules Gen.2.4<BR>
<BR>
However, I can't get this to work through the DBus.<BR>
<BR>
I run the following command:<BR>
<BR>
dbus-send --print-reply --dest=/BibleTime info.bibletime.BibleTime info.bibletime.BibleTime.syncAllVerseBasedModules string:Gen.2.4<BR>
<BR>
This command gives error messages:<BR>
<BR>
process 23657: arguments to dbus_message_new_method_call() were incorrect, assertion "_dbus_check_is_valid_path (path)" failed in file dbus-message.c line 1074.<BR>
This is normally a bug in some application using the D-Bus library.<BR>
process 23657: arguments to dbus_message_set_auto_start() were incorrect, assertion "message != NULL" failed in file dbus-message.c line 2488.<BR>
This is normally a bug in some application using the D-Bus library.<BR>
Couldn't allocate D-Bus message<BR>
<BR>
It looks like it can't address a destination called "/BibleTime".<BR>
<BR>
Any help of how to cause BibleTime to scroll would be appreciated greatly. <BR>
<BR>
Thanks a lot,<BR>
<BR>
Teus Benschop<BR>
<BR>
</BODY>
</HTML>