Ticket #817 (closed defect: fixed)
Only use enabled Resources within Plugins (was: unable to discover syncml-plugin configuration)
| Reported by: | cstender | Owned by: | dgollub |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.38 |
| Component: | OpenSync | Version: | 0.37 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
I created a new group (syncml2file) and added syncml-obex-client and file-sync as members.
msynctool --showgroup syncml2file Group: syncml2file Member 2: file-sync Member 1: syncml-obex-client
syncml-obex-client.conf
<?xml version="1.0"?>
<config version="1.0">
<AdvancedOptions>
<AdvancedOption>
<DisplayName>WBXML compression</DisplayName>
<Name>WBXML</Name>
<Type>bool</Type>
<Value>1</Value>
</AdvancedOption>
<AdvancedOption>
<DisplayName>SyncML Version</DisplayName>
<Name>SANVersion</Name>
<Type>string</Type>
<ValEnum>1.0</ValEnum>
<ValEnum>1.1</ValEnum>
<ValEnum>1.2</ValEnum>
<Value>1.1</Value>
</AdvancedOption>
<AdvancedOption>
<DisplayName>Identifier</DisplayName>
<Name>Identifier</Name>
<Type>string</Type>
<Value>PC Suite</Value>
</AdvancedOption>
<AdvancedOption>
<DisplayName>Use Timestamp Anchor</DisplayName>
<Name>UseTimeAnchor</Name>
<Type>bool</Type>
<Value>1</Value>
</AdvancedOption>
</AdvancedOptions>
<Connection>
<Bluetooth>
<MAC>00:1E:3B:XX:XX:XX</MAC>
<RFCommChannel>11</RFCommChannel>
</Bluetooth>
</Connection>
<Resources>
<Resource>
<Enabled>1</Enabled>
<Formats>
<Format>
<Name>vcard21</Name>
</Format>
</Formats>
<Name>Contacts</Name>
<ObjType>contact</ObjType>
</Resource>
<Resource>
<Enabled>0</Enabled>
<Formats>
<Format>
<Name>vevent10</Name>
</Format>
</Formats>
<Name>Events</Name>
<ObjType>event</ObjType>
</Resource>
</Resources>
</config>
file-sync.conf
<?xml version="1.0"?>
<config version="1.0">
<Resources>
<Resource>
<Enabled>1</Enabled>
<Formats>
<Format>
<Name>file</Name>
</Format>
</Formats>
<ObjType>data</ObjType>
<Path>/tmp/file3</Path>
</Resource>
</Resources>
</config>
Now I tried 'msynctool --discover syncml2file' with the following result:
Discovered Objtypes:
data
Format: file
** ERROR **: file /home/cstender/OpenSync-sources/svn.opensync.org/plugins/syncml/src/syncml_common.c: line 244 (syncml_config_parse_database): assertion failed: (res)
aborting...
Abgebrochen
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

