**** BEGIN LOGGING AT Sun Apr 04 02:59:58 2010 Apr 04 17:25:46 jprvita[AFK], I found your website looking for dbus 1.3.0 for Ubuntu, did you packaged it for running oFono? Does it works well? Thank you in advance Apr 04 17:44:38 I run dbus 1.3 on Gentoo and it works fine Apr 04 17:45:23 well I have ubuntu 9.10 here and I can't run oFOno 0.20 Apr 04 17:45:37 I think this should be because I have dbus 1.2 here Apr 04 17:45:55 oFono still works with DBus pre 1.3 Apr 04 17:46:43 uhm... what do you think this problem could be? Apr 04 17:46:45 $ ofonod -n Apr 04 17:46:45 ofonod[28437]: oFono version 0.20 Apr 04 17:46:45 ofonod[28437]: Unable to hop onto D-Bus: Connection ":1.94" is not allowed to own the service "org.ofono" due to security policies in the configuration file Apr 04 17:46:45 ofonod[28437]: Exit Apr 04 17:47:03 I just compiled from Git Apr 04 17:47:09 You have not installed the dbus policy file Apr 04 17:47:17 Or you're not running ofono as root Apr 04 17:47:33 you mean the one in /etc/dbus-1/system.d? Apr 04 17:47:42 it's there and I'm running as root Apr 04 17:47:52 see src/ofono.conf Apr 04 17:48:05 Then an instance of oFono is already running Apr 04 17:48:48 But this is not a dbus version problem, either your ofono.conf is not configured or something else owns the service Apr 04 17:49:10 $ cat /etc/dbus-1/system.d/ofono.conf Apr 04 17:49:10 Apr 04 17:49:10 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> Apr 04 17:49:10 Apr 04 17:49:12 Apr 04 17:49:14 Apr 04 17:49:16 Apr 04 17:49:18 Apr 04 17:49:20 Apr 04 17:49:22 Apr 04 17:49:24 Apr 04 17:49:26 Apr 04 17:49:28 Apr 04 17:49:30 Apr 04 17:49:32 Apr 04 17:49:34 Apr 04 17:49:54 no, no other instance and modem.conf is phonesim enabled Apr 04 17:51:22 I don't know what else I can look :( Apr 04 17:52:09 the conf looks good, are you sure you're running as root? Apr 04 17:52:25 yes Apr 04 17:52:59 Then try restarting dbus daemon, otherwise I've no idea Apr 04 18:07:09 dbus restart crashed my system (I hate Ubuntu :@) but now it works, thank you denkenz Apr 04 18:13:59 funny :) Apr 04 18:15:13 yes too windows-like for me :P Apr 04 19:48:04 denkenz, the first version of the sqlite history is quite ready, I'm preparing the emails with patches Apr 04 19:48:11 I have just one question: Apr 04 19:48:52 I used as example the example_history in which there is this "if" statement: Apr 04 19:49:08 if (call->clip_validity == 0) Apr 04 19:49:08 from = phone_number_to_string(&call->phone_number); Apr 04 19:49:52 what's the meaning of the clip_validity field? Must I have to check this too as per the history example? Apr 04 20:13:50 So certain organizations like the police can see the number even if it is withheld Apr 04 20:15:20 so we convert the number only if we truly have it Apr 04 20:16:12 In general that situation is a corner case, so feel free to ignore it Apr 04 20:16:44 Probably never happens in real life ;) Apr 04 20:18:16 ok so I can simply remove the if statemente and convert the number, right? Apr 04 20:27:47 in theory Apr 04 22:25:30 Djdas: Coding style is not optional. Please follow the coding style used so far. It must be the same. Apr 04 22:29:42 sorry holtmann I used "indent linux" which other part should I check? Apr 04 22:30:08 No idea why it did this wrong, but it looks wrong. Apr 04 22:31:15 ops have you got a set of parameters to indent? Apr 04 22:33:05 Nope. I just code in the coding style anywya. Apr 04 22:33:44 uhm ok, I'll try to check and resend the patch Apr 04 22:34:12 could you please point me at something you see particularly wrong? Apr 04 22:34:26 just to understand better Apr 04 22:44:50 holtmann, I tried to reindent the first function, do you think it's ok? Apr 04 22:44:52 int check_db() Apr 04 22:44:53 { Apr 04 22:44:53 int ret_val = 0; Apr 04 22:44:53 ofono_debug("Checking if DB is empty"); Apr 04 22:44:53 if (sqlite3_table_column_metadata(db, NULL, "ofono_history_calls", Apr 04 22:44:53 "ohc_modem_path", NULL, NULL, NULL, Apr 04 22:44:55 NULL, NULL) != SQLITE_OK) { Apr 04 22:44:57 char *systemcmd; Apr 04 22:44:59 systemcmd = Apr 04 22:45:01 g_strdup_printf("sqlite3 -batch %s < %s", Apr 04 22:45:03 SQL_HISTORY_DB_PATH, SQL_HISTORY_DB_SQL); Apr 04 22:45:05 ofono_debug("Initializing DB: %s", systemcmd); Apr 04 22:45:07 ret_val = system(systemcmd); Apr 04 22:45:09 g_free(systemcmd); Apr 04 22:45:11 } Apr 04 22:45:13 return ret_val; Apr 04 22:45:15 } Apr 04 22:47:03 I does't look okay. You are mixing tabs and whitespaces. Apr 04 22:47:34 I haven't looked at the patch at all, but the tabs vs space issues was obvious. Apr 04 22:47:53 uhm, ok I'll recheck indentation maybe there is something wrong with my indent command Apr 04 22:48:01 thank you very much Apr 04 22:48:11 bye **** ENDING LOGGING AT Mon Apr 05 02:59:56 2010