From: Zach B. <zb...@fo...> - 2005-08-18 21:26:01
|
Hi all, I've been trying to set up opensync for the last couple of days, using the instructions at SetupGuide in the wiki. Creating the group and adding members seems to work just fine, but when I try to configure them, this happens: $ msynctool --showgroup filefile Groupname: filefile Member 1: file-sync Member 2: file-sync $ msynctool --configure filefile 1 Unable to get configdata for member 1: Member has not instanced a plugin yet Turning on tracing reveals that this error comes from osync_member_get_config, but looking at the code, I was unable to figure out what was going wrong. I've tried using versions 0.16, 0.17 and svn revision 597, and they all give the same error. I'd be very appreciative for any help you might be able to give me. Opensync looks like a really nice project, and I'm anxious to play with it :o) Thanks, Zach Bean -- And I say, Give me back my memory, or I'll rip you into three boy scouts and a watchband! ---Aaron in "Remind Me Again" ------------------------------------------------------------------------ Zach Bean, zb...@fo..., we...@fo... http://www.forty2.com |
From: Armin B. <arm...@de...> - 2005-08-18 21:54:07
Attachments:
signature.asc
|
Zach Bean wrote: > Hi all, > > I've been trying to set up opensync for the last couple of days, using > the > instructions at SetupGuide in the wiki. Creating the group and adding > members seems to work just fine, but when I try to configure them, this > happens: > > $ msynctool --showgroup filefile > Groupname: filefile > Member 1: file-sync > Member 2: file-sync > $ msynctool --configure filefile 1 > Unable to get configdata for member 1: Member has not instanced a plugin > yet > > Turning on tracing reveals that this error comes from > osync_member_get_config, but looking at the code, I was unable to figure > out what was going wrong. > > I've tried using versions 0.16, 0.17 and svn revision 597, and they all > give the same error. > > I'd be very appreciative for any help you might be able to give me. > Opensync looks like a really nice project, and I'm anxious to play with > it > :o) > Hi, Glad to hear you like opensync. :) Please send me the traces so i can take a look Armin > Thanks, > Zach Bean > |
From: Zach B. <zb...@fo...> - 2005-08-18 22:09:46
Attachments:
Thread16384.log
|
Quoting Armin Bauer <arm...@de...>: > Glad to hear you like opensync. :) > > Please send me the traces so i can take a look. I've attached the trace file for you. Thanks a lot for your help! Zach -- And I say, Give me back my memory, or I'll rip you into three boy scouts and a watchband! ---Aaron in "Remind Me Again" ------------------------------------------------------------------------ Zach Bean, zb...@fo..., we...@fo... http://www.forty2.com |
From: Armin B. <arm...@de...> - 2005-08-19 15:03:00
Attachments:
signature.asc
|
Hi Zach, i found the error. you are using a old version if the msynctool. Please update multisync 0.90. The version you are using is calling osync_member_get_config which means that it only tries to read the config from the member. But there cannot be a config at this time since you are trying to configure it. The new version calls osync_member_get_config_or_default. Armin Zach Bean wrote: > Quoting Armin Bauer <arm...@de...>: > > >>Glad to hear you like opensync. :) >> >>Please send me the traces so i can take a look. > > > I've attached the trace file for you. Thanks a lot for your help! > > Zach > > > > > ------------------------------------------------------------------------ > > [1124402376.204030] >>>>>>> osync_env_initialize(0x804d5d0, 0xbffffd18) > [1124402376.204603] >>>>>>> osync_env_load_plugins(0x804d5d0, (null), 0xbffffd18) > [1124402376.221605] >>>>>>> osync_module_load_dir(0x804d5d0, /usr/local/lib/opensync/plugins, 0xbffffd18) > [1124402376.276758] >>>>>>> osync_module_load(0x804d5d0, /usr/local/lib/opensync/plugins/file_sync.so, 0xbffffc54) > [1124402376.850702] osync_plugin_new_info(0x804d5d0): 0x8051910 > [1124402376.851245] <<<<<<< osync_module_load: 0x8051040 > [1124402376.851886] >>>>>>> osync_module_load(0x804d5d0, /usr/local/lib/opensync/plugins/syncml_plugin.so, 0xbffffc54) > [1124402377.599342] osync_plugin_new_info(0x804d5d0): 0x8054058 > [1124402377.599825] <<<<<<< osync_module_load: 0x8050fd0 > [1124402377.600429] <<<<<<< osync_module_load_dir > [1124402377.600907] <<<<<<< osync_env_load_plugins > [1124402377.601201] >>>>>>> osync_env_load_formats(0x804d5d0, (null), 0xbffffd18) > [1124402377.601576] >>>>>>> osync_module_load_dir(0x804d5d0, /usr/local/lib/opensync/formats, 0xbffffd18) > [1124402377.623209] >>>>>>> osync_module_load(0x804d5d0, /usr/local/lib/opensync/formats/xml-vcard.so, 0xbffffc54) > [1124402377.698760] osync_env_format_set_compare_func(0x804d5d0, xml-contact, 0x4064b670) > [1124402377.699365] <<<<<<< osync_module_load: 0x8054850 > [1124402377.700368] >>>>>>> osync_module_load(0x804d5d0, /usr/local/lib/opensync/formats/xml-vcal.so, 0xbffffc54) > [1124402377.758347] osync_env_format_set_compare_func(0x804d5d0, xml-event, 0x40659ad0) > [1124402377.759017] osync_env_format_set_compare_func(0x804d5d0, xml-todo, 0x40659ba0) > [1124402377.759317] <<<<<<< osync_module_load: 0x8054d68 > [1124402377.760077] >>>>>>> osync_module_load(0x804d5d0, /usr/local/lib/opensync/formats/xml-evolution.so, 0xbffffc54) > [1124402378.112218] <<<<<<< osync_module_load: 0x8054e50 > [1124402378.112672] >>>>>>> osync_module_load(0x804d5d0, /usr/local/lib/opensync/formats/xml-vnote.so, 0xbffffc54) > [1124402378.301576] osync_env_format_set_compare_func(0x804d5d0, xml-note, 0x40673d20) > [1124402378.301907] <<<<<<< osync_module_load: 0x80558e0 > [1124402378.302917] >>>>>>> osync_module_load(0x804d5d0, /usr/local/lib/opensync/formats/xml-kde.so, 0xbffffc54) > [1124402378.344725] <<<<<<< osync_module_load: 0x8055da0 > [1124402378.485883] >>>>>>> osync_module_load(0x804d5d0, /usr/local/lib/opensync/formats/data.so, 0xbffffc54) > [1124402378.503252] osync_env_format_set_compare_func(0x804d5d0, plain, 0x4009c9e0) > [1124402378.503744] <<<<<<< osync_module_load: 0x8055f38 > [1124402378.504648] >>>>>>> osync_module_load(0x804d5d0, /usr/local/lib/opensync/formats/event.so, 0xbffffc54) > [1124402378.659179] osync_env_format_set_compare_func(0x804d5d0, vevent10, 0x40603b20) > [1124402378.659470] osync_env_format_set_compare_func(0x804d5d0, vevent20, 0x40603b20) > [1124402378.659686] <<<<<<< osync_module_load: 0x8056388 > [1124402378.660085] >>>>>>> osync_module_load(0x804d5d0, /usr/local/lib/opensync/formats/todo.so, 0xbffffc54) > [1124402378.797035] osync_env_format_set_compare_func(0x804d5d0, vtodo10, 0x40685b20) > [1124402378.797442] osync_env_format_set_compare_func(0x804d5d0, vtodo20, 0x40685b20) > [1124402378.797777] <<<<<<< osync_module_load: 0x80568f0 > [1124402378.798468] >>>>>>> osync_module_load(0x804d5d0, /usr/local/lib/opensync/formats/contact.so, 0xbffffc54) > [1124402378.896195] osync_env_format_set_compare_func(0x804d5d0, vcard21, 0x40688c00) > [1124402378.896601] osync_env_format_set_compare_func(0x804d5d0, vcard30, 0x40688c00) > [1124402378.896954] <<<<<<< osync_module_load: 0x8056e48 > [1124402378.897838] >>>>>>> osync_module_load(0x804d5d0, /usr/local/lib/opensync/formats/note.so, 0xbffffc54) > [1124402378.965804] osync_env_format_set_compare_func(0x804d5d0, vnote11, 0x404d6b90) > [1124402378.966206] <<<<<<< osync_module_load: 0x8057418 > [1124402378.966679] >>>>>>> osync_module_load(0x804d5d0, /usr/local/lib/opensync/formats/file.so, 0xbffffc54) > [1124402379.128131] osync_env_format_set_compare_func(0x804d5d0, file, 0x4068bde0) > [1124402379.128593] <<<<<<< osync_module_load: 0x80578e0 > [1124402379.129161] <<<<<<< osync_module_load_dir > [1124402379.129479] <<<<<<< osync_env_load_formats > [1124402379.137431] [OSUSR] DEBUG: Detected User: > UID: 1001 > GID: 1001 > Home: /home/zb > OSyncDir: /home/zb/.opensync > [1124402379.138486] >>>>>>> osync_group_load(0x804d5d0, /home/zb/.opensync/group1, 0xbffffc84) > [1124402379.138700] [OSGRP] DEBUG: Trying to load group from directory /home/zb/.opensync/group1 > [1124402379.138937] >>>>>>> osync_conv_env_new(0x804d5d0) > [1124402379.139351] New converter from vcard21 to xml-contact > [1124402379.139635] New converter from xml-contact to vcard21 > [1124402379.140111] New converter from vcard30 to xml-contact > [1124402379.140557] New converter from xml-contact to vcard30 > [1124402379.141203] New converter from vevent10 to xml-event > [1124402379.141577] New converter from xml-event to vevent10 > [1124402379.141897] New converter from vevent20 to xml-event > [1124402379.142254] New converter from xml-event to vevent20 > [1124402379.142588] New converter from vtodo10 to xml-todo > [1124402379.142903] New converter from xml-todo to vtodo10 > [1124402379.143360] New converter from vtodo20 to xml-todo > [1124402379.143720] New converter from xml-todo to vtodo20 > [1124402379.144052] New converter from vnote11 to xml-note > [1124402379.144359] New converter from xml-note to vnote11 > [1124402379.144663] New converter from file to plain > [1124402379.144865] New converter from plain to file > [1124402379.145206] <<<<<<< osync_conv_env_new: 0x804f1f8 > [1124402381.20295] >>>>>>> osync_member_load(0x804f098, /home/zb/.opensync/group1/1, 0xbffffc84) > [1124402381.227923] <<<<<<< osync_member_load: Loaded member: 0x8059560 > [1124402381.228301] >>>>>>> osync_member_load(0x804f098, /home/zb/.opensync/group1/2, 0xbffffc84) > [1124402381.229483] <<<<<<< osync_member_load: Loaded member: 0x8059a20 > [1124402381.229801] <<<<<<< osync_group_load > [1124402381.230093] <<<<<<< osync_env_initialize > [1124402381.230495] >>>>>>> osync_member_get_config(0x8059560, 0xbffffcb0, 0xbffffcb4, 0xbffffcb8) > [1124402381.230754] <--- ERROR --- osync_member_get_config: Member has not instanced a plugin yet > [1124402381.231699] >>>>>>> osync_env_finalize(0x804d5d0, 0xbffffd18) > [1124402381.231960] osync_plugin_free(0x8051910) > [1124402381.232160] osync_plugin_free(0x8054058) > [1124402381.232485] osync_module_unload(0x804d5d0, 0x8051040) > [1124402381.232719] osync_module_unload(0x804d5d0, 0x8050fd0) > [1124402381.232944] osync_module_unload(0x804d5d0, 0x8054850) > [1124402381.233163] osync_module_unload(0x804d5d0, 0x8054d68) > [1124402381.233482] osync_module_unload(0x804d5d0, 0x8054e50) > [1124402381.233687] osync_module_unload(0x804d5d0, 0x80558e0) > [1124402381.233885] osync_module_unload(0x804d5d0, 0x8055da0) > [1124402381.234095] osync_module_unload(0x804d5d0, 0x8055f38) > [1124402381.234306] osync_module_unload(0x804d5d0, 0x8056388) > [1124402381.234515] osync_module_unload(0x804d5d0, 0x80568f0) > [1124402381.234729] osync_module_unload(0x804d5d0, 0x8056e48) > [1124402381.234937] osync_module_unload(0x804d5d0, 0x8057418) > [1124402381.235134] osync_module_unload(0x804d5d0, 0x80578e0) > [1124402381.235483] <<<<<<< osync_env_finalize |
From: Zach B. <zb...@fo...> - 2005-08-19 17:06:03
|
Quoting Armin Bauer <arm...@de...>: > Hi Zach, > > i found the error. you are using a old version if the msynctool. > Please > update multisync 0.90. Oops... I can't believe I did that... it works great now. Sorry for wasting your time :o) Zach -- And I say, Give me back my memory, or I'll rip you into three boy scouts and a watchband! ---Aaron in "Remind Me Again" ------------------------------------------------------------------------ Zach Bean, zb...@fo..., we...@fo... http://www.forty2.com |
From: Armin B. <arm...@de...> - 2005-08-19 17:50:37
Attachments:
signature.asc
|
No problem. :) I should really add a trace that dumps the version of all components so i see this more easy. A question to everybody: I would like to have a get_version() function on all components that returns the current version as a const char *. It should work like this: If it is build from a downloaded package it should return the version like "0.17". But if it is checked out from the svn repository it should return something like: "svn:$revision" where revision is well the revision where it was last checked out. Does anyone know how to do this? Armin Zach Bean wrote: > Quoting Armin Bauer <arm...@de...>: > > >>Hi Zach, >> >>i found the error. you are using a old version if the msynctool. >>Please >>update multisync 0.90. > > > Oops... I can't believe I did that... it works great now. > > Sorry for wasting your time :o) > > Zach > |
From: Eduardo P. H. <eha...@co...> - 2005-08-19 18:16:41
|
On Fri, Aug 19, 2005 at 07:49:52PM +0200, Armin Bauer wrote: > No problem. :) > I should really add a trace that dumps the version of all components so > i see this more easy. >=20 > A question to everybody: > I would like to have a get_version() function on all components that > returns the current version as a const char *. It should work like this: > If it is build from a downloaded package it should return the version > like "0.17". But if it is checked out from the svn repository it should > return something like: "svn:$revision" where revision is well the > revision where it was last checked out. > Does anyone know how to do this? I think that the main problem is that the keyword expansion of subversion doesn't have, AFAIK, a practical way to get the last revision of the a whole directory, instead of the last revision the file where the keyword is located. --=20 Eduardo |