http://bugs.meego.com/show_bug.cgi?id=1350
Summary: support
ovi.com (Nokia sync service)
Classification: MeeGo Projects
Product: SyncEvolution
Version: unspecified
Platform: Netbook
OS/Version: IA
Status: ASSIGNED
Severity: normal
Priority: Medium
Component: SyncML
AssignedTo: syncevolution-bugs(a)meego.bugs
ReportedBy: jingke.zhang(a)intel.com
QAContact: jingke.zhang(a)intel.com
CC: syncevolution-bugs(a)meego.bugs,
syncevolution-syncml-bugs(a)meego.bugs
Estimated Hours: 0.0
This is from
http://bugzilla.moblin.org/show_bug.cgi?id=3182
Description From jku 2009-06-03 08:59:15 PST (-) [reply]
Created an attachment (id=1027)
--> (
http://bugs.meego.com/attachment.cgi?id=1027) [details]
synthesis log
Nokia seems to be pushing ovi a lot now, we'll probably want to talk to them...
The settings aren't really advertized anywhere so I have no idea if Ovi even
wants other clients than Nokia phones. In any case it does start syncing with
this:
Server URL:
https://sync.ovi.com/services/syncml
Addressbook URI: ./Contact/Unfiled
Calendar URI: ./EventTask/Tasks
Memo URI: ./Note/Unfiled
Currently synthesis fails with:
smlProcessData failed, returned 0x2011
- Jussi
------- Comment #1 From pohly 2009-06-08 07:16:55 PST (-) [reply] -------
Turning this into a feature request. I'm not sure about the priority: I suggest
to work on the other server first and then check again.
------- Comment #2 From Zhiqiang 2009-07-13 20:16:59 PST (-) [reply] -------
Assign this bug to Congwu..
------- Comment #3 From Chen Congwu 2009-07-15 01:12:25 PST (-) [reply] -------
The synthesis fail has gone but I could not successfully authenticate. It seems
the username/pwd used during sync is not the same as
ovi.com.
Since Nokia has not provide access for PCs, I have no idea how to get a valid
account.
http://discussions.europe.nokia.com/discussions/board/message?board.id=ov...
Jussi, do you have any idea?
(In reply to comment #0)
Created an attachment (id=1027)
-->
(
http://bugs.meego.com/attachment.cgi?id=1027) [details] [details]
synthesis log
Nokia seems to be pushing ovi a lot now, we'll probably want to talk to them...
The settings aren't really advertized anywhere so I have no idea if Ovi even
wants other clients than Nokia phones. In any case it does start syncing with
this:
Server URL:
https://sync.ovi.com/services/syncml
Addressbook URI: ./Contact/Unfiled
Calendar URI: ./EventTask/Tasks
Memo URI: ./Note/Unfiled
Currently synthesis fails with:
smlProcessData failed, returned 0x2011
- Jussi
------- Comment #4 From Chen Congwu 2009-10-24 20:05:22 PST (-) [reply] -------
Suyog has provided some updates on the account setting:
Ovi.com has added manual configurations.
Today I played around sync settings on my mobile and found out 1
thing. My previous understanding that "Manual settings don't work" is not
entirely correct. I found out from OVI.com->Login->Add device
You have to specify your Nokia Phone Model and then enter your mobile number.
After this
OVI.com will send you config settings , you will need PIN to open config
setting, this PIN is provided on web interface.
But I found that they have mentioned , if you dont get config settings due to some
reasons, you can create settings manually. I tried that option and found that the Password
which was mentioned there for Sync setting is different from actual OVI password. This
password looks like auto generated and different every time you add device.
If you remove device and try to add it again with same number/model, password changes.
This is the reason why Sync doesn't work in SyncEvolution. I am going to try using
this password in SyncEvolution. All other settings are same as you have also mentioned in
Bug 3182.
See the following which I have copied from Add Device procedure on
OVI.com, I have masked
my password.
------- Comment #5 From Chen Congwu 2009-10-24 20:12:06 PST (-) [reply] -------
More from Suyog: (The manual settings you need to set up)
You can make the necessary synchronization settings for your device
manually by following the instructions below:
1. Go to Sync menu on your device Usually the Sync menu is found from Menu grid/Tools
or under Menu grid/Settings depending on your device.
2. Select and open "Sync" icon from the grid Press Options an select
"New sync profile" from the opened view. DO NOT copy values from other profile.
3. Name the new profile or use the default name Select and open "Sync profile
name" list item. Write the name to the opened text input field.
4. Select and open "Applications" list item Open each desired application
from the list in turn.From the opened submenu, switch "Yes", if you want to
synchronize the opened application. Set(write) the Remote Database as listed below for
each application:
for Contacts: ./Contact/Unfiled
for Calendar: ./EventTask/Tasks
for Notes: ./Note/Unfiled
Set "Synchronization type" for each desired application to be
"normal" or "both ways" (depending on the device).
5. Select and open "Connections settings" from the Sync profile list Set or
write (depending on the setting) the following values:
Server version: Leave the default value
Server ID: Leave the default name
Data Bearer: Internet
Access point: Chose the internet access point
Host address:
https://sync.ovi.com/services/syncml
Port: 443
User name: suyog
Password: ******************
Allow sync requests: Leave the default value
Accept all sync reqs.: Leave the default value
Network authentication: This setting depends on the details of your data connectivity
service. If you select "Yes", you have to fill also your Nokia account username
and password
You have now done your sync settings for your device. To synchronize your device go back
to the sync instructions screen by pressing the button below.
------- Comment #6 From pohly 2009-10-26 06:03:44 PST (-) [reply] -------
That looks promising. Let's consider adding OVI as a supported service in
SyncEvolution 1.0. We have many issues to work on for 1.0, so it's not the
highest priority, though.
Is there anything that can be done to make device setup easier for users? Not
being able to find the password easily which is to be used could be a stumbling
block for users.
I can imagine several solutions, with varying degrees of effort involved:
- add an OVI template in SyncEvolution - needs to be done in any case
- change the OVI web site so that it clearly documents how to add SyncEvolution
as device and what the password ist
- when adding SyncEvolution in the web interface, send a "SyncML client
configuration" with a specific MIME type that we could register SyncEvolution
for, then create the configuration
We don't have such a MIME type and config format at the moment. Would have to
be defined, if there isn't anything that we can reuse.
------- Comment #7 From Chen Congwu 2009-10-26 21:29:30 PST (-) [reply] -------
Summarize status:
Contacts works (Suyog):
"
Also I tried all 3 options , Merge, Delete local data and replace, Delete
Server data and replace.
All work very well with contacts, and with Memos , I get same rejections error
but it deletes server data.
"
Memo content rejection: Client changes rejected by server and Server changed
not reflected during client sync. I have tried both plain text and ical2.0. Not
sure what the problem is.
calendar (ical) works, I can sync both changes from server and changes from
client.
No task (itodo) url mentioned in the manual configuration settings, though
there is a todo page in the web interface.
As Suyog metioned:
"Please note that in Nokia Phones , there is nothing defined separately for
To-dos, somehow they are treated as part of Calendar( May be
./EventTasks/Tasks). Also as I use OpenSync to sync my phone over Bluetooth
with Evolution, I noted that To-dos sync with Tasks in Evolution"
I'm still have no idea how Nokia differentiate from calendar and tasks..
I am thinking that if we don't have server side operator support, we may get
some hints by syncing nokia phone with our syncevolution server (seeing what
behavior Nokia clients are behaving..)
------- Comment #8 From Chen Congwu 2009-10-28 18:06:00 PST (-) [reply] -------
More updates:
Nokia stores calendar and tasks together in the client side and synced to
to-dos and calendars in
ovi.com.
To support this, we need to (as pointed by Patrick):
"
Synthesis supports such a combined storage either directly (write a
backend which handles both) or via a "superdatastore" which combines a
backend for VEVENT and VTODO (see XML configuration guide).
We need to support this in several ways:
- configure a data source which maps to a superdatastore
- figure out how to represent that in the GUI
"
------- Comment #9 From jku 2009-11-20 05:27:38 PST (-) [reply] -------
(In reply to comment #8)
More updates:
Nokia stores calendar and tasks together in the client side and synced to
to-dos and calendars in
ovi.com.
To support this, we need to (as pointed by Patrick):
"
Synthesis supports such a combined storage either directly (write a
backend which handles both) or via a "superdatastore" which combines a
backend for VEVENT and VTODO (see XML configuration guide).
We need to support this in several ways:
- configure a data source which maps to a superdatastore
- figure out how to represent that in the GUI
"
If this is a specific case, I can just special case "calendar+todo" in the GUI.
First idea:
Addressbook URI [ ]
Calendar URI [ ]
[ ] Calendar includes Tasks
Tasks URI [ ]
(The "tasks" line would be insensitive if the checkbutton is checked)
Not sure what to do with unknown combined sources.
------- Comment #10 From jku 2010-02-08 14:08:33 PST (-) [reply] -------
Thought I'd update this wrt to GUI: virtual sources are supported (at least in
jku-configuration-redesign branch) in the sense that they are shown in the main
view and configuration and the 'underlying' sources should be hidden.
------- Comment #11 From pohly 2010-02-10 08:20:36 PST (-) [reply] -------
Congwu, have you ever successfully used a virtual source in a SyncML client?
I'm trying it for the first time with SyncEvolution as both client and server
and get a crash in
sysync::TBinfileClientConfig::findOrCreateTargetIndexByDBInfo(). A virtual
function call jumps to NULL:
2157
cfgP->initTarget(target,aProfileID,NULL,DEFAULT_DATASTORES_ENABLED); // init
default
I suspect that the following type cast was invalid:
for (pos=fDatastores.begin();pos!=fDatastores.end();pos++) {
TBinfileDSConfig *cfgP = static_cast<TBinfileDSConfig *>(*pos);
I'm currently experimenting with adding a <dbtypeid> for a
<superdatastore>.
Not sure whether it'll make a difference.
------- Comment #12 From Chen Congwu 2010-02-10 18:19:34 PST (-) [reply]
-------
(In reply to comment #0)
Ah, The error still exists. I used wbxml before that's why the error did not
occur.
I have fixed this and posted to synthesis.
Currently synthesis fails with:
smlProcessData failed, returned 0x2011
- Jussi
------- Comment #13 From Chen Congwu 2010-02-10 22:38:34 PST (-) [reply]
-------
(In reply to comment #11)
Congwu, have you ever successfully used a virtual source in a SyncML
client?
No, not yet. You are right, it seg faults currently.
I'm trying it for the first time with SyncEvolution as both
client and server
and get a crash in
sysync::TBinfileClientConfig::findOrCreateTargetIndexByDBInfo(). A virtual
function call jumps to NULL:
2157
cfgP->initTarget(target,aProfileID,NULL,DEFAULT_DATASTORES_ENABLED); // init
default
I suspect that the following type cast was invalid:
for (pos=fDatastores.begin();pos!=fDatastores.end();pos++) {
TBinfileDSConfig *cfgP = static_cast<TBinfileDSConfig *>(*pos);
Yes, you are right. With a simple patch it works now, see my posts in synthesis
mail list.
------- Comment #14 From pohly 2010-02-11 01:58:18 PST (-) [reply] -------
(In reply to comment #13)
> (In reply to comment #11)
>
Congwu, have you ever successfully used a virtual source in a SyncML
client?
> No, not yet. You are right, it seg faults currently.
After fixing the segfault I end up with errors because the underlying sources
get activated for the sync *as if they were normal active sources*. In other
words, SyncEvolution as client tries to synchronize "calendar",
"todo", and
"calendar+todo" with the server all at once, instead of just synchronizing
"calendar+todo" with the server.
Congwu, unless you tell me otherwise I'll have a closer look.
------- Comment #15 From Chen Congwu 2010-03-07 23:28:57 PST (-) [reply]
-------
I pushed the template and integration tests for Ovi to ovi branch, please
review
The key messages are:
--
+* Know Limitations in Ovi server:
+The server is unstable, during testing, it returns '400' error from time to
+time.
+The authentication process need 3 retries to success.
+Delete in normal sync (including two-way, one-way-from-client) does not
+effectively delete the data in the server, we can only use (refresh-+
from-client). because of this limitation, many cases failed.
+ Memo does not work (contents rejected both way)
I used vcard30 for addressbook and vcalendar 1.0 for calendar+todo.
------- Comment #16 From pohly 2010-03-08 09:08:43 PST (-) [reply] -------
(In reply to comment #15)
+The authentication process need 3 retries to success.
What does that mean for users? Does a user have to run syncevolution multiple
times before it will eventually succeed?
------- Comment #17 From Chen Congwu 2010-03-08 16:54:23 PST (-) [reply]
-------
(In reply to comment #16)
> (In reply to comment #15)
>
+The authentication process need 3 retries to success.
>
> What does that mean for users? Does a user have to run syncevolution multiple
> times before it will eventually succeed?
No, the retry process is automatic (just extra round of message and time)
------- Comment #18 From pohly 2010-03-09 10:02:34 PST (-) [reply] -------
I've merged this. Left to do:
- add to nightly testing
- discuss some of the known issues with Nokia
- set "consumerReady" flag
--
Configure bugmail:
http://bugs.meego.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.