kdepim-sync: Sends calendar into limbo and deletes next time round

View: New views
18 Messages — Rating Filter:   Alert me  

kdepim-sync: Sends calendar into limbo and deletes next time round

by Bugzilla from greve@fsfe.org :: Rate this Message:

| View Threaded | Show Only this Message

Hi all,

After getting my phone to sync over bluetooth, I was trying to
synchronise with KDE PIM. The results have been mixed:

 - Notes: fails entire sync, needs to be disabled

 - Contacts: works perfectly, but assumes KDE 3.X -- so writes all
   contacts into .kde/share/apps/kabc/std.vcf instead of the canonical
   location for KDE4.X, which is .kde4/share/apps/kabc/std.vcf.

   This can be fixed by adding the old location as contact database.

 - Calendar: claims to work, but eats calendar.

   During the first synchronisation, multisync says all is fine, and is
   logging messages about writing calendar entries from the phone to KDE
   PIM. But in Kontact I am unable to find the entries.

   Searching my home partition with "find . -amin 5" reveals that no
   file on disk has changed during the calendar synchronisation, so it
   seems that they are written into limbo.

   The next time I call synchronisation, the kdepim backend then reports
   no calendar entries, and consequently the entire calendar on the
   phone is being deleted.

Since there is little documentation and no configuration of the kdepim
backend, this is essentially where things stop for me.

It would seem very useful if there was a way to configure the kdepim
backend, as there are scenarios in which it might be useful to have the
contacts and calendar of the phone separate from the rest.

Ah, and all of this is on Debian sid/testing with

    opensync-plugin-kdepim       0.22-3
    opensyncutils                0.37-3
    multisync-tools              0.92.0~svn355-1
    multisync0.90                0.92.0~svn355-1

using KDE4.1, and in particular

    kontact                      4:4.1.3-2

Hope this helps,

Best regards,
Georg


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

attachment0 (314 bytes) Download Attachment

Re: kdepim-sync: Sends calendar into limbo and deletes next time round

by Bugzilla from felix@derklecks.de :: Rate this Message:

| View Threaded | Show Only this Message

Hi,

>     opensync-plugin-kdepim       0.22-3
>     opensyncutils                0.37-3
>     multisync-tools              0.92.0~svn355-1
>     multisync0.90                0.92.0~svn355-1
sadly I cannot really help. But you should upgrade opensync-plugin-kdepim to
0.37 to match your opensyncutils version.

I suggest trying to use msynctool first.

There are tracing possibilities see http://www.opensync.org/wiki/tracing which
might reveal more.

Does synchronizing to file-sync work?

Which plugin are you using for your phone? syncml?

HTH
Felix Möller


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

Re: kdepim-sync: Sends calendar into limbo and deletes next time round

by Bugzilla from greve@fsfe.org :: Rate this Message:

| View Threaded | Show Only this Message

Hi Felix,

On Fri, 14 Nov 2008 13:32:10 +0100
Felix Möller <felix@...> wrote:

 fm> sadly I cannot really help. But you should upgrade
 fm> opensync-plugin-kdepim to 0.37 to match your opensyncutils version.

In Debian sid/testing, the closest to matching opensyncutils would be
version 0.36-1 of opensync-plugin-kdepim. There is no opensyncutils
version 0.36-1, so 0.37 it is.


 fm> I suggest trying to use msynctool first.

All of the experience reported is with msynctool.

My typical call is

   msynctool --sync e71kdepim --filter-objtype note

and if I do that with versions

   opensync-plugin-kdepim            0.36-1
   opensyncutils                     0.37-3

the result is

  msynctool --sync e71kdepim --filter-objtype note
  Synchronizing group "e71kdepim"

  ** ERROR **: file /build/mbanck/opensync-0.22/opensync/opensync_plugin.c: line 457 (osync_plugin_get_path): assertion failed: (plugin)
  aborting...

after which it hangs and has to be terminated by ^C.

These are the trace logs of that run:




With versions

     opensync-plugin-kdepim            0.22-3
     opensyncutils                     0.22-2

the problem persists. Here is the log of running msynctool twice in a
row, first time it transfers all the contacts to the KDEPIM backend, and
says all is good, second time it deletes all the entries on the phone.

This is without touching kontact in any way.



greve@katana:~$ msynctool --sync e71kdepim --filter-objtype note                                                
Synchronizing group "e71kdepim"                                                                                            
Member 2 of type kdepim-sync just connected                                                                                
received event dsession                                                                                                    
received contact dsession                                                                                                  
Member 1 of type syncml-obex-client just connected                                                                        
All clients connected or error                                                                                            
Member 2 of type kdepim-sync just sent all changes                                                                        
Received an reply to our Alert                                                                                            
Received an reply to our Alert                                                                                            
Going to receive 32 changes                                                                                                
Going to receive 0 changes                                                                                                
Received an entry 201 with data of size 4 from member 1 (syncml-obex-client). Changetype ADDED                            
Received an entry 202 with data of size 4 from member 1 (syncml-obex-client). Changetype ADDED                            
Received an entry 203 with data of size 4 from member 1 (syncml-obex-client). Changetype ADDED                            
Received an entry 204 with data of size 4 from member 1 (syncml-obex-client). Changetype ADDED                            
Received an entry 205 with data of size 4 from member 1 (syncml-obex-client). Changetype ADDED                            
Received an entry 206 with data of size 4 from member 1 (syncml-obex-client). Changetype ADDED                            
Received an entry 207 with data of size 4 from member 1 (syncml-obex-client). Changetype ADDED                            
Received an entry 208 with data of size 4 from member 1 (syncml-obex-client). Changetype ADDED                            
Received an entry 209 with data of size 4 from member 1 (syncml-obex-client). Changetype ADDED                            
Received an entry 210 with data of size 4 from member 1 (syncml-obex-client). Changetype ADDED                            
Received an entry 211 with data of size 4 from member 1 (syncml-obex-client). Changetype ADDED                            
Received an entry 212 with data of size 4 from member 1 (syncml-obex-client). Changetype ADDED                            
Received an entry 213 with data of size 4 from member 1 (syncml-obex-client). Changetype ADDED                            
Received an entry 214 with data of size 4 from member 1 (syncml-obex-client). Changetype ADDED                            
Received an entry 215 with data of size 4 from member 1 (syncml-obex-client). Changetype ADDED                            
Received an entry 216 with data of size 4 from member 1 (syncml-obex-client). Changetype ADDED                            
Member 1 of type syncml-obex-client just sent all changes                                                                  
All clients sent changes or error                                                                                          
All conflicts have been reported                                                                                          
Sent an entry libkcal-100173209.872 of size 324 to member 2 (kdepim-sync). Changetype ADDED                                
Sent an entry libkcal-1298712159.1000 of size 372 to member 2 (kdepim-sync). Changetype ADDED                              
Sent an entry libkcal-20429415.1029 of size 416 to member 2 (kdepim-sync). Changetype ADDED                                
Received an reply to our sync                                                                                              
Received an reply to our sync                                                                                              
Sent an entry libkcal-1909136022.1073 of size 384 to member 2 (kdepim-sync). Changetype ADDED                              
Sent an entry libkcal-2025472610.113 of size 331 to member 2 (kdepim-sync). Changetype ADDED                              
Sent an entry libkcal-1343304864.157 of size 364 to member 2 (kdepim-sync). Changetype ADDED                              
Member 1 of type syncml-obex-client committed all changes.                                                                
Sent an entry libkcal-1499173537.175 of size 374 to member 2 (kdepim-sync). Changetype ADDED                              
Sent an entry libkcal-1579075358.225 of size 252 to member 2 (kdepim-sync). Changetype ADDED                              
Sent an entry libkcal-1279742528.249 of size 334 to member 2 (kdepim-sync). Changetype ADDED                              
Sent an entry libkcal-104936788.267 of size 301 to member 2 (kdepim-sync). Changetype ADDED                                
Sent an entry libkcal-723308672.293 of size 300 to member 2 (kdepim-sync). Changetype ADDED                                
Sent an entry libkcal-447644944.311 of size 372 to member 2 (kdepim-sync). Changetype ADDED                                
Sent an entry libkcal-1786938443.334 of size 290 to member 2 (kdepim-sync). Changetype ADDED                              
Sent an entry libkcal-1478349926.362 of size 290 to member 2 (kdepim-sync). Changetype ADDED                              
Sent an entry libkcal-239685213.375 of size 300 to member 2 (kdepim-sync). Changetype ADDED                                
Sent an entry libkcal-1646722534.397 of size 343 to member 2 (kdepim-sync). Changetype ADDED                              
Member 2 of type kdepim-sync committed all changes.                                                                        
All clients have written                                                                                                  
Member 2 of type kdepim-sync just disconnected                                                                            
Member 1 of type syncml-obex-client just disconnected                                                                      
All clients have disconnected                                                                                              
The sync was successful
greve@katana:~$ msynctool --sync e71kdepim --filter-objtype note
Synchronizing group "e71kdepim"
Member 2 of type kdepim-sync just connected
received event dsession
received contact dsession
Member 1 of type syncml-obex-client just connected
All clients connected or error
Received an entry libkcal-100173209.872 with data of size 0 from member 2 (kdepim-sync). Changetype DELETED
Received an entry libkcal-1298712159.1000 with data of size 0 from member 2 (kdepim-sync). Changetype DELETED
Received an entry libkcal-20429415.1029 with data of size 0 from member 2 (kdepim-sync). Changetype DELETED
Received an reply to our Alert
Received an reply to our Alert
Going to receive 0 changes
Going to receive 0 changes
Received an entry libkcal-1909136022.1073 with data of size 0 from member 2 (kdepim-sync). Changetype DELETED
Received an entry libkcal-2025472610.113 with data of size 0 from member 2 (kdepim-sync). Changetype DELETED
Received an entry libkcal-1343304864.157 with data of size 0 from member 2 (kdepim-sync). Changetype DELETED
Received an entry libkcal-1499173537.175 with data of size 0 from member 2 (kdepim-sync). Changetype DELETED
Received an entry libkcal-1579075358.225 with data of size 0 from member 2 (kdepim-sync). Changetype DELETED
Received an entry libkcal-1279742528.249 with data of size 0 from member 2 (kdepim-sync). Changetype DELETED
Received an entry libkcal-104936788.267 with data of size 0 from member 2 (kdepim-sync). Changetype DELETED
Received an entry libkcal-723308672.293 with data of size 0 from member 2 (kdepim-sync). Changetype DELETED
Received an entry libkcal-447644944.311 with data of size 0 from member 2 (kdepim-sync). Changetype DELETED
Received an entry libkcal-1786938443.334 with data of size 0 from member 2 (kdepim-sync). Changetype DELETED
Received an entry libkcal-1478349926.362 with data of size 0 from member 2 (kdepim-sync). Changetype DELETED
Received an entry libkcal-239685213.375 with data of size 0 from member 2 (kdepim-sync). Changetype DELETED
Received an entry libkcal-1646722534.397 with data of size 0 from member 2 (kdepim-sync). Changetype DELETED
Member 2 of type kdepim-sync just sent all changes
Member 1 of type syncml-obex-client just sent all changes
All clients sent changes or error
All conflicts have been reported
Member 2 of type kdepim-sync committed all changes.
Received an reply to our sync
Received an reply to our sync
Sent an entry 201 of size 0 to member 1 (syncml-obex-client). Changetype DELETED
Sent an entry 202 of size 0 to member 1 (syncml-obex-client). Changetype DELETED
Sent an entry 203 of size 0 to member 1 (syncml-obex-client). Changetype DELETED
Sent an entry 204 of size 0 to member 1 (syncml-obex-client). Changetype DELETED
Sent an entry 205 of size 0 to member 1 (syncml-obex-client). Changetype DELETED
Sent an entry 206 of size 0 to member 1 (syncml-obex-client). Changetype DELETED
Sent an entry 207 of size 0 to member 1 (syncml-obex-client). Changetype DELETED
Sent an entry 208 of size 0 to member 1 (syncml-obex-client). Changetype DELETED
Sent an entry 209 of size 0 to member 1 (syncml-obex-client). Changetype DELETED
Sent an entry 210 of size 0 to member 1 (syncml-obex-client). Changetype DELETED
Sent an entry 211 of size 0 to member 1 (syncml-obex-client). Changetype DELETED
Sent an entry 212 of size 0 to member 1 (syncml-obex-client). Changetype DELETED
Sent an entry 213 of size 0 to member 1 (syncml-obex-client). Changetype DELETED
Sent an entry 214 of size 0 to member 1 (syncml-obex-client). Changetype DELETED
Sent an entry 215 of size 0 to member 1 (syncml-obex-client). Changetype DELETED
Sent an entry 216 of size 0 to member 1 (syncml-obex-client). Changetype DELETED
Member 1 of type syncml-obex-client committed all changes.
All clients have written
Member 2 of type kdepim-sync just disconnected
Member 1 of type syncml-obex-client just disconnected
All clients have disconnected
The sync was successful


And the corresponding traces are here:

,----
| The following attachment has been deleted:
|
| Type:           application/octet-stream
| Filename:       trace2.tar.bz2
| Size (encoded): 84635 Byte
| Description:    (none)
`----



So from what I can tell it does not seem to be caused by a version mismatch.


 fm> Does synchronizing to file-sync work?

Yes, although there is a namespace conflict issue with that backend.

All the entries of Calendar, Contacts and Notes are given numerical IDs,
which on the phone are independent from each other. So a Contact and a
Calendar entry can both have the numerical ID 42, for instance.

In file-sync this creates a conflict, as it does not differentiate
between Calendar, Contacts and Notes -- so it considers the Contact
entry #42 to be in conflict with the Calendar entry #42.

I was considering to use the file-sync plugin as the central connecting
point, but that namespace issue makes it a poor choice for that purpose.


 fm> Which plugin are you using for your phone? syncml?

Yes.

It is a Nokia E71, and syncml seems to work just fine (version 1.1).

The Contacts are working perfectly between syncml and kdepim (save for
the relocation issue) -- including all contact details and even the
pictures that I took with the mobile phone and assigned to some
contacts.


If there is any more information that I can provide to help solve the
problems with the kdepim-sync, please let me know.

Best regards,
Georg


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

trace1.tar.bz2 (6K) Download Attachment
attachment1 (314 bytes) Download Attachment

Re: kdepim-sync: Sends calendar into limbo and deletes next time round

by Bugzilla from greve@fsfe.org :: Rate this Message:

| View Threaded | Show Only this Message

FYI.

The previous message has been resent with trace2 deleted because the
traces brought the message size to over 40k. Instead this has now been
filed as http://opensync.org/ticket/899 and the trace has been attached
to the ticket.

Regards,
Georg


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

attachment0 (314 bytes) Download Attachment

Re: kdepim-sync: Sends calendar into limbo and deletes next time round

by Michael Banck-3 :: Rate this Message:

| View Threaded | Show Only this Message

Hi Georg,

On Fri, Nov 14, 2008 at 02:48:02PM +0100, Georg C. F. Greve wrote:
> Felix Möller <felix@...> wrote:
>
>  fm> sadly I cannot really help. But you should upgrade
>  fm> opensync-plugin-kdepim to 0.37 to match your opensyncutils version.
>
> In Debian sid/testing, the closest to matching opensyncutils would be
> version 0.36-1 of opensync-plugin-kdepim. There is no opensyncutils
> version 0.36-1, so 0.37 it is.

You shocked me for a second there, but alas, Debian testing/unstable is
all at 0.22 still.  You must have installed opensync-plugin-kdepim
0.36-1 and opensyncutils 0.37-3 from experimental or some 3rd party
site.

>    msynctool --sync e71kdepim --filter-objtype note
>
> and if I do that with versions
>
>    opensync-plugin-kdepim            0.36-1
>    opensyncutils                     0.37-3
>
> the result is
>
>   msynctool --sync e71kdepim --filter-objtype note
>   Synchronizing group "e71kdepim"
>
>   ** ERROR **: file /build/mbanck/opensync-0.22/opensync/opensync_plugin.c: line 457 (osync_plugin_get_path): assertion failed: (plugin)
>   aborting...

That seems to be using opensync-0.22 and 0.36 plugins, which are
incompatbile, hence the assert.

> With versions
>
>      opensync-plugin-kdepim            0.22-3
>      opensyncutils                     0.22-2
>
> the problem persists. Here is the log of running msynctool twice in a
> row, first time it transfers all the contacts to the KDEPIM backend, and
> says all is good, second time it deletes all the entries on the phone.

That is probably a genuine bug in 0.22 then, but unfortunately, 0.22
bugs are not actively triaged and fixed anymore.

You can get the 0.37 packages from Debian experimental; or if you
contact me privately, I can provide you with 0.38 packages
(opensync-0.38 is currently pending manual addition to the Debian
experimental archive)


cheers,

Michael

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

Re: kdepim-sync: Sends calendar into limbo and deletes next time round

by Michael Banck :: Rate this Message:

| View Threaded | Show Only this Message

Hi Georg,

On Fri, Nov 14, 2008 at 02:48:02PM +0100, Georg C. F. Greve wrote:
> Felix Möller <felix@...> wrote:
>
>  fm> sadly I cannot really help. But you should upgrade
>  fm> opensync-plugin-kdepim to 0.37 to match your opensyncutils version.
>
> In Debian sid/testing, the closest to matching opensyncutils would be
> version 0.36-1 of opensync-plugin-kdepim. There is no opensyncutils
> version 0.36-1, so 0.37 it is.

You shocked me for a second there, but alas, Debian testing/unstable is
all at 0.22 still.  You must have installed opensync-plugin-kdepim
0.36-1 and opensyncutils 0.37-3 from experimental or some 3rd party
site.

>    msynctool --sync e71kdepim --filter-objtype note
>
> and if I do that with versions
>
>    opensync-plugin-kdepim            0.36-1
>    opensyncutils                     0.37-3
>
> the result is
>
>   msynctool --sync e71kdepim --filter-objtype note
>   Synchronizing group "e71kdepim"
>
>   ** ERROR **: file /build/mbanck/opensync-0.22/opensync/opensync_plugin.c: line 457 (osync_plugin_get_path): assertion failed: (plugin)
>   aborting...

That seems to be using opensync-0.22 and 0.36 plugins, which are
incompatbile, hence the assert.

> With versions
>
>      opensync-plugin-kdepim            0.22-3
>      opensyncutils                     0.22-2
>
> the problem persists. Here is the log of running msynctool twice in a
> row, first time it transfers all the contacts to the KDEPIM backend, and
> says all is good, second time it deletes all the entries on the phone.

That is probably a genuine bug in 0.22 then, but unfortunately, 0.22
bugs are not actively triaged and fixed anymore.

You can get the 0.37 packages from Debian experimental; or if you
contact me privately, I can provide you with 0.38 packages
(opensync-0.38 is currently pending manual addition to the Debian
experimental archive)


cheers,

Michael

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

Re: kdepim-sync: Sends calendar into limbo and deletes next time round

by Bugzilla from greve@fsfe.org :: Rate this Message:

| View Threaded | Show Only this Message

On Mon, 17 Nov 2008 13:56:24 +0100
Michael Banck <mbanck@...> wrote:

 mb> You must have installed opensync-plugin-kdepim 0.36-1 and
 mb> opensyncutils 0.37-3 from experimental or some 3rd party site.

Yes, that is precisely what I did.

Unfortunately there weren't matching versions available in Debian for
the 0.3X versions of the packages so this was the only thing I could try
at the time.


 mb> You can get the 0.37 packages from Debian experimental;

That is what I tried, the error

  ** ERROR **: file /build/mbanck/opensync-0.22/opensync/opensync_plugin.c: line 457 (osync_plugin_get_path): assertion failed: (plugin)
  aborting...

occurs with versions

  libopensync0                  0.22-2      
  libopensync1exp3              0.36-2      
  libopensync1exp4              0.36+r3307-1
  libopensync1exp5              0.37-3      
  libopensync1exp5-dev          0.37-3      
  opensync-format-vformat       0.37-1      
  opensync-module-python        0.36-2      
  opensync-plugin-file          0.37-1      
  opensync-plugin-kdepim        0.36-1      
  opensync-plugin-syncml        0.37-1      
  opensyncutils                 0.37-3      
  python-opensync               0.37-3      
  multisync-tools               0.92.0~svn355-1
  multisync0.90                 0.92.0~svn355-1

installed.

So it seems there is some kind of incompatibility between 0.36 and 0.37.


 mb> or if you contact me privately, I can provide you with 0.38
 mb> packages (opensync-0.38 is currently pending manual addition to the
 mb> Debian experimental archive)

That would be greatly appreciated.

If you send me an email with a link to retrieve those archives, I can
give them a try tonight.

Regards,
Georg

--
Georg C. F. Greve                                 <greve@...>
Free Software Foundation Europe                 (http://fsfeurope.org)
President                                      +41 43 500 03 66 ext 400

Join the Fellowship and protect your freedom!     (http://www.fsfe.org)


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

attachment0 (314 bytes) Download Attachment

Parent Message unknown Re: kdepim-sync: Sends calendar into limbo and deletes next time round

by Michael Banck :: Rate this Message:

| View Threaded | Show Only this Message

On Mon, Nov 17, 2008 at 04:14:33PM +0100, Georg C. F. Greve wrote:
> On Mon, 17 Nov 2008 13:56:24 +0100
> Michael Banck <mbanck@...> wrote:
>
>  mb> You must have installed opensync-plugin-kdepim 0.36-1 and
>  mb> opensyncutils 0.37-3 from experimental or some 3rd party site.
>
> Yes, that is precisely what I did.

OK.
 
>  mb> You can get the 0.37 packages from Debian experimental;
>
> That is what I tried, the error
>
>   ** ERROR **: file /build/mbanck/opensync-0.22/opensync/opensync_plugin.c: line 457 (osync_plugin_get_path): assertion failed: (plugin)
>   aborting...

Note the "opensync-0.22" in there.

> occurs with versions
>
>   libopensync0                  0.22-2      
>   libopensync1exp3              0.36-2      
>   libopensync1exp4              0.36+r3307-1
>   libopensync1exp5              0.37-3      
>   libopensync1exp5-dev          0.37-3      
>   opensync-format-vformat       0.37-1      
>   opensync-module-python        0.36-2      
>   opensync-plugin-file          0.37-1      
>   opensync-plugin-kdepim        0.36-1      
>   opensync-plugin-syncml        0.37-1      
>   opensyncutils                 0.37-3      
>   python-opensync               0.37-3      
>   multisync-tools               0.92.0~svn355-1
>   multisync0.90                 0.92.0~svn355-1

What's missing is the version of the "msynctool" package.  I guess your
problem is that it is still at 0.22-something, leading to the above
assertion.  If so, upgrade it to 0.3x as well.

> So it seems there is some kind of incompatibility between 0.36 and 0.37.

The problem with kdepim is that it had not been ported to the 0.37 API,
so no 0.37 packages are available.  It looks like it has not been ported
to the 0.38 API yet, either, so trying out 0.38 won't help you there,
I'm afraid.
 
So I guess the only thing you can currently do is downgrade to 0.36,
maybe via snapshot.debian.net, or if you still have those packages in
your cache (I might still have them on my harddisk, although only for
i386, so if you are on amd64, I can't help you there)

>  mb> or if you contact me privately, I can provide you with 0.38
>  mb> packages (opensync-0.38 is currently pending manual addition to the
>  mb> Debian experimental archive)
>
> That would be greatly appreciated.

Maybe you can at least test the syncml<->file scenario, hopefully the
colliding ID issue has been fixed.


Michael

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

Re: kdepim-sync: Sends calendar into limbo and deletes next time round

by Bugzilla from greve@fsfe.org :: Rate this Message:

| View Threaded | Show Only this Message

On Mon, 17 Nov 2008 16:42:22 +0100
Michael Banck <mbanck@...> wrote:

 >> multisync-tools               0.92.0~svn355-1
 >> multisync0.90                 0.92.0~svn355-1

 mb> What's missing is the version of the "msynctool" package.

There is no msynctool package installed, multisync-tools replaces it and
the two are mutually exclusive by dependencies.

Note now their version would imply that they are newer than msynctool
(0.36), but that does not seem to be the case, as these packages depend
on the 0.22 libraries, so I assume these are the culprits.

I'd love to give the newer package a spin, but unfortunately the
msynctool package is not installable due to unsatisfied dependencies,
more precisely libopensync1exp4 is unavailable, see

   http://packages.debian.org/experimental/msynctool

So this is where this path breaks, ultimately.


 mb> The problem with kdepim is that it had not been ported to the 0.37
 mb> API, so no 0.37 packages are available.  It looks like it has not
 mb> been ported to the 0.38 API yet, either, so trying out 0.38 won't
 mb> help you there, I'm afraid.

I see. How unfortunate.

 
 mb> So I guess the only thing you can currently do is downgrade to 0.36

Right now my problem is that I can't upgrade to msynctool 0.36 due to
the library issues. So this is probably where I'll have to stop, as I
don't have the time to dig deeper into compiling the right libraries for
msynctool and then compiling that by hand right now.


 >> That would be greatly appreciated.

 mb> Maybe you can at least test the syncml<->file scenario, hopefully
 mb> the colliding ID issue has been fixed.

I'll gladly do that. Which packages, though?

Regards,
Georg


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

attachment0 (314 bytes) Download Attachment

Re: kdepim-sync: Sends calendar into limbo and deletes next time round

by Michael Banck :: Rate this Message:

| View Threaded | Show Only this Message

Hi,

On Mon, Nov 17, 2008 at 06:07:42PM +0100, Georg C. F. Greve wrote:

> On Mon, 17 Nov 2008 16:42:22 +0100
> Michael Banck <mbanck@...> wrote:
>
>  >> multisync-tools               0.92.0~svn355-1
>  >> multisync0.90                 0.92.0~svn355-1
>
>  mb> What's missing is the version of the "msynctool" package.
>
> There is no msynctool package installed, multisync-tools replaces it and
> the two are mutually exclusive by dependencies.
>
> Note now their version would imply that they are newer than msynctool
> (0.36), but that does not seem to be the case, as these packages depend
> on the 0.22 libraries, so I assume these are the culprits.

Yes, multisync-tools 0.9x is from the 0.22 series.  The whole naming is
rather unfortunate at this point.

> I'd love to give the newer package a spin, but unfortunately the
> msynctool package is not installable due to unsatisfied dependencies,
> more precisely libopensync1exp4 is unavailable, see
>
>    http://packages.debian.org/experimental/msynctool

I see, I reuploaded libopensync1exp4 to
http://people.debian.org/~mbanck/libopensync1exp4_0.36+r3307-1_i386.deb

However, libopensync1exp4 was an intermediate snapshot between 0.36 and
0.37, and goes with msynctool_0.36-2, but no kdepim plugin package is
available for that I think.  

You can get the original 0.36 packages from snapshot.debian.net:

http://hikaru.fsij.org/archive/2008/02/20/debian/pool/main/o/opensync/opensyncutils_0.36-1_i386.deb
http://hikaru.fsij.org/archive/2008/02/20/debian/pool/main/m/msynctool/msynctool_0.36-1_i386.deb
http://hikaru.fsij.org/archive/2008/02/20/debian/pool/main/o/opensync/libopensync1exp3_0.36-1_i386.deb
http://hikaru.fsij.org/archive/2008/02/20/debian/pool/main/libo/libopensync-plugin-kdepim/opensync-plugin-kdepim_0.36-1_i386.deb
http://hikaru.fsij.org/archive/2008/02/20/debian/pool/main/libo/libopensync-plugin-syncml/opensync-plugin-syncml_0.36-1_i386.deb
http://hikaru.fsij.org/archive/2008/02/20/debian/pool/main/libo/libopensync-plugin-file/opensync-plugin-file_0.36-1_i386.deb
http://hikaru.fsij.org/archive/2008/02/20/debian/pool/main/libo/libopensync-plugin-vformat/opensync-format-vformat_0.36-1_s390.deb

Or probably by adding
deb http://hikaru.fsij.org/archive/2008/02/20/debian/ experimental main
to your sources.list and telling apt-get which version to get exactly.

I forgot to upload msynctool-0.37 back then, and I am not sure it makes
sense now that 0.38 is on its way.  If you want, you can grab
msynctool-0.37 from
http://people.debian.org/~mbanck/opensync/msynctool_0.37-1_i386.deb
though as stated before, 0.37 does not support the kdepim plugin.

>  >> That would be greatly appreciated.
>
>  mb> Maybe you can at least test the syncml<->file scenario, hopefully
>  mb> the colliding ID issue has been fixed.
>
> I'll gladly do that. Which packages, though?

I've uploaded them to this APT repository now:

deb http://people.debian.org/~mbanck/opensync-0.38/ ./

Note that except for the core libopensync package, they are preliminary,
but should work (as much as 0.3x opensync is working, anyway).  I
believe you need libsyncml2-0.5.0 for the syncml plugin.


cheers,

Michael

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

Re: kdepim-sync: Sends calendar into limbo and deletes next time round

by Adam Williamson-4 :: Rate this Message:

| View Threaded | Show Only this Message

On Fri, 2008-11-14 at 12:44 +0100, Georg C. F. Greve wrote:

>  - Contacts: works perfectly, but assumes KDE 3.X -- so writes all
>    contacts into .kde/share/apps/kabc/std.vcf instead of the canonical
>    location for KDE4.X, which is .kde4/share/apps/kabc/std.vcf.
>
>    This can be fixed by adding the old location as contact database.
>
>  - Calendar: claims to work, but eats calendar.

Aside from all the replies you've received so far - it's obvious from
your comment on Contacts that you're using KDE 4.

There is no KDE 4 plugin yet, for 0.2 or 0.3. The kdepim plugin is
expressly written for KDE 3 and does not support KDE 4. There's just no
way to sync to the kdepim stuff from KDE 4 in opensync ATM. As you say,
Contacts only happen to work because, apparently, they didn't change the
format at all from 3 to 4.
--
adamw


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

Re: kdepim-sync: Sends calendar into limbo and deletes next time round

by Juha.Tuomala (Bugzilla) :: Rate this Message:

| View Threaded | Show Only this Message




On Wednesday 19 November 2008 19:57:39 Adam Williamson wrote:
> There is no KDE 4 plugin yet, for 0.2 or 0.3. The kdepim plugin is
> expressly written for KDE 3 and does not support KDE 4. There's just no
> way to sync to the kdepim stuff from KDE 4 in opensync ATM.

I don't see any reason why kdepim Directory resource and file-sync
plugin wouldn't be compatible. It works here (as far as we face
other opensync bugs).


Tuju

--
Varo hattupäisiä autoilijoita.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

Re: kdepim-sync: Sends calendar into limbo and deletes next time round

by Adam Williamson-4 :: Rate this Message:

| View Threaded | Show Only this Message

On Wed, 2008-11-19 at 23:25 +0200, Juha Tuomala wrote:

>
>
> On Wednesday 19 November 2008 19:57:39 Adam Williamson wrote:
> > There is no KDE 4 plugin yet, for 0.2 or 0.3. The kdepim plugin is
> > expressly written for KDE 3 and does not support KDE 4. There's just no
> > way to sync to the kdepim stuff from KDE 4 in opensync ATM.
>
> I don't see any reason why kdepim Directory resource and file-sync
> plugin wouldn't be compatible. It works here (as far as we face
> other opensync bugs).

I meant specifically the kdepim plugin, not syncing the files via
file-sync. Unless we're getting wires crossed here.
--
adamw


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

Re: kdepim-sync: Sends calendar into limbo and deletes next time round

by Bugzilla from greve@fsfe.org :: Rate this Message:

| View Threaded | Show Only this Message

On Wed, 19 Nov 2008 09:57:39 -0800
Adam Williamson <awilliamson@...> wrote:

 aw> Aside from all the replies you've received so far - it's obvious
 aw> from your comment on Contacts that you're using KDE 4.

Indeed.


 aw> There is no KDE 4 plugin yet, for 0.2 or 0.3. The kdepim plugin is
 aw> expressly written for KDE 3 and does not support KDE 4.  There's
 aw> just no way to sync to the kdepim stuff from KDE 4 in opensync ATM.

Besides the it being unfortunate to not support the current version of
KDE, I am wondering what causes that incompatibility. KDE3 stores the
Contacts in one big vcard file at

   .kde/share/apps/kabc/std.vcf

whereas KDE4 stores them in one big vcard file in

   .kde4/share/apps/kabc/std.vcf

The Calendar in KDE4 is one big iCalendar file in

   .kde4/share/apps/korganizer/std.ics


If kdepim were trying to write into one large iCalendar file in

   .kde/share/apps/korganizer/std.ics

but failed, because that folder does not exist and it cannot recover
From that error, that would explain the observed behaviour.

Considering that KDE3 and KDE4 both use the standard vcard & iCal
formats, I wonder how kdepim can only work with KDE3. Are you saying
that the kdepim plugin does not manipulate the files, but instead reads
From and writes to some internal API that has changed between versions?

Regards,
Georg


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

attachment0 (314 bytes) Download Attachment

Re: kdepim-sync: Sends calendar into limbo and deletes next time round

by Bugzilla from greve@fsfe.org :: Rate this Message:

| View Threaded | Show Only this Message

On Mon, 17 Nov 2008 18:49:07 +0100
Michael Banck <mbanck@...> wrote:

 mb> You can get the original 0.36 packages from snapshot.debian.net: [...]

Thanks a lot, the problem is that I get
 
 greve@katana:~$ msynctool --sync e71kde
 Synchronizing group "e71kde"
 ERROR: No synchronizable objtype

although I have enabled the Contacts DB entry that was provided as a
sample in the configuration file for the obex client, the kdepim plugin
has no configuration options.


 mb> http://hikaru.fsij.org/archive/2008/02/20/debian/pool/main/libo/libopensync-plugin-vformat/opensync-format-vformat_0.36-1_s390.deb

Interesting. My laptop seems to have received an upgrade. ;)


 mb> Maybe you can at least test the syncml<->file scenario, hopefully
 mb> the colliding ID issue has been fixed.
 >>
 >> I'll gladly do that. Which packages, though?

 mb> I've uploaded them to this APT repository now:

 mb> deb http://people.debian.org/~mbanck/opensync-0.38/ ./

I installed those packages, and configured the devices accordingly.

When I try to synchronise, the response I get is once more

 greve@katana:~$ msynctool --sync e71file
 Synchronizing group "e71file"
 ERROR: No synchronizable objtype

So it seems the Resources sections might need some editing, but I don't
know what exactly should be put in there, which makes it hard to edit
them to add Calendar and Contacts, in particular.

Regards,
Georg



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

attachment0 (314 bytes) Download Attachment

Re: kdepim-sync: Sends calendar into limbo and deletes next time round

by Adam Williamson-4 :: Rate this Message:

| View Threaded | Show Only this Message

On Thu, 2008-11-20 at 17:10 +0100, Georg C. F. Greve wrote:

> Considering that KDE3 and KDE4 both use the standard vcard & iCal
> formats, I wonder how kdepim can only work with KDE3. Are you saying
> that the kdepim plugin does not manipulate the files, but instead reads
> From and writes to some internal API that has changed between versions?

I hadn't actually looked into it that closely. I only know it doesn't
work. If KDE 3 and KDE 4 both use big monolithic files in identical
formats and the original kdepim plugin writes to those, then it would
seem likely that it's trivially simple to port it, yes.

I don't believe that's how it *should* be done for KDE 4, though. The
intention is that everything should go through Akonadi, which is much
like evolution-data-server for GNOME. This has one big advantage in our
case - when using a data server, you don't have to shut down all related
apps before syncing. (Currently, when syncing to/from KDE 3, you have to
shut down all kdepim apps first; you don't have to shut down Evolution
when sync'ing in GNOME).

As I said, I hadn't looked at this in any detail. Maybe I'll take a
quick peek at the code now. If all it's doing is syncing these big
monolithic files, then yes, perhaps it would be easy to hack up a quick
working KDE 4 plugin.
--
adamw


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

Re: kdepim-sync: Sends calendar into limbo and deletes next time round

by Daniel Gollub :: Rate this Message:

| View Threaded | Show Only this Message

On Friday 14 November 2008 12:44:06 Georg C. F. Greve wrote:

> Hi all,
>
> After getting my phone to sync over bluetooth, I was trying to
> synchronise with KDE PIM. The results have been mixed:
>
>  - Notes: fails entire sync, needs to be disabled
>
>  - Contacts: works perfectly, but assumes KDE 3.X -- so writes all
>    contacts into .kde/share/apps/kabc/std.vcf instead of the canonical
>    location for KDE4.X, which is .kde4/share/apps/kabc/std.vcf.
>
>    This can be fixed by adding the old location as contact database.
>
[...]

But this requires to have kdepim3 installed - right?
Since you use the kdepim3 API and share the same "file resource" between KDE4
and KDE3 - right?

This could be dangerous - IIRC we used to have several problems with
backup/restoring/locking of file-resources in kdepim3. There is one very
extrem case:

If you delete all entries in a kdepim3 resource - which cause a file resource
with zero-size, kdepim3 will automatically trigger a restore of some archived
backup (which is done by default automatically) - which ends up in very crazy
unexpected results.

I'm very sorry that we don't published yet any solution for KDE4 - and don't
have something stable for KDE3.

best regards,
Daniel


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel

Re: kdepim-sync: Sends calendar into limbo and deletes next time round

by Daniel Gollub :: Rate this Message:

| View Threaded | Show Only this Message

On Thursday 20 November 2008 17:10:11 Georg C. F. Greve wrote:
[...]
> Considering that KDE3 and KDE4 both use the standard vcard & iCal
> formats, I wonder how kdepim can only work with KDE3. Are you saying
> that the kdepim plugin does not manipulate the files, but instead reads
> From and writes to some internal API that has changed between versions?

Correct - you're indirectly accessing this file by going via KDEPIM3 API.

best regards,
Daniel



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel