[sync] Sync from funambol/pocket pc requests a"configuration" database
Trent Gemmill
trent at trentnet.net
Thu Sep 11 10:32:22 UTC 2008
Thanks,
Horde allows syncing to a fer select "databases" (calender, tasks, etc).
My uneducated guess is that funambol on windows mobile generates a
"configuration" sync request automatically to sync something internal.
Horde crashes when this happens and the funambol client can't even have
it's setting s changed ( a poor design on their part). I through in a
statement telling horde their was a "configuration" just like there
is a calendar, contacts and tasks and now the phone thins it is synced.
I hypothesize that when horde prematurely ends the sync process (because
of my hacking) that it somehow prevents syncing of the other information
from being finalized.
There seems to be no way of getting the funambol client to stop sending
that request.
Gunnar Wrobel wrote:
> Quoting "Trent Gemmill" <trent at trentnet.net>:
>
>> I am running fedora 7 using the latest "stable" versions of horde,
>> funambol connector for pocket pc, as well as the funambol connector
>> for mozilla.
>> Sync between pocket pc - funambol server - mozilla works fine.
>> Sync between horde - thunderbird works fine.
>> when syncing the pocket pc against horde, it fails with:
>>
>> HORDE [error] [horde] Invalid database configuration. Try tasks,
>> calendar, notes or contacts. [pid 11434 on line 467 of
>> "/var/www/html/horde/li...
>
> I don't know the PocketPC but usually the SyncML clients allow you to
> set the database name you want to synchronize with. In your case you
> try to snychronize a database called "configuration". Either that is
> an incorrect setting or something not supported by Horde.
>
> Horde can currently sync tasks, calendar, notes or contacts (just as
> the error message states).
>
> Cheers,
>
> Gunnar
>
>>
>> I added 'configuration' in backend.php(just as a guess):
>>
>> function isValidDatabaseURI($databaseURI)
>> {
>> $database = $this->_normalize($databaseURI);
>>
>> switch($database) {
>> case 'tasks';
>> case 'calendar';
>> case 'notes';
>> case 'contacts';
>> case 'configuration';
>> return true;
>>
>> default:
>> this allowed the sync to continue without locking up, however (of
>> course) i get the error message:
>>
>> HORDE [error] [horde] The method "configuration/listBy" is not
>> defined in the Horde Registry. [pid 14050 on line 533 of
>> "/var/www/html/horde/li...
>>
>> Interestingly the pocket pc thinks it synced fine, and seems to
>> believe it has recieved some data, but niether horde nor the phone
>> have any changes in their data
>>
>> I have /tmp/sync data if it is at all of interest.
>>
>> Thank you for any assistance you might be able to give.
>>
>> Trent
>> --
>> sync mailing list - Join the hunt: http://horde.org/bounties/#sync
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: sync-unsubscribe at lists.horde.org
>>
>
>
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> --
> sync mailing list - Join the hunt: http://horde.org/bounties/#sync
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: sync-unsubscribe at lists.horde.org
More information about the sync
mailing list