Re: synce dont trigger msynctool

2009-07-16 Thread Mark Ellis
On Thu, 2009-07-16 at 01:38 +0200, Fernando Toledo wrote:
 hi!
  i have working synce with kontact and msynctool on debian testing
 but the sync button from my device don't trigger the AutoSync command
 the log says disable by config
 also, i can manual run msynctool --sync htc and works fine
 can have i a bad config?
 
 my config (~/.synce/syncengine.conf) has: 
 
 Autosync
 !--
 AutoSyncCommand
 The command run by SyncEngine in response to a device-triggered
 synchronization. It can be set to any executable program specified
 by the user. The default, in the absence of this element, is an
 empty path - nothing is run.
 --
 
 AutoSyncCommand/usr/bin/x-terminal-emulator -e /usr/bin/msynctool 
 --sync 
 htc/AutoSyncCommand
 
 !--
 Disable
 Enable or disables device-triggered synchronization. When this is '1',
 device-triggered synchronizations will have no effect and AutoSyncCommand
 will be ignored. If set to '0' and AutoSyncCommand contains a valid path,
 then hte executable specified in AutoSyncCommand will be run when the 
 handheld
 triggers an automatic synchronization.
 --
 
 !-- Disable0/Disable --
 

This line needs to be uncommented, the !-- -- are comment markers in
XML.

Mark

 /Autosync
 
 
 and the log say:
 
 
 2009-07-15 20:20:48,578 INFO engine.airsync.AirsyncServer : do_POST: received 
 Status command
 2009-07-15 20:20:48,579 DEBUG engine.airsync.AirsyncServer : _ProcessStatus: 
 request document is 
 ?xml version=1.0 encoding=utf-8?
 SyncStatus
   SyncBegin Partner= Datatype=/
 /SyncStatus
 
 2009-07-15 20:20:48,579 INFO engine.syncengine.kernel : 
 _CBStartDeviceTriggeredSync: monitoring auto sync with partnership P1: 
 id=0x597ea5b, guid={A44B321B-7117-15BB-CC27-F5DEBAF11830}, 
 hostname=ntbkragnarok, name=ntbkragnarok, sync_items=[ Files, Calendar, 
 Tasks, Contacts ]
 2009-07-15 20:20:48,580 INFO engine.syncengine.kernel : 
 _CBStartDeviceTriggeredSync: itemDB loaded
 2009-07-15 20:20:48,580 DEBUG engine.syncengine.kernel : 
 _CBStartDeviceTriggeredSync : device triggered sync disabled in config
 ^
 ** Message: Hal reports no devices connected
 2009-07-15 20:20:48,615 INFO engine.syncengine.kernel : Status: Emitting 
 StatusSyncStart signal
 2009-07-15 20:20:48,616 DEBUG engine.airsync.AirsyncServer : 
 _SendEmptyResponse: Emitting response 200 code to client
 2009-07-15 20:20:48,616 DEBUG engine.airsync.AirsyncServer : HTTP Request: 
 POST /Microsoft-Server-ActiveSync/SyncStat.dll HTTP/1.1 200 -
 2009-07-15 20:20:48,617 DEBUG engine.airsync.AirsyncServer : 
 _SendEmptyResponse: Finished emitting response 200 code to client
 2009-07-15 20:20:48,615 DEBUG engine.synchandler.SyncHandler : run: 
 performing 
 synchronization
 2009-07-15 20:20:48,929 INFO engine.airsync.AirsyncServer : do_POST: received 
 Status command
 2009-07-15 20:20:48,929 DEBUG engine.airsync.AirsyncServer : _ProcessStatus: 
 request document is 
 ?xml version=1.0 encoding=utf-8?
 SyncStatus
   SyncBegin Partner={A44B321B-7117-15BB-CC27-F5DEBAF11830} Datatype=/
 /SyncStatus
 
 2009-07-15 20:20:48,930 INFO engine.syncengine.kernel : Status: Emitting 
 StatusSyncStartPartner signal
 2009-07-15 20:20:48,931 DEBUG engine.airsync.AirsyncServer : 
 _SendEmptyResponse: Emitting response 200 code to client
 2009-07-15 20:20:48,931 DEBUG engine.airsync.AirsyncServer : HTTP Request: 
 POST /Microsoft-Server-ActiveSync/SyncStat.dll HTTP/1.1 200 -
 2009-07-15 20:20:48,931 DEBUG engine.airsync.AirsyncServer : 
 _SendEmptyResponse: Finished emitting response 200 code to client
 2009-07-15 20:20:49,079 DEBUG engine.airsync.AirsyncServer : 
 _SendEmptyResponse: Emitting response 200 code to client
 2009-07-15 20:20:49,079 DEBUG engine.airsync.AirsyncServer : HTTP Request: 
 OPTIONS /Microsoft-Server-
 ActiveSync?User=DEFAULTDeviceId=67A5A382ECBB3317839CAA6643F3FDBFDeviceType=PocketPC
  
 HTTP/1.1 200 -
 2009-07-15 20:20:49,080 DEBUG engine.airsync.AirsyncServer : 
 _SendEmptyResponse: Finished emitting response 200 code to client
 2009-07-15 20:20:49,595 INFO engine.airsync.AirsyncServer : do_POST: received 
 GetItemEstimate command
 2009-07-15 20:20:49,595 DEBUG engine.airsync.AirsyncServer : _ReadXMLRequest: 
 converting request from wbxml
 2009-07-15 20:20:49,602 DEBUG engine.airsync.AirsyncServer : 
 _ProcessGetItemEstimate: request document is 
 ?xml version=1.0 encoding=utf-8?
 
 ragna...@ntbkragnarok:~/.synce$ dpkg -l |grep synce
 ii  libsynce00.13-2 
 Helper library to sync Windows Mobile device
 ii  opensync-plugin-synce0.13-2 
 SynCE plugin for OpenSync
 ii  synce-kpm0.13-1 
 KDE device manager for Windows Mobile device
 ii  synce-multisync-plugin   0.9.0-5a 
 plugin for 

synce dont trigger msynctool

2009-07-15 Thread Fernando Toledo
hi!
 i have working synce with kontact and msynctool on debian testing
but the sync button from my device don't trigger the AutoSync command
the log says disable by config
also, i can manual run msynctool --sync htc and works fine
can have i a bad config?

my config (~/.synce/syncengine.conf) has: 

Autosync
!--
AutoSyncCommand
The command run by SyncEngine in response to a device-triggered
synchronization. It can be set to any executable program specified
by the user. The default, in the absence of this element, is an
empty path - nothing is run.
--

AutoSyncCommand/usr/bin/x-terminal-emulator -e /usr/bin/msynctool --sync 
htc/AutoSyncCommand

!--
Disable
Enable or disables device-triggered synchronization. When this is '1',
device-triggered synchronizations will have no effect and AutoSyncCommand
will be ignored. If set to '0' and AutoSyncCommand contains a valid path,
then hte executable specified in AutoSyncCommand will be run when the 
handheld
triggers an automatic synchronization.
--

!-- Disable0/Disable --

/Autosync


and the log say:


2009-07-15 20:20:48,578 INFO engine.airsync.AirsyncServer : do_POST: received 
Status command
2009-07-15 20:20:48,579 DEBUG engine.airsync.AirsyncServer : _ProcessStatus: 
request document is 
?xml version=1.0 encoding=utf-8?
SyncStatus
  SyncBegin Partner= Datatype=/
/SyncStatus

2009-07-15 20:20:48,579 INFO engine.syncengine.kernel : 
_CBStartDeviceTriggeredSync: monitoring auto sync with partnership P1: 
id=0x597ea5b, guid={A44B321B-7117-15BB-CC27-F5DEBAF11830}, 
hostname=ntbkragnarok, name=ntbkragnarok, sync_items=[ Files, Calendar, 
Tasks, Contacts ]
2009-07-15 20:20:48,580 INFO engine.syncengine.kernel : 
_CBStartDeviceTriggeredSync: itemDB loaded
2009-07-15 20:20:48,580 DEBUG engine.syncengine.kernel : 
_CBStartDeviceTriggeredSync : device triggered sync disabled in config
^
** Message: Hal reports no devices connected
2009-07-15 20:20:48,615 INFO engine.syncengine.kernel : Status: Emitting 
StatusSyncStart signal
2009-07-15 20:20:48,616 DEBUG engine.airsync.AirsyncServer : 
_SendEmptyResponse: Emitting response 200 code to client
2009-07-15 20:20:48,616 DEBUG engine.airsync.AirsyncServer : HTTP Request: 
POST /Microsoft-Server-ActiveSync/SyncStat.dll HTTP/1.1 200 -
2009-07-15 20:20:48,617 DEBUG engine.airsync.AirsyncServer : 
_SendEmptyResponse: Finished emitting response 200 code to client
2009-07-15 20:20:48,615 DEBUG engine.synchandler.SyncHandler : run: performing 
synchronization
2009-07-15 20:20:48,929 INFO engine.airsync.AirsyncServer : do_POST: received 
Status command
2009-07-15 20:20:48,929 DEBUG engine.airsync.AirsyncServer : _ProcessStatus: 
request document is 
?xml version=1.0 encoding=utf-8?
SyncStatus
  SyncBegin Partner={A44B321B-7117-15BB-CC27-F5DEBAF11830} Datatype=/
/SyncStatus

2009-07-15 20:20:48,930 INFO engine.syncengine.kernel : Status: Emitting 
StatusSyncStartPartner signal
2009-07-15 20:20:48,931 DEBUG engine.airsync.AirsyncServer : 
_SendEmptyResponse: Emitting response 200 code to client
2009-07-15 20:20:48,931 DEBUG engine.airsync.AirsyncServer : HTTP Request: 
POST /Microsoft-Server-ActiveSync/SyncStat.dll HTTP/1.1 200 -
2009-07-15 20:20:48,931 DEBUG engine.airsync.AirsyncServer : 
_SendEmptyResponse: Finished emitting response 200 code to client
2009-07-15 20:20:49,079 DEBUG engine.airsync.AirsyncServer : 
_SendEmptyResponse: Emitting response 200 code to client
2009-07-15 20:20:49,079 DEBUG engine.airsync.AirsyncServer : HTTP Request: 
OPTIONS /Microsoft-Server-
ActiveSync?User=DEFAULTDeviceId=67A5A382ECBB3317839CAA6643F3FDBFDeviceType=PocketPC
 
HTTP/1.1 200 -
2009-07-15 20:20:49,080 DEBUG engine.airsync.AirsyncServer : 
_SendEmptyResponse: Finished emitting response 200 code to client
2009-07-15 20:20:49,595 INFO engine.airsync.AirsyncServer : do_POST: received 
GetItemEstimate command
2009-07-15 20:20:49,595 DEBUG engine.airsync.AirsyncServer : _ReadXMLRequest: 
converting request from wbxml
2009-07-15 20:20:49,602 DEBUG engine.airsync.AirsyncServer : 
_ProcessGetItemEstimate: request document is 
?xml version=1.0 encoding=utf-8?

ragna...@ntbkragnarok:~/.synce$ dpkg -l |grep synce
ii  libsynce00.13-2 
Helper library to sync Windows Mobile device
ii  opensync-plugin-synce0.13-2 
SynCE plugin for OpenSync
ii  synce-kpm0.13-1 
KDE device manager for Windows Mobile device
ii  synce-multisync-plugin   0.9.0-5a 
plugin for multisync to sync with your Win
rc  synce-serial 0.11-4 
SynCE connection manipulation scripts
ii  synce-sync-engine0.13-2 
Synchronization engine for Windows