Another hint: 
6300 looks like with S40 3rd edition, from [1] I see it actually does not
support SAN version 1.1/1.0 [2], this may also be the problem.

[1] http://www.traud.de/gsm/SyncML.htm 
[2] http://bugzilla.moblin.org/show_bug.cgi?id=8021
On Sat, 19 Dec 2009, Chen, Congwu wrote:

> Hi, Jason
> 
> No, it's not a Synthesis issue, it is likely a configuration or phone 
> compatibility issue. 
> The error basically means: when SyncEvolution sends it's first request 
> (Binary based, not XML! so not very useful for your debuging), the phone 
> rejects.
> Is there any error message on the phone? I suppose it should report some 
> error (although maybe not accurate but give us some hint on why it rejects).
> 
> To help us narrow down the problem, you might try to only sync with one 
> source type : contacts and sync mode two-way:
> 
> ./syncevolution --sync two-way phone addressbook
> 
> 
> Another try is change the your source type ("addressbook" -> "Contacts")
> $B --configure --source-property type=addressbook:text/x-vcard phone Contacts
> $B --configure --source-property uri=Contacts phone Contacts
> ./syncevolution --sync two-way phone Contacts
> 
> Just did a quick google, there some setup hint for 6300:
> 1) Clean screen [1]: 
> # his means that the mobile phone will not accept a synchronization request 
> when there is another application is running. Even the previous 
> synchronization status report avoid a sync request.
> # In short: Make sure no application or dialog is visible and the "screen is 
> clean". 
> 
> 2) Use a username/password [2] (Just set that in your phone, and let's see 
> whether something different happens).
> 
> [1] http://en.opensuse.org/OpenSync/SyncML-OBEX-Client
> [2] https://libsyncml.opensync.org/ticket/123
> 
> Finally, you can always first try to use Nokia PC Suite to see whether your 
> configuration works with the official software.
> 
> I will add a debug facility later to log the first Binary based message 
> request, so that you may later send the Binary to me and help us identify.
> ________________________________________
> 发件人: [email protected] 
> [[email protected]] 代表 Jason Grant 
> [[email protected]]
> 发送时间: 2009年12月19日 12:42
> 收件人: SyncEvolution
> 主题: [SyncEvolution] First trial with nokia 6300: sync failed
> 
> Hi All,
> 
> I'm trying to sync with my Nokia 6300 (S40) using syncevolution-0.9.2
> +1.0alpha1, but am encountering:
> 
> invalid tag <client> at line 1392 col 2
> 
> as shown in [1] below.  I configured syncevolution using the bash logic
> shown at [2] below.  The log is given at [3].
> 
> I will happily troubleshoot or test further, but thought I would mail
> the list first to seek guidance on things like:
> 
> * is this a familiar issue?
> * does my config look OK? (I used a real mac not the one shown)
> * is 0.9.2+1.0alpha1 still OK for phone testing?
> * does this sound like a synthesis issue?
> * Sounds like an XML issue: can I turn up logging somewhere to see the
> XML over obex?
> 
> etc.  Suggestions appreciated.
> 
> Jason.
> 
> ------------------------------------
> [1] Sync stdout
> [...@talby syncevolution]$ ~/local/se/bin/syncevolution phone
> invalid tag <client> at line 1392 col 2
> Local data changes to be applied to server during synchronization:
> *** todo ***
> no changes
> *** addressbook ***
> no changes
> *** calendar ***
> no changes
> *** memo ***
> no changes
> 
> [INFO] Server sending SAN 1
> [ERROR] OBEX Request 2 got a failed response Forbidden
> [ERROR] TransportException while sending SAN package
> [ERROR] Server Alerted Sync init failed
> 
> Synchronization failed, see 
> /home/jas/.cache/syncevolution/phone-2009-12-19-15-18/syncevolution-log.html 
> for details.
> 
> Changes applied during synchronization:
> +---------------|-------ON CLIENT-------|-------ON SERVER-------|-CON-+
> |               |   rejected / total    |   rejected / total    | FLI |
> |        Source |  NEW  |  MOD  |  DEL  |  NEW  |  MOD  |  DEL  | CTS |
> +---------------+-------+-------+-------+-------+-------+-------+-----+
> |   addressbook |  0/0  |  0/0  |  0/0  |  0/0  |  0/0  |  0/0  |  0  |
> |   item(s) in database backup: 47 before sync, 47 after it           |
> +---------------+-------+-------+-------+-------+-------+-------+-----+
> |      calendar |  0/0  |  0/0  |  0/0  |  0/0  |  0/0  |  0/0  |  0  |
> |      item(s) in database backup: 40 before sync, 40 after it        |
> +---------------+-------+-------+-------+-------+-------+-------+-----+
> |          memo |  0/0  |  0/0  |  0/0  |  0/0  |  0/0  |  0/0  |  0  |
> |          item(s) in database backup: 12 before sync, 12 after it    |
> +---------------+-------+-------+-------+-------+-------+-------+-----+
> |          todo |  0/0  |  0/0  |  0/0  |  0/0  |  0/0  |  0/0  |  0  |
> |          item(s) in database backup: 40 before sync, 40 after it    |
> +---------------+-------+-------+-------+-------+-------+-------+-----+
> |          start Sat Dec 19 15:18:42 2009, duration 0:01min           |
> |              synchronization failed (status code 500)               |
> +---------------+-------+-------+-------+-------+-------+-------+-----+
> 
> Changes applied to client during synchronization:
> *** todo ***
> no changes
> *** addressbook ***
> no changes
> *** calendar ***
> no changes
> *** memo ***
> no changes
> 
> ------------------------------------
> [2] Setup
> export MacAddress="stripped for this email"
> TEMPLATE=scheduleworld
> L=/home/jas/local/se
> B=$L/bin/syncevolution
> export LD_LIBRARY_PATH=$L/lib
> 
> $B --configure --sync-property syncURL="obex-bt://$MacAddress" 
> --sync-property enableWBXML=1 --sync-property remoteIdentifier='PC Suite' 
> --sync-property PeerIsClient=1 --sync-property username= --sync-property 
> password= --template $TEMPLATE phone
> 
> $B --configure --source-property type=addressbook:text/x-vcard phone 
> addressbook
> $B --configure --source-property type=calendar:text/x-vcalendar  phone 
> calendar
> $B --configure --source-property type=calendar:text/x-vcalendar phone todo
> 
> for i in calendar addressbook todo memo; do
>   $B --configure --source-property uri=$i phone $i
> done
> 
> $B --configure --source-property type=virtual:text/x-vcalendar 
> --source-property evolutionsource=calendar,todo phone super
> 
> for i in calendar todo; do
>   $B --configure --source-property uri=super phone $i
> done
> 
> ------------------------------------
> [3] Log
> [2009-12-18 23:18:42.111] CreateContext SyncEvolution// => 0
> [2009-12-18 23:18:42.111] Module_Capabilities:
> PLATFORM:Linux
> DLL:true
> MINVERSION:V1.0.6.0
> MANUFACTURER:SyncEvolution
> DESCRIPTION:SyncEvolution Synthesis DB Plugin
> plugin_datastore_str:no
> plugin_datastore_key:yes
> ITEM_AS_KEY:yes
> plugin_datablob:no
> [2009-12-18 23:18:42.112] Module_PluginParams
> Engine=01060100
> [2009-12-18 23:18:42.112] SyncML server account:
> [2009-12-18 23:18:42.112] client: SyncEvolution 0.9.2+1.0alpha1 for 
> workstation
> [2009-12-18 23:18:42.112] device ID: 
> sc-pim-4cef1bd7-f3d6-4d7b-9e96-7df72a2e7821
> [2009-12-18 23:18:42.235] creating 
> /home/jas/.cache/syncevolution/phone-2009-12-19-15-18/todo.before
> [2009-12-18 23:18:42.235] ** (process:7462): WARNING **: Wrong permissions 
> for /tmp/orbit-jas
> [2009-12-18 23:18:42.235] ** (process:7462): WARNING **: Wrong permissions 
> for /tmp/orbit-jas-a86888f8
> [2009-12-18 23:18:42.235] ** (process:7462): WARNING **: Wrong permissions 
> for /tmp/orbit-jas-282828a8
> [2009-12-18 23:18:42.235] ** (process:7462): WARNING **: Wrong permissions 
> for /tmp/orbit-jas-2828a868
> [2009-12-18 23:18:42.235] ** (process:7462): WARNING **: Wrong permissions 
> for /tmp/orbit-jas-a8688878
> [2009-12-18 23:18:42.235] ** (process:7462): WARNING **: Wrong permissions 
> for /tmp/orbit-jas
> [2009-12-18 23:18:42.265] 
> /home/jas/.cache/syncevolution/phone-2009-12-19-15-18/todo.before created
> [2009-12-18 23:18:42.265] creating 
> /home/jas/.cache/syncevolution/phone-2009-12-19-15-18/addressbook.before
> [2009-12-18 23:18:42.289] 
> /home/jas/.cache/syncevolution/phone-2009-12-19-15-18/addressbook.before 
> created
> [2009-12-18 23:18:42.290] creating 
> /home/jas/.cache/syncevolution/phone-2009-12-19-15-18/calendar.before
> [2009-12-18 23:18:42.318] 
> /home/jas/.cache/syncevolution/phone-2009-12-19-15-18/calendar.before created
> [2009-12-18 23:18:42.318] creating 
> /home/jas/.cache/syncevolution/phone-2009-12-19-15-18/memo.before
> [2009-12-18 23:18:42.324] 
> /home/jas/.cache/syncevolution/phone-2009-12-19-15-18/memo.before created
> [2009-12-18 23:18:43.353] Connecting Bluetooth device with address "stripped 
> for this email" and channel 11
> [2009-12-18 23:18:43.353] ObexTransportAgent: creating obex event 8
> [2009-12-18 23:18:43.572] OBEX progress
> [2009-12-18 23:18:43.613] OBEX Transport: get header who from connect 
> response with value SYNCML-SYNC
> [2009-12-18 23:18:43.613] ObexTransportAgent: removing obex event 8
> [2009-12-18 23:18:43.613] Server sending SAN 1
> [2009-12-18 23:18:43.613] ObexTransport send is called
> [2009-12-18 23:18:43.613] ObexTransportAgent: creating obex event 9
> [2009-12-18 23:18:43.614] OBEX progress
> [2009-12-18 23:18:43.900] OBEX Request 2 got a failed response Forbidden
> [2009-12-18 23:18:43.901] ObexTransportAgent: removing obex event 9
> [2009-12-18 23:18:43.901] TransportException while sending SAN package
> [2009-12-18 23:18:43.901] Server Alerted Sync init failed
> 
> 
> _______________________________________________
> SyncEvolution mailing list
> [email protected]
> http://lists.syncevolution.org/listinfo/syncevolution
> _______________________________________________
> SyncEvolution mailing list
> [email protected]
> http://lists.syncevolution.org/listinfo/syncevolution

-- 
Regards,

Chen Congwu
Moblin China Development

_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution

Reply via email to