Release of SynCE-KPM 0.12

Although it has been released for some time already, finally there is the message on my blog :)

Unfortunately I did not have a lot of time to do this earlier, first of all my time was taken completely by finishing up on my thesis and getting all the details right. After that there was a servercrash at my hosting provider and after that I went on vacation.

The main improvements with SynCE-KPM 0.12 are that some bugs have been fixed and that SynCE-HAL is now supported. This synce-hal is a new connection manager that is intented to replace odccm. The main advantage of synce-hal over odccm is that we do not longer require a separate daemon running (odccm) in the background, but everything is taken care of by HAL. The moment a device is plugged in, HAL will make fire up the needed stuff. Another advantage of SynCE-HAL is that it also is able to work transparently with the legacy way of connecting (i.e. PPP over USB) and that bluetooth is working also (though I don’t know about whether this feature is enabled in the packaged version of synce-hal, I did have it working when running the SVN version of it some time ago).

When people have new ideas of things that can be added to future versions of SynCE-KPM, please let me know and I will see what I can do to implement these wishes. One thing that is still on my own wish list is to implement a remote registry editor. For this I will have to put some more time in pyqt though :)

38 thoughts on “Release of SynCE-KPM 0.12

  1. Hi,
    I am trying to find a program that can use activeSync with Windows Mobile 5 to Ubuntu 8.10 for use of the bluetooth to be able to surf the internet. Is SynCE-KPM able to make it possible to surf over bluetooth through my Ubuntu computer?

    Sorry for my bad English =)

  2. synce-kpm will not be able to do this, but sync-engine, the program that actually does all the activesync communication is able to do this.

    Furthermore, you will need synce-hal (which is the default instead of odccm nowadays anyway). I don’t know whether the bluetooth communication is already enabled in synce-hal by default. If it is, you will only need to create a partnership and after that you should be able to use the internet connection of your ubuntu computer on your mobile phone.

    Let me know if you have more questions.

    Guido Diepen

  3. Hey, I have a giant problem, because this thing does not support WM2003. :(
    I have two packages here.
    One is called synce-kde, and provides an app called “Raki”, which works OK with my WM2003 device, but is not compatible with synce >0.10 (I guess. It works with 0.9.1, but not with 0.12)
    The other one is called synce-kpm (your package), and does work with synce 0.12, but not with my WM2003 device.

    Is there a way to make one of the following solutions possible?
    a) Make SynCE-KPM compatible to WM2003. (The best, but maybe the hardest)
    b) Make Raki run with synce 0.12. (The site for synce-kde does not exist andmore, so I guess it’s dead?)
    c) Have another way of syncing? One that allows me to use custom sync sources written in a basic scripting language (Python, JavaScript, BASH, PHP)

    It’s really quite desolate for my WM2003 device right now. :(

    I will have to downgrade to synce 0.9.1, just to get the old functionality back again…

  4. Oh, and I would be really happy, if you could just mail me when you want to answer me. I’m a programmer too, so maybe I can help you a bit.

  5. Unfortunately, making synce-kpm wm2003 compatible has some issues. Although the majority of the things would work (regarding the managing part), there is some functionality that is different for wm5 and up devices and wm2003 devices. One part for example is about the uninstalling of programs, which is done in a different way for these versions. A lot of things should work, but then the biggest problem is that I do not have access to a wm2003 device that would allow me to test everything the way I want to.

    Raki is not maintained at all anymore, so making it work with synce 0.12 is not really an option anymore.

    Regarding the syncing, if it is the syncing you are interested in, synce-kpm is NOT the program that does the syncing. I only have synce-kpm show the information that synce-sync-engine publishes about the sync-process that is going on. The actual syncing is done via the synce-sync-engine.

    On our website, there are some instructions on syncing wm2003 devices. For these devices, the synce project only provides the needed connectivity layer, the actual syncing is done via the ‘legacy’ opensync plugin “synce”. This plugin was not created by us, but can be downloaded from the opensync website.

    Furthermore, I have put the answer not in direct email, but on the website, such that other people will see the answers also, instead of emailing me later on asking about whether there are answers :)

    Guido Diepen

  6. Hi, after two days of work i am now able to sync my ppc to my fedora installation.
    I like your app very much and there is one simple improvement on my wishlist.
    What do you think of adding an execute option in cmdline to trigger the syncronization by clicking on the green active sync button?
    My intention is to Autostart the app automatically by for example:

    synce-kpm -i -exec msynctoolscript.sh

    where the script starts the syncronization process with msynctool

    What do you think?

  7. This is already possible, though not from synce-kpm. If you look up the example configuration file for sync-engine, you can see that there is an option that will allow you to have sync-engine run a given command whenever a sync is triggered (for example, automatically by the device after some time, but also when you manually press sync on the device). One very important note btw, make sure that whenever you have msynctool run, you have it started in an xterm. The reason for this is, sometimes msynctool could ask questions on what to do in certain situations. If it is not running in an xterminal at that moment, you won’t be able to answer the question and msynctool will be hanging at that moment.

    For the moment I won’t put your request in synce-kpm. In future though, whenever the opensync people decide to have a really nice python API layer, that allows me to modify sync-groups / trigger syncs, I will put this in, because then it will be a much cleaner solution. Although one of the reasons is that I do not consider it a clean solution, the other, more important reason is that at the moment I am very limited in my time. From this summer on I should have time to work on synce-kpm some more, and I hope by that time that the opensync people will have a stable 0.4x version of the library that has better python bindings.

  8. Hi, Guido!

    I can’t get SynCE-KPM to work in my Debian box (only SynCE version 0.11 is available from the repositories). It only blinks the presentation window and goes off. Here is the output I get when I try to start the program from a console window:

    Traceback (most recent call last):
    File “/usr/bin/synce-kpm”, line 26, in
    synceKPM.main.main()
    File “/usr/lib/python2.5/site-packages/synceKPM/main.py”, line 71, in main
    import synceKPM.main_dataserver
    File “/usr/lib/python2.5/site-packages/synceKPM/main_dataserver.py”, line 26, in
    import synceKPM.dataserver.dataserver
    File “/usr/lib/python2.5/site-packages/synceKPM/dataserver/dataserver.py”, line 30, in
    from synceKPM.dataserver.rapiutil import *
    File “/usr/lib/python2.5/site-packages/synceKPM/dataserver/rapiutil.py”, line 23, in
    import xml2util
    File “/usr/lib/python2.5/site-packages/synceKPM/dataserver/xml2util.py”, line 13, in
    import libxslt
    File “/var/lib/python-support/python2.5/libxslt.py”, line 52, in
    import libxsltmod
    ImportError: /var/lib/python-support/python2.5/libxsltmod.so: undefined symbol: xsltInitAllDocKeys
    fabricio@grande:~$ running the GUI Part
    Traceback (most recent call last):
    File “/usr/bin/synce-kpm”, line 26, in
    synceKPM.main.main()
    File “/usr/lib/python2.5/site-packages/synceKPM/main.py”, line 75, in main
    synceKPM.main_gui.main(startIconified)
    File “/usr/lib/python2.5/site-packages/synceKPM/main_gui.py”, line 39, in main
    mainWindow = mainwindow()
    File “/usr/lib/python2.5/site-packages/synceKPM/gui/mainwindow.py”, line 51, in __init__
    self.guiDbus = synceKPM.gui.guiDbus.GuiDbus( self.session_bus, self )
    File “/usr/lib/python2.5/site-packages/synceKPM/gui/guiDbus.py”, line 44, in __init__
    dataServer = self.busConn.get_object(“org.synce.kpm.dataserver”,”/org/synce/kpm/DataServer”)
    File “/var/lib/python-support/python2.5/dbus/bus.py”, line 244, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
    File “/var/lib/python-support/python2.5/dbus/proxies.py”, line 241, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
    File “/var/lib/python-support/python2.5/dbus/bus.py”, line 183, in activate_name_owner
    self.start_service_by_name(bus_name)
    File “/var/lib/python-support/python2.5/dbus/bus.py”, line 281, in start_service_by_name
    ‘su’, (bus_name, flags)))
    File “/var/lib/python-support/python2.5/dbus/connection.py”, line 622, in call_blocking
    message, timeout)
    dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.synce.kpm.dataserver was not provided by any .service files

    Is it a bug or a problem from the Debian repositories version??

    Thank you!

  9. I am sorry for not replying earlier,

    The second part of the message that you see (org.synce.kpm.dataserver cannot be found) is only present because the dataserver had some problems while being initialized. The main problem is the following line:

    ImportError: /var/lib/python-support/python2.5/libxsltmod.so: undefined symbol: xsltInitAllDocKeys

    Unfortunately I don’t know what is causing the error in your case. Could you please provide me with the info which versions of the debian packages you have installed for the python xml/xslt stuff?

    Guido Diepen

  10. dunno about Fabricio Rocha but the versions I have installed are

    python-lxml 2.1.1-2.1
    and
    python-libxslt1 1.1.24-2

    I got them from the debian repo and I am currently running mepis 8. I get the same error text as fabricio.

    thanx for looking into it.

  11. I don’t know exactly what could cause the error then.

    XML related python libararies I have installed on my computer are:
    python-elementtree
    python-libxml2
    python-lxml
    python-libxslt1

    Could you check whether you have all of the above installed and in case you are missing one, see if installing the missing package is the solution?

    Guido Diepen

  12. Thank you so much for your wonderful app! This is the first thing that’s made me able to sync my Windows Mobile HTC devices with Ubuntu!

    The only issue I’ve come across is sync-kpm wants to create a new partnership every time I connect my device. It all works great except for this minor annoyance. Is there a way to force it to recognise previous partnerships? They’re all still listed under activesync on my device.

  13. Hi Chris,

    Synce-KPM does not do anything itself with the partnerships, I just query the partnerships from the sync-engine that is running.

    Could you please tell me what the output of synce-list-partnerships is when synce-kpm is telling you that no partnerships are available?

    Furthermore, could you please provide me the output of the command:
    ls -la ~/.synce

  14. I have a similar problem as the other Chris.
    I am running Kubuntu 8.1 AMD64 with the versions of synce from the ppa.launchpad.net repos currently showing as version 0.13 in Synaptic.

    synce-list-partnerships only displays:
    AVAILABLE DEVICE PARTNERSHIPS
    Index Name Device Host SyncItems
    —– —- —— —- ———

    0 Saidar krizPro SAIDAR [Files ]

    Which is only my partnership with my primary Windows PC. The second partnership for my laptop is missing.
    the ~/.synce directory only has the following:

    kriz@arwen:~$ ls -laR /home/kriz/.synce/
    /home/kriz/.synce/:
    total 12
    drwxr-xr-x 3 kriz kriz 4096 2009-03-05 12:29 .
    drwxr-xr-x 72 kriz kriz 4096 2009-03-06 10:41 ..
    drwxr-xr-x 3 kriz kriz 4096 2009-03-06 10:23 partnerships

    /home/kriz/.synce/partnerships:
    total 16
    drwxr-xr-x 3 kriz kriz 4096 2009-03-06 10:23 .
    drwxr-xr-x 3 kriz kriz 4096 2009-03-05 12:29 ..
    -rw——- 1 kriz kriz 88 2009-03-06 10:21 .directory
    drwxr-xr-x 2 kriz kriz 4096 2009-03-06 10:01 PS-131615493-{3BF96CB1-104E-8A67-E911-EB53623E23E3}

    /home/kriz/.synce/partnerships/PS-131615493-{3BF96CB1-104E-8A67-E911-EB53623E23E3}:
    total 24
    drwxr-xr-x 2 kriz kriz 4096 2009-03-06 10:01 .
    drwxr-xr-x 3 kriz kriz 4096 2009-03-06 10:23 ..
    -rw-r–r– 1 kriz kriz 1390 2009-03-06 10:01 IDB1
    -rw-r–r– 1 kriz kriz 12 2009-03-06 10:05 IDB-FILE
    -rw-r–r– 1 kriz kriz 239 2009-03-06 09:50 psconfig.xml
    -rw-r–r– 1 kriz kriz 965 2009-03-06 09:50 psinfo.dat

    psconfig.xml file:

    0
    Arwen

    1
    0

    The required changes seem to be listed in the IDB1 file but I’m guessing because the partnerships are not being detected, they are not going through.
    Any help at all would be appreciated.

    Chris

  15. Okay..I think I may have solved the problem by editing the pshipmgr.py and the constants.py to take into account SpbWallet and MS OneNote which I was syncing with my windows desktop.

    At least now both partnerships are being detected.

    What probably needs to be done is to set a catchall that will ignore any conduits that it doesn’t know how to deal with instead of throwing an exception.

  16. After installation of “synce-kde3.ymp” on my opensuse 11.1-system I get the message “Die Installation war nur teilweise erfolgreich.
    Folgende Pakete konnten nicht installiert werden
    libopensynce-plugin-synce”.
    In English: “The package The installation was only partially complete, libopensynce-plugin-synce couldn’t be installed.” What is the reason? What can I do for a complete installation? Can you help me please? Opensynce doesn’t work.
    Peter B.

  17. Hi Peter,

    This appears to me as a packaging problem. Unfortunately I am not an OpenSuse person, so I don’t know too much about the packaging in OpenSuse. I do know that there is a person active on our synce-users mailinglist that is active in packaging for OpenSuse. Therefore, I would like to suggest you to send this question to our synce-users mailinglist.

    Sorry that I can’t help you directly, but hopefully the mailinglist can help you furhter.

    Kind regards,

    Guido Diepen

  18. Hi Guido.
    I’ve followed this tutorial http://ubuntuforums.org/archive/index.php/t-1035920.html and everything was fine till today. I can’t sync anymore, synce-kpm doesn’t show the partnerships. I erased them from my PDA and try to create a new one but synce-kpm doesn’t show the list of items to be sync, so I can’t create partnerships. Does anybody have this problem? And what can be done to solve it?.
    Thanks for helping. All the best,
    Roger
    HTC Diamond WM 6.1
    Asus Eeepc 701
    Ubuntu 8.10 intrepid

  19. Hi Roger,

    This probably is related to a problem with a faulty library in the current packages. I have already created a post on my blog about this also. Please be patient and try to update your packages regularly. There should be new packages available within some days.

    Kind regards,

    Guido Diepen

  20. Hi Guido.
    Now it’s working fine again. I’ve noticed that after erasing a partnership and adding a new one, all the data in Evolution is shown twice. Is it an Evolution problem or it has to do with synce-kpm? When a new record is added while syncing, some fields are not shown either, but the data exists and can be display when editing the record, isn’t it strange? Another question is it possible to sync using bluetooth instead USB?
    Cheers.

  21. Hi Guido
    I’m having trouble with getting synce-kpm working on openSUSE11.1 and KDE4.3.1. I followed the tutorial at http://en.opensuse.org/Synce but when I connect my WM6 device nothing happens. Running dmseg shows
    usb 3-1: new full speed USB device using uhci_hcd and address 8
    usb 3-1: configuration #1 chosen from 1 choice
    usb 3-1: New USB device found, idVendor=0bb4, idProduct=0a51
    usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    usb 3-1: Product: USB Serial for Wizard
    usb 3-1: Manufacturer: HTC
    usb 3-1: SerialNumber: [serial number removed]

    so it seems the device is recognised but when I run pls I get

    ** Message: Hal reports no devices connected
    ** Message: Odccm is not running, ignoring
    pls: Could not find configuration at path ‘(Default)’

    Running synce-kpm from the CLI gives

    suntp001:~ # synce-kpm
    Traceback (most recent call last):
    File “/usr/bin/synce-kpm”, line 26, in
    synceKPM.main.main()
    File “/usr/lib/python2.6/site-packages/synceKPM/main.py”, line 72, in main
    synceKPM.main_dataserver.main(False)
    File “/usr/lib/python2.6/site-packages/synceKPM/main_dataserver.py”, line 47, in main
    session_bus = dbus.SessionBus()
    File “/usr/lib/python2.6/site-packages/dbus/_dbus.py”, line 219, in __new__
    mainloop=mainloop)
    File “/usr/lib/python2.6/site-packages/dbus/_dbus.py”, line 108, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
    File “/usr/lib/python2.6/site-packages/dbus/bus.py”, line 125, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
    dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
    suntp001:~ # running the GUI Part
    Traceback (most recent call last):
    File “/usr/bin/synce-kpm”, line 26, in
    synceKPM.main.main()
    File “/usr/lib/python2.6/site-packages/synceKPM/main.py”, line 75, in main
    synceKPM.main_gui.main(startIconified)
    File “/usr/lib/python2.6/site-packages/synceKPM/main_gui.py”, line 41, in main
    mainWindow = mainwindow()
    File “/usr/lib/python2.6/site-packages/synceKPM/gui/mainwindow.py”, line 63, in __init__
    self.session_bus = dbus.SessionBus()
    File “/usr/lib/python2.6/site-packages/dbus/_dbus.py”, line 219, in __new__
    mainloop=mainloop)
    File “/usr/lib/python2.6/site-packages/dbus/_dbus.py”, line 108, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
    File “/usr/lib/python2.6/site-packages/dbus/bus.py”, line 125, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
    dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

    Running ls -la ~/.synce gives

    total 8
    drwx—— 2 root root 4096 2009-09-08 15:54 .
    drwx—— 39 root root 4096 2009-09-08 19:01 ..

    I have syce-kpm 0.14-1.1 installed. Any help appreciated.

    Thanks

  22. To make the testing easier, there is no purpose in running/testing synce-kpm as long as the command “pls” (or “synce-pls”) does not return a directory listing. SynCE-KPM uses the same data connection, meaning if pls does not work, synce-kpm for sure will not work either.

    Can you please provide with the following details:
    * output of ifconfig -a (After you have connected the device).
    * Are you running a firewall?
    * Are you running things like SELinux / AppArmor
    * Is the device setup to use USB connection for ActiveSync ( verify by going to Start > Programs > ActiveSync > Menu > Connections. The checkbox should be activated and the drop down box should read something like USB.

    Please send the output / answer for the above questions. This will allow me hopefully to help you get the connection working.

    Kind Regards,

    Guido Diepen

  23. Hi Guido,
    My phone is an IPAQ514 and my OS is Ubuntu 9.04: I have installed synce-kpm and it seems working well, however I don’t understand how (and/or where) to get data (addressbook, Calendar …). Currently I use Evolution, but I could use Kontact, too.
    Thanks
    Carlo

  24. I don’t get a connection with synce-kpm. Is there any log I could check?
    I’ve installed synce-hal, synce-kpm, synce-sync-engine, libsynce0, librra0, librra-tools

    I’m running ubuntu (notebook), WindowsMobile 6.1 (HTC Touch Diamond 2)

    No FW running.

    lsusb says:
    Bus 002 Device 006: ID 0bb4:0b30 High Tech Computer Corp.

    synce-pls says:
    ** (process:6399): CRITICAL **: synce_info_from_hal: Failed to obtain property pda.pocketpc.name for device /org/freedesktop/Hal/devices/net_80_00_60_0f_e8_00: org.freedesktop.Hal.NoSuchProperty: No property pda.pocketpc.name on device with id /org/freedesktop/Hal/devices/net_80_00_60_0f_e8_00

    ** (process:6399): WARNING **: synce_info_from_odccm: Failed to get devices: The name org.synce.odccm was not provided by any .service files
    synce-pls: Could not find configuration at path ‘(Default)’

    any hint appreciated

  25. Hi,
    I search something with this I can connect 2 Windows Mobile Phones to one pc.
    Is this possible?

    Regards,
    rbs

  26. I had been honored to obtain a call coming from a friend as he observed the important points shared on your own site. Reading through your blog write-up is a real excellent experience. Thank you for taking into account readers just like me, and I hope for you the best of achievements as being a professional surface area.

  27. This is usually a fantastic publish! I favor this specific topic. This webpage has lots associated with advantages! I discovered various fascinating points working with this site. It will help me personally in several approaches. Thank you for posting this as soon as extra.

  28. Attractive element of content. I just stumbled upon your blog and in accession capital to claim that I get in fact loved account your weblog posts. Any way I’ll be subscribing inside your augment or even I fulfillment you get admission to persistently quickly.

  29. hey this blogis excelent,we post here regular and find comments are helping me with my site also

  30. I gefunden weblog Website auf Google und überprüfen ein paar Ihrer frühen Beiträge. Weiter zu halten die sehr gute betreiben. I gerade weitere Ihr RSS-Feed zu meinem MSN News Reader. Suchen vor bis lesen extra danach ! …

  31. In fact, the factors is actually the sweetest on this valuable posting. I harmonise with your sum and will hopefully expect your future updates. Saying thanks will not just be full, for the great clarity in your essay.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>