|
From: Luiz A. D. de L. <lui...@gm...> - 2011-07-12 07:48:03
|
Hello, I'm getting a strange error on file-sync (and also in my ruby version of it) on a simple files-to-files test: Main sink of member 1 of type file-sync had an error: Unable to find engine which can handle objtype data According to http://www.opensync.org/wiki/glossary, "Conversion can change the format of an object but never its type." Is this still true? While debuging, I found out that file-sync, plain and the conversions between them (and also my ruby version of them), uses objtype = 'data'. 'data' must be some special wildcard objtype because its conversion matches my data defined as 'contact'. However at opensync/opensync/format/opensync_converter.c:222, it sets the data objtype to match the converter one. osync_data_set_objtype(data, osync_objformat_get_objtype(converter->target_format)); The result is that data, after conversion, gets the correct format ('plain') but uses an incorrect objtype ('data'). I guess the coverted data objtype should come from somewhere else, copying same objtype from the original data. Who is wrong? opensync? file-sync? myself :-)? Thanks, --- Luiz Angelo Daros de Luca, Me. lui...@gm... |