From: OpenSync <dg...@su...> - 2008-09-27 16:35:59
|
#284: Add synchronisation with Thunderbird/Lighting ----------------------------+----------------------------------------------- Reporter: nikos | Owner: henrik Type: enhancement | Status: new Priority: normal | Milestone: 0.42 Component: Plugin: others | Version: 0.33 Severity: normal | Resolution: Keywords: | ----------------------------+----------------------------------------------- Comment (by oxe1976): Hi, great. I currently try the mozilla-sync plugin. I was able to build and run libopensync-0.37, libopensync-plugin-file-0.37 and msynctool-0.37. I also build the mozilla-sync plugin (SVN from today) and I was able to run it (so, no unresolved dependencies, library issues etc.) I wanted to sync my address book with a file, I did the following: {{{ msynctool --addgroup file2file msynctool --addmember file2file file-sync msynctool --addmember file2file mozilla-sync msynctool --configure file2file 1 msynctool --configure file2file 2 }}} Configuring is fine, I guess. But the sync aborts with error: {{{ mozilla-sync.cpp(1140)get_sync_info ---> (0x8055200, 0xbff58994) mozilla-sync.cpp(1159)get_sync_info <--- TRUE Synchronizing group "file2file" The previous synchronization was unclean. Slow-syncing mozilla-sync.cpp(1140)get_sync_info ---> (0x80f6fb8, 0xbff58994) mozilla-sync.cpp(1159)get_sync_info <--- TRUE mozilla-sync.cpp(1140)get_sync_info ---> (0x8148df0, 0xb5797238) mozilla-sync.cpp(1159)get_sync_info <--- TRUE mozilla-sync.cpp(951)mozilla_sync_initialize ---> (0x813ad80, 0x8148d20, 0xb5797238) mozilla-sync.cpp(953)mozilla_sync_initialize: Initial mozilla-sync.cpp(957)mozilla_sync_initialize: Initializing OSyncMozillaEnv mozilla-sync.cpp(964)mozilla_sync_initialize: Reading configuration Parsing configuration Checking configuration file Warning: Cannot check calendar id Configuration file checked mozilla-sync.cpp(982)mozilla_sync_initialize: Creating OSyncMozillaDatabase for Thunderbird addressbook mozilla-sync.cpp(1004)mozilla_sync_initialize: Creating OSyncMozillaDatabase for Sunbird/Lightning calendar mozilla-sync.cpp(1024)mozilla_sync_initialize: Configuring formats for OSyncMozillaDatabases mozilla-sync.cpp(1028)mozilla_sync_initialize: Configuring formats for OSyncMozillaDatabase #0 mozilla-sync.cpp(1028)mozilla_sync_initialize: Configuring formats for OSyncMozillaDatabase #1 mozilla-sync.cpp(887)addCapabilityEvent: Capability: [event] [DateStarted] mozilla-sync.cpp(887)addCapabilityEvent: Capability: [event] [Status] mozilla-sync.cpp(887)addCapabilityEvent: Capability: [event] [Class] mozilla-sync.cpp(887)addCapabilityEvent: Capability: [event] [Priority] mozilla-sync.cpp(887)addCapabilityEvent: Capability: [event] [DateEnd] mozilla-sync.cpp(887)addCapabilityEvent: Capability: [event] [Summary] mozilla-sync.cpp(887)addCapabilityEvent: Capability: [contact] [Title] mozilla-sync.cpp(887)addCapabilityEvent: Capability: [contact] [EMail] mozilla-sync.cpp(887)addCapabilityEvent: Capability: [contact] [FormattedName] mozilla-sync.cpp(887)addCapabilityEvent: Capability: [contact] [Url] mozilla-sync.cpp(887)addCapabilityEvent: Capability: [contact] [Note] mozilla-sync.cpp(887)addCapabilityEvent: Capability: [contact] [Name] mozilla-sync.cpp(887)addCapabilityEvent: Capability: [contact] [Address] mozilla-sync.cpp(887)addCapabilityEvent: Capability: [contact] [Telephone] mozilla-sync.cpp(887)addCapabilityEvent: Capability: [contact] [Organization] mozilla-sync.cpp(1092)mozilla_sync_initialize <--- (0x8138de8) mozilla-sync.cpp(1140)get_sync_info ---> (0x8156898, 0xb2f92238) mozilla-sync.cpp(1159)get_sync_info <--- TRUE mozilla-sync.cpp(764)mozilla_sync_connect ---> (0x8138de8, 0x8148d20, 0x8155320) mozilla-sync.cpp(782)mozilla_sync_connect: Initializing hashtable [/home/.../.opensync/group4/2/hashtable.db] mozilla-sync.cpp(798)mozilla_sync_connect: Anchor database [/home/.../.opensync/group4/2/anchor.db] key [ThunderbirdAddressbook] value [/home/.../.thunderbird/Profiles/0m5o8u4u.default/abook.mab] mozilla-sync.cpp(802)mozilla_sync_connect: Did not find key with value; so force slow sync mozilla-sync.cpp(807)mozilla_sync_connect: Initializing Mozilla Initializing XPCOM Getting GRE path GRE path: [/usr/lib/thunderbird] Creating nsProfileDirServiceProvider NS_InitXPCOM2 contact sink of member 1 of type file-sync just connected Main sink of member 1 of type file-sync just connected XPCOM initialized Registering GRE services AutoRegister failed. Continuing anyway... GRE component path: [/usr/lib/thunderbird/components] GRE services registered Getting version info Unable to get XULAppInfo Unable to get ExtensionManager mozilla-sync.cpp(818)mozilla_sync_connect: Initializing Thunderbird address book Getting addressbook mozilla-sync.cpp(821)mozilla_sync_connect: ****** Init(71): [do_GetService] returned [0x080040154] contact sink of member 2 of type mozilla-sync had an error: Init(71): [do_GetService] returned [0x080040154] Main sink of member 2 of type mozilla-sync just connected The sync failed: No objtypes left without error. Aborting contact sink of member 1 of type file-sync just disconnected Main sink of member 1 of type file-sync just disconnected Main sink of member 2 of type mozilla-sync just disconnected mozilla-sync.cpp(1118)mozilla_sync_finalize ---> (0x8138de8) mozilla-sync.cpp(1125)mozilla_sync_finalize <--- ERROR: No objtypes left without error. Aborting }}} Maybe I look to the code later, but maybe some of you already have a hint for me. Sorry, when this is the wrong place to post it... Thanks -- Ticket URL: <http://www.opensync.org/ticket/284#comment:11> OpenSync <http://www.opensync.org> A Synchronization Framework |