Discussion:
pyrapi2
Philip Aston
2008-02-09 01:38:42 UTC
Permalink
pyrapi2 is causing trouble:
1 trying to install synce-kpm-0.11, reads:
"/home/phil/Desktop/synce-kpm-0.11/synceKPM/util/commutil.py", line 24,
in ?
from pyrapi2 import *
ImportError: No module named pyrapi2

2-trying to install synce-install-plugins, reads:
"import pyrapi2
ImportError: /usr/lib/python2.4/site-packages/pyrapi2.so: undefined
symbol: rapi_connection_from_path"

I built pyrapi from source but evidently insufficient.

I'm sure this is why I still can't synchronize altho following
sync-engine install I get incorrect libraries when I try to configure
ipaq through synce, rather than no plugins installed. Is this progress I
wonder?
Can't find anything on pyrapi2- Mark has kindly replied to a post on
sourceforge about this. But is this familiar to anyone?-Phil
Guido Diepen
2008-02-10 15:05:48 UTC
Permalink
Post by Philip Aston
"/home/phil/Desktop/synce-kpm-0.11/synceKPM/util/commutil.py", line 24,
in ?
from pyrapi2 import *
ImportError: No module named pyrapi2
"import pyrapi2
ImportError: /usr/lib/python2.4/site-packages/pyrapi2.so: undefined
symbol: rapi_connection_from_path"
I built pyrapi from source but evidently insufficient.
Which source did you use and how exactly did you install it?

If you downloaded a separate library called pyrapi, then that is your problem.
pyrapi is now part of the librapi2 library (at least in the 0.11 release and
the SVN version).

Guido Diepen
Post by Philip Aston
I'm sure this is why I still can't synchronize altho following
sync-engine install I get incorrect libraries when I try to configure
ipaq through synce, rather than no plugins installed. Is this progress I
wonder?
Can't find anything on pyrapi2- Mark has kindly replied to a post on
sourceforge about this. But is this familiar to anyone?-Phil
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
SynCE-Devel mailing list
https://lists.sourceforge.net/lists/listinfo/synce-devel
--
Aviation is proof that given the will, we have the
capacity to achieve the impossible.
--Eddie Rickenbacker
Mark Ellis
2008-02-11 11:55:03 UTC
Permalink
Post by Philip Aston
"/home/phil/Desktop/synce-kpm-0.11/synceKPM/util/commutil.py", line 24,
in ?
from pyrapi2 import *
ImportError: No module named pyrapi2
"import pyrapi2
ImportError: /usr/lib/python2.4/site-packages/pyrapi2.so: undefined
symbol: rapi_connection_from_path"
I built pyrapi from source but evidently insufficient.
I'm sure this is why I still can't synchronize altho following
sync-engine install I get incorrect libraries when I try to configure
ipaq through synce, rather than no plugins installed. Is this progress I
wonder?
Can't find anything on pyrapi2- Mark has kindly replied to a post on
sourceforge about this. But is this familiar to anyone?-Phil
Hi Phil, glad you're on the list, it's easier to keep track.

Sounds like you have an old version of pyrapi as well as the one you
built from source. Remove any old rapi packages you installed with a
package manager.

Mark
Philip Aston
2008-02-13 01:41:50 UTC
Permalink
Hi Mark,Guido

First, I appreciate all your help and patience in bearing with the
blundering of an amateur! Normal Linux advice is to get your hands dirty
and go for it, but I can see that I have a very muddled system between
testing, unstable, subversion and elsewhere, so I'm going to stop
digging just for now.

I kept a log of sorts, perhaps you could take a look at this summary and
tell me what you think. At the mo I can only connect with Raki from the
utilities menu, then synce-serial-start in terminal. When I try to
"configure" I get the wrong library message, as noted.

I have the following on apt:

librapi2 0.9.3.3. also -dev and -tools, librra0
0.10.0.1,librra-tools,librtfcomp0 1.1.1libsynce0
1-1.1,libsynce0-dev0.11-1.odccm0.10.0.1.,python-rtfcomp 1.1-1,synce-dccm
0.9.1.3,synce-kde 0.9.1.1,synce-kde-dev 0.9.1.1,syncekonnector
0.3.2.3,syncekonnector-dev 0.3.2.3,synce-multisync-plugin 0.9.0.4,
synce-serial0.9.1-3.1, usb-rndis-modules 2.6.22.3.686 0.10.0.1.+
2.6.22.686, usb-rndis-source 0.10.0-1

kitchensync 4.3.5.8-1,libopensync0 and the dbg & dev 0.19.1.2,
multisync0.90 0.91.0.4.2, multisync-tools 0.91.0.4.2, opensync-plugin
-evolution 0.19.1+b1, opensync-plugin-file & -irms & kdepim & syncml
0.19.1, opensyncutils 0.19.1.2, python-opensync 0.19.1.2.

librapi2 0.9.3.3 also -dev & -tools

I have recently removed some "unstable" packages with "testing" as
another Debian user recommends that it had resolved this sort of
problem- and it's a safe option. I kept some screenshots. The main
change was replacing libopensync-plugin-evolution2 0.22-etch2. If I
need to check exactly what I have done here I will need to add "sid" to
sources.list and see what it offers in the synce and opensync areas.

I have built odccm, librapi2, libsynce, all presumably versions 0.11
from svn following

http://www.synce.org/moin/SynceTools/SynceKpm

which advised "Preferably you need to install the odccm, librapi2, and
libsynce from SVN for the moment "
I took instruction from
http://www.synce.org/moin/SynceInstallation/SubversionRequirements
and built the above.

I can see now that I also have older odccm librapi and libsynce from
apt, also note that I cannot install librra-dev 0.9.1.1. because it
requires librra-0 0.9.1.1. but I have 0.10.0.1

There were instructions for patching/rebuilding kernel- I don't have the
skill, also have a system working perfectly, so decided not to try.

Moved on to the synce-kpm 0.11 instructions and resolved initial problem
by apt-get python-distutils-extra python-setuptools
python-libxslt1,python lxml. Advice was then that some building from
source is required.

I met: ImportError: No module named pyrapi2

So I built pyrapi from http://freshmeat.net/projects/pyrapi/

but did not keep the system messages so can't backtrace- that's a
mistake, I know. This is the only app. I have that's not from synce.
(Thank you for the comment Guido- is there a way back?)

at that point I tried

http://www.synce.org/moin/SynceWithDebian

stalled on libwbxml, I posted request for help in reply to Dr Gow's
thread libwbxml-free search engine. Later I resolved it with a thread on
http://www.nabble.com/No-libxml-2.0-packaged-found-td14286978.html
"You need to install the development package of libxml2, usually named

libxml2-devel. "

got this from apt and continued.

built pywbxml from subversion

added deb http://opensync.gforge.punktart.de/repo/opensync-0.21/ etch
main

deb-src http://opensync.gforge.punktart.de/repo/opensync-0.21/ etch main
to sources.ist

then apt-get install libopensync-plugin-evolution2
libopensync-plugin-python msynctool

Followed these instructions:

"Now to allow opensync to speak to to synce:

svn co http://synce.svn.sf.net/svnroot/synce/trunk/sync-engine

cd sync-engine

sudo ln -sf opensync-plugin.py /usr/lib/opensync/python-plugins/synce.py

My previous post details trouble with synce-install-plugins, also
pyrapi2

And that is as far as I have got! Thanks.
Guido Diepen
2008-02-13 08:14:30 UTC
Permalink
Hi Philip,
Post by Philip Aston
Hi Mark,Guido
First, I appreciate all your help and patience in bearing with the
blundering of an amateur! Normal Linux advice is to get your hands dirty
and go for it, but I can see that I have a very muddled system between
testing, unstable, subversion and elsewhere, so I'm going to stop
digging just for now.
This mixing of versions really might cause major problems.....

One other thing, it is not clear to me what kind of device you have, do you
have a WM5/6 device, or do you have a WM2003 device.

In case you have a WM5/6 device, synce-kde will not work. If you have a wm2003
device, synce-kpm (probably) will not work, I have not tested that.
Post by Philip Aston
I kept a log of sorts, perhaps you could take a look at this summary and
tell me what you think. At the mo I can only connect with Raki from the
utilities menu, then synce-serial-start in terminal. When I try to
"configure" I get the wrong library message, as noted.
librapi2 0.9.3.3. also -dev and -tools, librra0
0.10.0.1,librra-tools,librtfcomp0 1.1.1libsynce0
1-1.1,libsynce0-dev0.11-1.odccm0.10.0.1.,python-rtfcomp 1.1-1,synce-dccm
0.9.1.3,synce-kde 0.9.1.1,synce-kde-dev 0.9.1.1,syncekonnector
0.3.2.3,syncekonnector-dev 0.3.2.3,synce-multisync-plugin 0.9.0.4,
synce-serial0.9.1-3.1, usb-rndis-modules 2.6.22.3.686 0.10.0.1.+
2.6.22.686, usb-rndis-source 0.10.0-1
kitchensync 4.3.5.8-1,libopensync0 and the dbg & dev 0.19.1.2,
multisync0.90 0.91.0.4.2, multisync-tools 0.91.0.4.2, opensync-plugin
-evolution 0.19.1+b1, opensync-plugin-file & -irms & kdepim & syncml
0.19.1, opensyncutils 0.19.1.2, python-opensync 0.19.1.2.
librapi2 0.9.3.3 also -dev & -tools
If you have a WM5/WM6 device, it might be a wise decission to remove all of
these packages, since, there already are differences within the versions of
these and you will need the newest version anyways.
Post by Philip Aston
I have recently removed some "unstable" packages with "testing" as
another Debian user recommends that it had resolved this sort of
problem- and it's a safe option. I kept some screenshots. The main
change was replacing libopensync-plugin-evolution2 0.22-etch2. If I
need to check exactly what I have done here I will need to add "sid" to
sources.list and see what it offers in the synce and opensync areas.
I have built odccm, librapi2, libsynce, all presumably versions 0.11
from svn following
http://www.synce.org/moin/SynceTools/SynceKpm
That is good that you built them from SVN, but if you also have them still
through apt installed, they will interfere.
Post by Philip Aston
which advised "Preferably you need to install the odccm, librapi2, and
libsynce from SVN for the moment "
I took instruction from
http://www.synce.org/moin/SynceInstallation/SubversionRequirements
and built the above.
I can see now that I also have older odccm librapi and libsynce from
apt, also note that I cannot install librra-dev 0.9.1.1. because it
requires librra-0 0.9.1.1. but I have 0.10.0.1
There were instructions for patching/rebuilding kernel- I don't have the
skill, also have a system working perfectly, so decided not to try.
There are two options: patch the kernel, but the other option, creating the
new kernel module is only downloading the source, making sure you have the
kernel headers installed, run ./clean.sh and make and make install and you
are done (really really easy)

But again, you will only need this if you have a WM5/6 device. If you have a
WM2003 device, don't bother with creating the kernel modules.
Post by Philip Aston
Moved on to the synce-kpm 0.11 instructions and resolved initial problem
by apt-get python-distutils-extra python-setuptools
python-libxslt1,python lxml. Advice was then that some building from
source is required.
I met: ImportError: No module named pyrapi2
So I built pyrapi from http://freshmeat.net/projects/pyrapi/
but did not keep the system messages so can't backtrace- that's a
mistake, I know. This is the only app. I have that's not from synce.
(Thank you for the comment Guido- is there a way back?)
You should not build pyrapi from that source. Currently the python bindings
(pyrapi) for the rapi2 lib are part of the librapi2 package we provice.

Hope the above part helps a bit, first we will get that to work, after that we
will start looking at the syncing below ;)

Guido Diepen
Post by Philip Aston
at that point I tried
http://www.synce.org/moin/SynceWithDebian
stalled on libwbxml, I posted request for help in reply to Dr Gow's
thread libwbxml-free search engine. Later I resolved it with a thread on
http://www.nabble.com/No-libxml-2.0-packaged-found-td14286978.html
"You need to install the development package of libxml2, usually named
libxml2-devel. "
got this from apt and continued.
built pywbxml from subversion
added deb http://opensync.gforge.punktart.de/repo/opensync-0.21/ etch
main
deb-src http://opensync.gforge.punktart.de/repo/opensync-0.21/ etch main
to sources.ist
then apt-get install libopensync-plugin-evolution2
libopensync-plugin-python msynctool
svn co http://synce.svn.sf.net/svnroot/synce/trunk/sync-engine
cd sync-engine
sudo ln -sf opensync-plugin.py /usr/lib/opensync/python-plugins/synce.py
My previous post details trouble with synce-install-plugins, also
pyrapi2
And that is as far as I have got! Thanks.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
SynCE-Devel mailing list
https://lists.sourceforge.net/lists/listinfo/synce-devel
--
Aviation is proof that given the will, we have the
capacity to achieve the impossible.
--Eddie Rickenbacker
Philip Aston
2008-02-14 23:07:24 UTC
Permalink
Thanks for further reply Guido. To confirm:
I have ipaq rz 1710 running Windows Mobile 2003 Second Edition 4.21.1088
build 14132 (bought in 2004).
As you say, synce-kpm may be unsuitable for wm2003 device. I think I
have 3 choices:

1 persevere with synce-kpm build from SVN, first removing all the apt
packages I have listed.
Having read Achim's post "There was an issue about dependency with
python: python_rapi2 depends
on python < 2.5 which causes problems with ubuntu where python 2.5 is
standard." there are perhaps 2 reasons why I get pyrapi2 error
messages:
a) -Guido's suggestion re: conflict with apt packages and/or pyrapi
built from different source
b) -Debian testing (the distro I use, with a few "unstable" packages)
has python 2.5 as standard?

And if I do persevere, should I be trying to remove the pyrapi app I
built from http://freshmeat.net/projects/pyrapi/. ? Disk space is not an
issue. I may be able to trace the files installed in this way by running
the installation again, keeping the terminal messages. However, judging
by the readme, this is not a plugin invoked from other packages, but a
small standalone synchronization tool requiring specific code entered in
terminal to operate it. So my instinct is to leave it alone as it is
unlikely to harm any other part of the installation. Would you agree
with this?

2 Run the other way. Leave the svn packages I have built- removal is
probably impractical without risk of damage- remove all the packages I
have listed (I probably still have some versions from unstable). Then
reinstall all of them from "testing" in sources.list see
http://www.kde-forum.org/artikel/16803/Raki-Wrong-library-type-for-Appointment-Contact-an.html and http://ubuntuforums.org/showthread.php?t=231505

3 As 2 but wait until I am ready to do a clean install as I probably
have rubbish all over my system due to the crimes listed below.

Thanks again- Phil
Hi Philip,
Post by Philip Aston
Hi Mark,Guido
First, I appreciate all your help and patience in bearing with the
blundering of an amateur! Normal Linux advice is to get your hands dirty
and go for it, but I can see that I have a very muddled system between
testing, unstable, subversion and elsewhere, so I'm going to stop
digging just for now.
This mixing of versions really might cause major problems.....
One other thing, it is not clear to me what kind of device you have, do you
have a WM5/6 device, or do you have a WM2003 device.
In case you have a WM5/6 device, synce-kde will not work. If you have a wm2003
device, synce-kpm (probably) will not work, I have not tested that.
Post by Philip Aston
I kept a log of sorts, perhaps you could take a look at this summary and
tell me what you think. At the mo I can only connect with Raki from the
utilities menu, then synce-serial-start in terminal. When I try to
"configure" I get the wrong library message, as noted.
librapi2 0.9.3.3. also -dev and -tools, librra0
0.10.0.1,librra-tools,librtfcomp0 1.1.1libsynce0
1-1.1,libsynce0-dev0.11-1.odccm0.10.0.1.,python-rtfcomp 1.1-1,synce-dccm
0.9.1.3,synce-kde 0.9.1.1,synce-kde-dev 0.9.1.1,syncekonnector
0.3.2.3,syncekonnector-dev 0.3.2.3,synce-multisync-plugin 0.9.0.4,
synce-serial0.9.1-3.1, usb-rndis-modules 2.6.22.3.686 0.10.0.1.+
2.6.22.686, usb-rndis-source 0.10.0-1
kitchensync 4.3.5.8-1,libopensync0 and the dbg & dev 0.19.1.2,
multisync0.90 0.91.0.4.2, multisync-tools 0.91.0.4.2, opensync-plugin
-evolution 0.19.1+b1, opensync-plugin-file & -irms & kdepim & syncml
0.19.1, opensyncutils 0.19.1.2, python-opensync 0.19.1.2.
librapi2 0.9.3.3 also -dev & -tools
If you have a WM5/WM6 device, it might be a wise decission to remove all of
these packages, since, there already are differences within the versions of
these and you will need the newest version anyways.
Post by Philip Aston
I have recently removed some "unstable" packages with "testing" as
another Debian user recommends that it had resolved this sort of
problem- and it's a safe option. I kept some screenshots. The main
change was replacing libopensync-plugin-evolution2 0.22-etch2. If I
need to check exactly what I have done here I will need to add "sid" to
sources.list and see what it offers in the synce and opensync areas.
I have built odccm, librapi2, libsynce, all presumably versions 0.11
from svn following
http://www.synce.org/moin/SynceTools/SynceKpm
That is good that you built them from SVN, but if you also have them still
through apt installed, they will interfere.
Post by Philip Aston
which advised "Preferably you need to install the odccm, librapi2, and
libsynce from SVN for the moment "
I took instruction from
http://www.synce.org/moin/SynceInstallation/SubversionRequirements
and built the above.
I can see now that I also have older odccm librapi and libsynce from
apt, also note that I cannot install librra-dev 0.9.1.1. because it
requires librra-0 0.9.1.1. but I have 0.10.0.1
There were instructions for patching/rebuilding kernel- I don't have the
skill, also have a system working perfectly, so decided not to try.
There are two options: patch the kernel, but the other option, creating the
new kernel module is only downloading the source, making sure you have the
kernel headers installed, run ./clean.sh and make and make install and you
are done (really really easy)
But again, you will only need this if you have a WM5/6 device. If you have a
WM2003 device, don't bother with creating the kernel modules.
Post by Philip Aston
Moved on to the synce-kpm 0.11 instructions and resolved initial problem
by apt-get python-distutils-extra python-setuptools
python-libxslt1,python lxml. Advice was then that some building from
source is required.
I met: ImportError: No module named pyrapi2
So I built pyrapi from http://freshmeat.net/projects/pyrapi/
but did not keep the system messages so can't backtrace- that's a
mistake, I know. This is the only app. I have that's not from synce.
(Thank you for the comment Guido- is there a way back?)
You should not build pyrapi from that source. Currently the python bindings
(pyrapi) for the rapi2 lib are part of the librapi2 package we provice.
Hope the above part helps a bit, first we will get that to work, after that we
will start looking at the syncing below ;)
Guido Diepen
Post by Philip Aston
at that point I tried
http://www.synce.org/moin/SynceWithDebian
stalled on libwbxml, I posted request for help in reply to Dr Gow's
thread libwbxml-free search engine. Later I resolved it with a thread on
http://www.nabble.com/No-libxml-2.0-packaged-found-td14286978.html
"You need to install the development package of libxml2, usually named
libxml2-devel. "
got this from apt and continued.
built pywbxml from subversion
added deb http://opensync.gforge.punktart.de/repo/opensync-0.21/ etch
main
deb-src http://opensync.gforge.punktart.de/repo/opensync-0.21/ etch main
to sources.ist
then apt-get install libopensync-plugin-evolution2
libopensync-plugin-python msynctool
svn co http://synce.svn.sf.net/svnroot/synce/trunk/sync-engine
cd sync-engine
sudo ln -sf opensync-plugin.py /usr/lib/opensync/python-plugins/synce.py
My previous post details trouble with synce-install-plugins, also
pyrapi2
And that is as far as I have got! Thanks.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
SynCE-Devel mailing list
https://lists.sourceforge.net/lists/listinfo/synce-devel
Mark Ellis
2008-02-18 10:23:54 UTC
Permalink
Post by Philip Aston
I have ipaq rz 1710 running Windows Mobile 2003 Second Edition 4.21.1088
build 14132 (bought in 2004).
As you say, synce-kpm may be unsuitable for wm2003 device. I think I
1 persevere with synce-kpm build from SVN, first removing all the apt
packages I have listed.
Having read Achim's post "There was an issue about dependency with
python: python_rapi2 depends
on python < 2.5 which causes problems with ubuntu where python 2.5 is
standard." there are perhaps 2 reasons why I get pyrapi2 error
a) -Guido's suggestion re: conflict with apt packages and/or pyrapi
built from different source
b) -Debian testing (the distro I use, with a few "unstable" packages)
has python 2.5 as standard?
And if I do persevere, should I be trying to remove the pyrapi app I
built from http://freshmeat.net/projects/pyrapi/. ? Disk space is not an
issue. I may be able to trace the files installed in this way by running
the installation again, keeping the terminal messages. However, judging
by the readme, this is not a plugin invoked from other packages, but a
small standalone synchronization tool requiring specific code entered in
terminal to operate it. So my instinct is to leave it alone as it is
unlikely to harm any other part of the installation. Would you agree
with this?
Where did you install it, /usr/local ? I would remove it if at all
possible.

I've kind of lost track of you distro, it's debian isn't it ?

Jonny Lamb has got some updated packages into debian unstable. Given you
have a lot of different versions installed, I think the best thing to do
is

1) remove everything you can find that is libsynce, librapi, librra
related, from source or anything else. This will include packages called

libsynce0
libsynce-dev
librapi2
librapi2-dev
librapi2-tools
python-rapi2
librra0
librra-dev
python-rra

2) Do you have unstable in your apt sources.list ? If so just install
the latest versions of the above list from unstable. If not, I can tell
you how to add unstable but not have apt upgrade your whole system.
Post by Philip Aston
2 Run the other way. Leave the svn packages I have built- removal is
probably impractical without risk of damage- remove all the packages I
have listed (I probably still have some versions from unstable). Then
reinstall all of them from "testing" in sources.list see
http://www.kde-forum.org/artikel/16803/Raki-Wrong-library-type-for-Appointment-Contact-an.html and http://ubuntuforums.org/showthread.php?t=231505
Where did you install all the svn packages ? By default they would go
in /usr/local. If you haven't installed anything else important in there
you could just go through and delete every file you find, though dont
delete all the directories !
Post by Philip Aston
3 As 2 but wait until I am ready to do a clean install as I probably
have rubbish all over my system due to the crimes listed below.
Thanks again- Phil
Hi Philip,
Post by Philip Aston
Hi Mark,Guido
First, I appreciate all your help and patience in bearing with the
blundering of an amateur! Normal Linux advice is to get your hands dirty
and go for it, but I can see that I have a very muddled system between
testing, unstable, subversion and elsewhere, so I'm going to stop
digging just for now.
This mixing of versions really might cause major problems.....
One other thing, it is not clear to me what kind of device you have, do you
have a WM5/6 device, or do you have a WM2003 device.
In case you have a WM5/6 device, synce-kde will not work. If you have a wm2003
device, synce-kpm (probably) will not work, I have not tested that.
Post by Philip Aston
I kept a log of sorts, perhaps you could take a look at this summary and
tell me what you think. At the mo I can only connect with Raki from the
utilities menu, then synce-serial-start in terminal. When I try to
"configure" I get the wrong library message, as noted.
librapi2 0.9.3.3. also -dev and -tools, librra0
0.10.0.1,librra-tools,librtfcomp0 1.1.1libsynce0
1-1.1,libsynce0-dev0.11-1.odccm0.10.0.1.,python-rtfcomp 1.1-1,synce-dccm
0.9.1.3,synce-kde 0.9.1.1,synce-kde-dev 0.9.1.1,syncekonnector
0.3.2.3,syncekonnector-dev 0.3.2.3,synce-multisync-plugin 0.9.0.4,
synce-serial0.9.1-3.1, usb-rndis-modules 2.6.22.3.686 0.10.0.1.+
2.6.22.686, usb-rndis-source 0.10.0-1
kitchensync 4.3.5.8-1,libopensync0 and the dbg & dev 0.19.1.2,
multisync0.90 0.91.0.4.2, multisync-tools 0.91.0.4.2, opensync-plugin
-evolution 0.19.1+b1, opensync-plugin-file & -irms & kdepim & syncml
0.19.1, opensyncutils 0.19.1.2, python-opensync 0.19.1.2.
librapi2 0.9.3.3 also -dev & -tools
If you have a WM5/WM6 device, it might be a wise decission to remove all of
these packages, since, there already are differences within the versions of
these and you will need the newest version anyways.
Post by Philip Aston
I have recently removed some "unstable" packages with "testing" as
another Debian user recommends that it had resolved this sort of
problem- and it's a safe option. I kept some screenshots. The main
change was replacing libopensync-plugin-evolution2 0.22-etch2. If I
need to check exactly what I have done here I will need to add "sid" to
sources.list and see what it offers in the synce and opensync areas.
I have built odccm, librapi2, libsynce, all presumably versions 0.11
from svn following
http://www.synce.org/moin/SynceTools/SynceKpm
That is good that you built them from SVN, but if you also have them still
through apt installed, they will interfere.
Post by Philip Aston
which advised "Preferably you need to install the odccm, librapi2, and
libsynce from SVN for the moment "
I took instruction from
http://www.synce.org/moin/SynceInstallation/SubversionRequirements
and built the above.
I can see now that I also have older odccm librapi and libsynce from
apt, also note that I cannot install librra-dev 0.9.1.1. because it
requires librra-0 0.9.1.1. but I have 0.10.0.1
There were instructions for patching/rebuilding kernel- I don't have the
skill, also have a system working perfectly, so decided not to try.
There are two options: patch the kernel, but the other option, creating the
new kernel module is only downloading the source, making sure you have the
kernel headers installed, run ./clean.sh and make and make install and you
are done (really really easy)
But again, you will only need this if you have a WM5/6 device. If you have a
WM2003 device, don't bother with creating the kernel modules.
Post by Philip Aston
Moved on to the synce-kpm 0.11 instructions and resolved initial problem
by apt-get python-distutils-extra python-setuptools
python-libxslt1,python lxml. Advice was then that some building from
source is required.
I met: ImportError: No module named pyrapi2
So I built pyrapi from http://freshmeat.net/projects/pyrapi/
but did not keep the system messages so can't backtrace- that's a
mistake, I know. This is the only app. I have that's not from synce.
(Thank you for the comment Guido- is there a way back?)
You should not build pyrapi from that source. Currently the python bindings
(pyrapi) for the rapi2 lib are part of the librapi2 package we provice.
Hope the above part helps a bit, first we will get that to work, after that we
will start looking at the syncing below ;)
Guido Diepen
Post by Philip Aston
at that point I tried
http://www.synce.org/moin/SynceWithDebian
stalled on libwbxml, I posted request for help in reply to Dr Gow's
thread libwbxml-free search engine. Later I resolved it with a thread on
http://www.nabble.com/No-libxml-2.0-packaged-found-td14286978.html
"You need to install the development package of libxml2, usually named
libxml2-devel. "
got this from apt and continued.
built pywbxml from subversion
added deb http://opensync.gforge.punktart.de/repo/opensync-0.21/ etch
main
deb-src http://opensync.gforge.punktart.de/repo/opensync-0.21/ etch main
to sources.ist
then apt-get install libopensync-plugin-evolution2
libopensync-plugin-python msynctool
svn co http://synce.svn.sf.net/svnroot/synce/trunk/sync-engine
cd sync-engine
sudo ln -sf opensync-plugin.py /usr/lib/opensync/python-plugins/synce.py
My previous post details trouble with synce-install-plugins, also
pyrapi2
And that is as far as I have got! Thanks.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
SynCE-Devel mailing list
https://lists.sourceforge.net/lists/listinfo/synce-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
SynCE-Devel mailing list
https://lists.sourceforge.net/lists/listinfo/synce-devel
Philip Aston
2008-02-18 23:08:27 UTC
Permalink
Thanks Mark, I suspect I'll wait until a clean install rather than manually
delete files and risk making more spectacular errors (and there have been
many during my Linux adventures!). I have actually started by removing all
the apt packages, commenting out the ""sid" lines in sources.list, apt-get
update then reinstalling from my usual sources.list (started out as Debian
etch but since updated to lenny)- that's why I say I have Debian Lenny with
several "unstable" packages where these are required eg for Sony Ericsson
phones.

I was then able to start Raki and connect with synce-serial-start. Configure
option within raki returned "no synchronizer installed".
Only "unstable" has syncekonnector- so I uncommented sid again to get it.
After installation, I came back to "wrong library type"- so, unless
syncekonnector is itself confused by conflicting library files, it may be
that the problem is not caused by svn or other source-built packages, but by
a dependency within syncekonnector. At this point most of the apps are from
testing but that is, as you say, easily overcome.

This may be an oversimplification but I would guess that library sharing
within apt is unlikely to produce conflicts, and that, if a source-built
package has replaced a library file or changed a path, reinstallation from
apt (which is operated as root) should change it back again.

As it happens I am also working on a self-build with a "pure" Debian Lenny
system from the testing iso rather than etch + update. I'll see what happens
to my ipaq, and report back- then I could temporarily add "unstable" to
sources.list to get the raki, rapi, and synce packages if necessary. What do
you think?-Phil



-----Original Message-----
From: synce-devel-***@lists.sourceforge.net
[mailto:synce-devel-***@lists.sourceforge.net]On Behalf Of Mark
Ellis
Sent: 18 February 2008 10:24
To: synce-***@lists.sourceforge.net
Subject: Re: pyrapi2
Post by Philip Aston
I have ipaq rz 1710 running Windows Mobile 2003 Second Edition 4.21.1088
build 14132 (bought in 2004).
As you say, synce-kpm may be unsuitable for wm2003 device. I think I
1 persevere with synce-kpm build from SVN, first removing all the apt
packages I have listed.
Having read Achim's post "There was an issue about dependency with
python: python_rapi2 depends
on python < 2.5 which causes problems with ubuntu where python 2.5 is
standard." there are perhaps 2 reasons why I get pyrapi2 error
a) -Guido's suggestion re: conflict with apt packages and/or pyrapi
built from different source
b) -Debian testing (the distro I use, with a few "unstable" packages)
has python 2.5 as standard?
And if I do persevere, should I be trying to remove the pyrapi app I
built from http://freshmeat.net/projects/pyrapi/. ? Disk space is not an
issue. I may be able to trace the files installed in this way by running
the installation again, keeping the terminal messages. However, judging
by the readme, this is not a plugin invoked from other packages, but a
small standalone synchronization tool requiring specific code entered in
terminal to operate it. So my instinct is to leave it alone as it is
unlikely to harm any other part of the installation. Would you agree
with this?
Where did you install it, /usr/local ? I would remove it if at all
possible.

I've kind of lost track of you distro, it's debian isn't it ?

Jonny Lamb has got some updated packages into debian unstable. Given you
have a lot of different versions installed, I think the best thing to do
is

1) remove everything you can find that is libsynce, librapi, librra
related, from source or anything else. This will include packages called

libsynce0
libsynce-dev
librapi2
librapi2-dev
librapi2-tools
python-rapi2
librra0
librra-dev
python-rra

2) Do you have unstable in your apt sources.list ? If so just install
the latest versions of the above list from unstable. If not, I can tell
you how to add unstable but not have apt upgrade your whole system.
Post by Philip Aston
2 Run the other way. Leave the svn packages I have built- removal is
probably impractical without risk of damage- remove all the packages I
have listed (I probably still have some versions from unstable). Then
reinstall all of them from "testing" in sources.list see
http://www.kde-forum.org/artikel/16803/Raki-Wrong-library-type-for-Appointme
nt-Contact-an.html and http://ubuntuforums.org/showthread.php?t=231505
Where did you install all the svn packages ? By default they would go
in /usr/local. If you haven't installed anything else important in there
you could just go through and delete every file you find, though dont
delete all the directories !
Post by Philip Aston
3 As 2 but wait until I am ready to do a clean install as I probably
have rubbish all over my system due to the crimes listed below.
Thanks again- Phil
Hi Philip,
Post by Philip Aston
Hi Mark,Guido
First, I appreciate all your help and patience in bearing with the
blundering of an amateur! Normal Linux advice is to get your hands
dirty
Post by Philip Aston
Post by Philip Aston
and go for it, but I can see that I have a very muddled system between
testing, unstable, subversion and elsewhere, so I'm going to stop
digging just for now.
This mixing of versions really might cause major problems.....
One other thing, it is not clear to me what kind of device you have, do
you
Post by Philip Aston
have a WM5/6 device, or do you have a WM2003 device.
In case you have a WM5/6 device, synce-kde will not work. If you have a
wm2003
Post by Philip Aston
device, synce-kpm (probably) will not work, I have not tested that.
Post by Philip Aston
I kept a log of sorts, perhaps you could take a look at this summary
and
Post by Philip Aston
Post by Philip Aston
tell me what you think. At the mo I can only connect with Raki from
the
Post by Philip Aston
Post by Philip Aston
utilities menu, then synce-serial-start in terminal. When I try to
"configure" I get the wrong library message, as noted.
librapi2 0.9.3.3. also -dev and -tools, librra0
0.10.0.1,librra-tools,librtfcomp0 1.1.1libsynce0
1-1.1,libsynce0-dev0.11-1.odccm0.10.0.1.,python-rtfcomp
1.1-1,synce-dccm
Post by Philip Aston
Post by Philip Aston
0.9.1.3,synce-kde 0.9.1.1,synce-kde-dev 0.9.1.1,syncekonnector
0.3.2.3,syncekonnector-dev 0.3.2.3,synce-multisync-plugin 0.9.0.4,
synce-serial0.9.1-3.1, usb-rndis-modules 2.6.22.3.686 0.10.0.1.+
2.6.22.686, usb-rndis-source 0.10.0-1
kitchensync 4.3.5.8-1,libopensync0 and the dbg & dev 0.19.1.2,
multisync0.90 0.91.0.4.2, multisync-tools 0.91.0.4.2, opensync-plugin
-evolution 0.19.1+b1, opensync-plugin-file & -irms & kdepim & syncml
0.19.1, opensyncutils 0.19.1.2, python-opensync 0.19.1.2.
librapi2 0.9.3.3 also -dev & -tools
If you have a WM5/WM6 device, it might be a wise decission to remove all
of
Post by Philip Aston
these packages, since, there already are differences within the versions
of
Post by Philip Aston
these and you will need the newest version anyways.
Post by Philip Aston
I have recently removed some "unstable" packages with "testing" as
another Debian user recommends that it had resolved this sort of
problem- and it's a safe option. I kept some screenshots. The main
change was replacing libopensync-plugin-evolution2 0.22-etch2. If I
need to check exactly what I have done here I will need to add "sid"
to
Post by Philip Aston
Post by Philip Aston
sources.list and see what it offers in the synce and opensync areas.
I have built odccm, librapi2, libsynce, all presumably versions 0.11
from svn following
http://www.synce.org/moin/SynceTools/SynceKpm
That is good that you built them from SVN, but if you also have them
still
Post by Philip Aston
through apt installed, they will interfere.
Post by Philip Aston
which advised "Preferably you need to install the odccm, librapi2, and
libsynce from SVN for the moment "
I took instruction from
http://www.synce.org/moin/SynceInstallation/SubversionRequirements
and built the above.
I can see now that I also have older odccm librapi and libsynce from
apt, also note that I cannot install librra-dev 0.9.1.1. because it
requires librra-0 0.9.1.1. but I have 0.10.0.1
There were instructions for patching/rebuilding kernel- I don't have
the
Post by Philip Aston
Post by Philip Aston
skill, also have a system working perfectly, so decided not to try.
There are two options: patch the kernel, but the other option, creating
the
Post by Philip Aston
new kernel module is only downloading the source, making sure you have
the
Post by Philip Aston
kernel headers installed, run ./clean.sh and make and make install and
you
Post by Philip Aston
are done (really really easy)
But again, you will only need this if you have a WM5/6 device. If you
have a
Post by Philip Aston
WM2003 device, don't bother with creating the kernel modules.
Post by Philip Aston
Moved on to the synce-kpm 0.11 instructions and resolved initial
problem
Post by Philip Aston
Post by Philip Aston
by apt-get python-distutils-extra python-setuptools
python-libxslt1,python lxml. Advice was then that some building from
source is required.
I met: ImportError: No module named pyrapi2
So I built pyrapi from http://freshmeat.net/projects/pyrapi/
but did not keep the system messages so can't backtrace- that's a
mistake, I know. This is the only app. I have that's not from synce.
(Thank you for the comment Guido- is there a way back?)
You should not build pyrapi from that source. Currently the python
bindings
Post by Philip Aston
(pyrapi) for the rapi2 lib are part of the librapi2 package we provice.
Hope the above part helps a bit, first we will get that to work, after
that we
Post by Philip Aston
will start looking at the syncing below ;)
Guido Diepen
Post by Philip Aston
at that point I tried
http://www.synce.org/moin/SynceWithDebian
stalled on libwbxml, I posted request for help in reply to Dr Gow's
thread libwbxml-free search engine. Later I resolved it with a thread
on
Post by Philip Aston
Post by Philip Aston
http://www.nabble.com/No-libxml-2.0-packaged-found-td14286978.html
"You need to install the development package of libxml2, usually
named
Post by Philip Aston
Post by Philip Aston
libxml2-devel. "
got this from apt and continued.
built pywbxml from subversion
added deb http://opensync.gforge.punktart.de/repo/opensync-0.21/ etch
main
deb-src http://opensync.gforge.punktart.de/repo/opensync-0.21/ etch
main
Post by Philip Aston
Post by Philip Aston
to sources.ist
then apt-get install libopensync-plugin-evolution2
libopensync-plugin-python msynctool
svn co http://synce.svn.sf.net/svnroot/synce/trunk/sync-engine
cd sync-engine
sudo ln -sf opensync-plugin.py
/usr/lib/opensync/python-plugins/synce.py
Post by Philip Aston
Post by Philip Aston
My previous post details trouble with synce-install-plugins, also
pyrapi2
And that is as far as I have got! Thanks.
-------------------------------------------------------------------------
Post by Philip Aston
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
SynCE-Devel mailing list
https://lists.sourceforge.net/lists/listinfo/synce-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
SynCE-Devel mailing list
https://lists.sourceforge.net/lists/listinfo/synce-devel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Mark Ellis
2008-02-19 01:52:13 UTC
Permalink
Post by Philip Aston
Thanks Mark, I suspect I'll wait until a clean install rather than manually
delete files and risk making more spectacular errors (and there have been
many during my Linux adventures!). I have actually started by removing all
the apt packages, commenting out the ""sid" lines in sources.list, apt-get
update then reinstalling from my usual sources.list (started out as Debian
etch but since updated to lenny)- that's why I say I have Debian Lenny with
several "unstable" packages where these are required eg for Sony Ericsson
phones.
Cool, sometimes it's easier to start from scratch when you have a lot of
source builds hanging around. It's for this reason I originally learnt
how to build debs, so the package manager always new what was what, but
that's another story...
Post by Philip Aston
I was then able to start Raki and connect with synce-serial-start. Configure
option within raki returned "no synchronizer installed".
Only "unstable" has syncekonnector- so I uncommented sid again to get it.
After installation, I came back to "wrong library type"- so, unless
syncekonnector is itself confused by conflicting library files, it may be
that the problem is not caused by svn or other source-built packages, but by
a dependency within syncekonnector. At this point most of the apps are from
testing but that is, as you say, easily overcome.
I dont know anything about syncekonnector, so cant really comment, but I
don't think its been maintained for some time.
Post by Philip Aston
This may be an oversimplification but I would guess that library sharing
within apt is unlikely to produce conflicts, and that, if a source-built
package has replaced a library file or changed a path, reinstallation from
apt (which is operated as root) should change it back again.
Not sure what you mean by library sharing exactly, but yes, reinstalling
a package with apt will replace anything that has been overwritten.
Post by Philip Aston
As it happens I am also working on a self-build with a "pure" Debian Lenny
system from the testing iso rather than etch + update. I'll see what happens
to my ipaq, and report back- then I could temporarily add "unstable" to
sources.list to get the raki, rapi, and synce packages if necessary. What do
you think?-Phil
Debian tends to be very good with upgrades, so straight lenny will
probably not differ much from etch + lenny update.

If you want to pick certain packages from unstable or experimental, the
best way is to keep those extries in sources.list, and add the following
to /etc/apt/preferences

Package: *
Pin: release o=Debian,a=stable
Pin-Priority: 400

Package: *
Pin: release o=Debian,a=testing
Pin-Priority: 900

Package: *
Pin: release o=Debian,a=unstable
Pin-Priority: 300

Package: *
Pin: release o=Debian,a=experimental
Pin-Priority: 100

Package: *
Pin: release o=Debian
Pin-Priority: -1

In short, testing is given the highest importance (Pin-Priority),
followed by stable, unstable and experimental, and apt will always try
to use packages from preferred suites. Since it knows about unstable
packages though, it's easy to force it to install a higher version for a
particular package.

This is particularly useful now Jonny has got 0.11 libsynce*, librapi*
and librra* into unstable.

Mark

Loading...