[fso] opimd?

Sebastian Krzyszkowiak seba.dos1 at gmail.com
Sun Aug 16 19:10:01 CEST 2009


On 8/16/09, arne anka <openmoko at ginguppin.de> wrote:
>> First of all: you have to turn on opimd in frameworkd.conf.
>> It stores automatically calls (that's how pyphonelog works), you just
>> need to have default backend specified for domain Calls.
>> The same for messages, but it stores smses only when some other
>> backend than SIM-Messages-FSO is specified as default.
>
>
> well, my framework.conf reads
>
> [opimd]
> contacts_default_backend = CSV-Contacts
> messages_default_backend = SIM-Messages-FSO
> messages_default_folder = Unfiled
> messages_trash_folder = Trash
> sim_messages_default_folder = SMS
> rootdir =
> ../etc/freesmartphone/opim:/etc/freesmartphone/opim:/usr/etc/freesmartphone/opim
>
> [opimd.opimd]
>
> is there anything else to be set?
> disable=0
> maybe?
>
> or, quick idea, does it clash with phonelogd running?
>
> framework's log shows
>
> 2009.07.28 23:06:41.64 frameworkd.subsystem INFO     Scanned subsystem via
> method 'auto', result i
> s ['pimb_csv_contacts.pyc', 'pimb_sqlite_contacts.py',
> 'pimb_sqlite_contacts.pyc', 'pimb_sqlite_me
> ssages.py', '__init__.py', 'pimd_calls.pyc', 'pimb_ogsmd_calls.pyc',
> 'pimb_sqlite_calls.pyc', 'pim
> d_messages.py', 'pimb_ogsmd_calls.py', 'opimd.pyc', 'helpers.pyc',
> 'pimd_messages.pyc', 'pimb_sqli
> te_messages.pyc', '__init__.pyc', 'pimb_sim_messages_fso.pyc',
> 'pimb_sim_contacts_fso.pyc', 'opimd
> .py', 'pimd_contacts.py', 'domain_manager.py', 'pimb_sim_contacts_fso.py',
> 'pimd_contacts.pyc', 'p
> imb_sqlite_calls.py', 'backend_manager.pyc', 'backend_manager.py',
> 'domain_manager.pyc', 'pimb_sim
> _messages_fso.py', 'pimb_csv_contacts.py', 'pimd_calls.py', 'helpers.py']
> 2009.07.28 23:06:43.739 opimd                INFO     Registered domain
> Contacts
> 2009.07.28 23:06:43.772 opimd                INFO     Registered domain
> Messages
> 2009.07.28 23:06:43.800 opimd                INFO     Registered domain
> Calls
> 2009.07.28 23:06:43.838 opimd                INFO     Registered backend
> SIM-Contacts-FSO
> 2009.07.28 23:06:43.909 opimd                INFO     Registered backend
> SIM-Messages-FSO
> 2009.07.28 23:06:43.925 opimd                INFO     Registered backend
> CSV-Contacts
> 2009.07.28 23:06:44.29 opimd                INFO     Registered backend
> SQLite-Contacts
> 2009.07.28 23:06:44.100 opimd                INFO     Registered backend
> SQLite-Messages
> 2009.07.28 23:06:44.161 opimd                INFO     Registered backend
> SQLite-Calls
> 2009.07.28 23:06:44.209 opimd                INFO     Registered backend
> ogsmd-Calls
> 2009.07.28 23:06:44.929 opimd                ERROR    Error opening
> /etc/freesmartphone/opim/csv-contacts.txt
> 2009.07.28 23:06:45.683 opimd                ERROR    Could not load
> entries for backend ogsmd-Calls!
> 2009.07.28 23:06:45.966 frameworkd.subsystem INFO     subsystem opimd took
> 5.00 seconds to start
>
> there's no csv-contacs.txt, since i
> a) don't know what format it should be in
> b) don't think a file like that should be in a global place like /etc at
> all.

csv-contacts.txt is created automatically when storing first contact
with that backend.

For letting Calls domain to work, add:
calls_default_backend = SQLite-Calls

BTW. You should upgrade your configs when you are upgrading
applications (or if you're using om2009, then tell it to distro
maintainers) ;P

-- 
Sebastian Krzyszkowiak
dos



More information about the community mailing list