seg fault with libsyncml [was: Re: Fwd: Re: pisi depenencies (because of forgot to send in the list)]
Michael Pilgermann
kichkasch at gmx.de
Wed Jan 20 21:57:17 CET 2010
Hi all,
I got really enthusiastic when I heart about the available syncml libs
now ...
So; I started my tests again - taking PISI on desktop with syncml source
first - all working perfectly; doing exactly the same on the Freerunner
(SHR-T; libsyncml2 installed) gives me a seg fault!?
Any ideas or experiences with that??
(Best would be of course also with a Python wrapper)
Thanks,
Michael
On 01/15/2010 10:23 AM, Vinzenz Hersche wrote:
> hello michael,
>
> are you german (becuase of the e-mail)? if yes, i am swiss(german) ;)
>
> it was about pisi.. but i solved this problem 10 minutes later by checking out
> your git-repo ;)
>
> first i searched it in google.. because of the name i've thinked, it's a
> python-package and it isn't in your project..
>
> mh, to explain it clearer.. maybe you tried the diffrent apps in qtmoko.. there
> is a app "synchronisation".. this app starts a little server (like sshd or so)
> and i've thinked,it's using syncml.. or maybe.. so i tried it, but it wasn't
> work.
>
> i know now (it was a long night yesterday, till 2:30 ;) ) that, at least the
> old qtopia-versions are using the opie-standart
> (http://opie.handhelds.org/cgi-
> bin/moin.cgi/OpieSyncProtocol?action=highlight&value=qtopia)
>
> there is also a plugin for opensync (https://svn.opensync.org/plugins/qtopia4-
> sync/src/qtopia4_plugin.cpp) but its developement seems stoped.. and last, but
> not least, there's qtopia-pimsync
> (https://code.launchpad.net/~saschpe/+junk/qtopia-pimsync) which is maybe
> usefull for code-examples but you need to emulate a qtopia-device or so to run
> the app..
>
> i hope, you understand my idea a little bit better.. it was my mistake to
> belive, qtmoko use syncml.. but if you're able to use the qtmoko-sync-app on
> desktopside, it would be a really nice thing.. :)
>
> vinzenz
> -----------------------------------------------
> Michael schrieb am Freitag 15 Januar 2010:
> Good morning Vinzenz,
>
> I think, I did not fully understand you question - I am noticing that now.
> It's not about PISI in particular, but more about how I integrated the syncml
> thing ...??
>
> Well - let me start this way: It was a pain in the ass! Honestly. Libs are
> really rare - and documentation is even "rarer".
> I tried a few of them - ending up with an alpha branch of Conduit
> (http://live.gnome.org/Conduit). In the sources I found some unstable code for
> syncing against Syncml
> (http://git.gnome.org/browse/conduit/tree/conduit/modules/SyncmlModule?h=syncml).
> I applied some changes and integrated that into PISI
> (http://github.com/kichkasch/pisi/tree/master/thirdparty/conduit/).
>
> I am still not sure, how you exactly want to integrate with libsyncml ... but
> I hope, this helps a bit.
> As I said: from a Desktop I can sucessfully sync against Syncml-Server (here
> Mobical) with PISI.
>
> Best
> Michael
>
>
> -------- Original-Nachricht --------
>> Datum: Fri, 15 Jan 2010 00:17:12 +0100
>> Von: Vinzenz Hersche <hersche at puzzle.ch>
>> An: Michael Pilgermann <kichkasch at gmx.de>
>> Betreff: Re: pisi depenencies
>
>> hey michael,
>>
>> i've installed the last version of libsyncml, but it doesn't work (but i
>> don't
>> know, if qtopia really use syncml..)
>>
>> the ouput from telnet is this:
>>
>> skamster at skamster:~$ telnet 192.168.0.203 4245
>> Trying 192.168.0.203...
>> Connected to 192.168.0.203.
>> Escape character is '^]'.
>> 220 Qtopia
>>
> 4.4.3;challenge={b7203c47-06bf-4878-9ff5-6afffb2db546};loginname=root;displayname=;protocol=2;system=Qtopia;model=Uncustomized
>> Device;hexversion=263171;datasets=calendar contacts tasks
>> CALLB QD/QDSync forwardedMessage(QString,QString,QByteArray)
>>
> AAAAHABRAEQALwBRAHQAbwBwAGkAYQA0AFMAeQBuAGMAAAAaAGMAbABpAGUAbgB0AEUAcgByAG8AcgAoACn/////
>> Connection closed by foreign host.
>> skamster at skamster:~$
>>
>> i didn't do others testing, but one little thing i've seen.. by
>> self-compiling
>> librarys the name is libsyncml.so.2, not libsyncml.so.0 ... may this helps
>> you
>> to make this module more stable?
>>
>> ah, and it didn't work with the libsyncml in version 4.6 (which was in my
>> repo
>> ;) )
>>
>> i will test the rest later.. but thanks for the mail.. :)
>>
>> vinzenz
>>
>> -----------------------------------------------
>> Michael schrieb am Donnerstag 14 Januar 2010:
>> Hi Vinzenz,
>>
>> in fact, Syncml support is fully implemented in PISI already; however, I
>> haven't yet managed to get all the required libs into PISI - that's why
>> it's not yet in the release (and commented in the config file).
>>
>> The file you are asking for is in the repos
>>
> (http://github.com/kichkasch/pisi/blob/master/thirdparty/conduit/SyncmlModule.py)
>> already; however, this again will depend on 'pysyncml', which in turn
>> depends on syncmllib ...
>>
>> On my desktop I have successfully used the module already ... hope, I
>> (or somebody) can create and apply a recipe for SHR from libsyncml
>> (https://libsyncml.opensync.org/) soon ... off we would go then ...
>>
>> As temporary solution for your desktop:
>> 1) Install libsyncml (download sources from link given above) with
>> required deps (something with xml and another one)
>> 2) Extract the attached archive to '/opt/pisi/thirdparty'
>>
>>
>> 3) give me feedback ;) ... good luck!
>>
>> Michael
>>
>>
>> On 01/14/2010 05:10 PM, Vinzenz Hersche wrote:
>>> hello all,
>>>
>>> i just want to know if there's a package for python/syncml on
>> desktop-pc's..
>>> it's because of pisi:
>>> skamster at skamster:~$ pisigui
>>> Xlib: extension "RANDR" missing on display ":0.0".
>>> Configuring
>>> Starting synchronization
>>> My configuration is:
>>> Mode is 0 - calendar
>>> In case of conflicts I use the following strategy: Skip
>>> Reading configfile: /home/skamster/.pisi/conf
>>> ics-module using file /home/skamster/cal.ics
>>> Traceback (most recent call last):
>>> File "/usr/bin/pisigui", line 296, in startSync
>>> source = pisi.importModules(configfolder, config, modulesToLoad,
>>> modulesNamesCombined, False)
>>> File "/opt/pisi/pisi.py", line 81, in importModules
>>
>>> exec "from modules import " + modulename + " as module"+i.__str__()
>>
>>> File "<string>", line 1, in <module>
>>
>>> File "/opt/pisi/modules/calendar_syncml.py", line 34, in <module>
>>
>>> import thirdparty.conduit.SyncmlModule as SyncmlModule
>>>
>>> i found nowhere something about this importet module. but if my idea is
>> right
>>> (that sync on qtmoko works with syncml) it would be great, because then
>> it's
>>> possible to sync all calendar- and contact-data betwen pc, web and
>> moko.. :)
>>>
>>> and i use sidux, but it's most time similiar to ubuntu (if someone
>> know's
>>> where the right package is.. )
>>>
>>> greets
>>>
>>> _______________________________________________
>>> Openmoko community mailing list
>>> community at lists.openmoko.org
>>> http://lists.openmoko.org/mailman/listinfo/community
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
More information about the community
mailing list