Discussion:
Fresh Start was Re: New to SynCE - can connect but not set partnership
Mark Ellis
2008-01-23 23:41:19 UTC
Permalink
What versions of librapi2 and python-rapi2 are you using, and do they
match ? rapi_connection_from_path is a function in librapi2 that was
replaced by rapi_connection_from_name, so I'd guess that your librapi2
is newer, and python-rapi2 is saying it cant find the function.
...and now my lack of Linux experience shines through ;-)
How do I find a library's version?
http://www.synce.org/moin/SynceWithUbuntu
So whatever versions are installed by doing that I have (although I know that's not conclusive proof until I actaully check the version) ;-)
Other that the version checking bit I completely understand what you've said.
Ah ok, I haven't looked through the new wiki yet, hadn't read that page.

The packages you have are built from the previous release, but it's
still a strange error to get.
John Carr
2008-01-24 09:23:07 UTC
Permalink
Post by Mark Ellis
What versions of librapi2 and python-rapi2 are you using, and do they
match ? rapi_connection_from_path is a function in librapi2 that was
replaced by rapi_connection_from_name, so I'd guess that your librapi2
is newer, and python-rapi2 is saying it cant find the function.
...and now my lack of Linux experience shines through ;-)
How do I find a library's version?
http://www.synce.org/moin/SynceWithUbuntu
So whatever versions are installed by doing that I have (although I know that's not conclusive proof until I actaully check the version) ;-)
Other that the version checking bit I completely understand what you've said.
Ah ok, I haven't looked through the new wiki yet, hadn't read that page.
The packages you have are built from the previous release, but it's
still a strange error to get.
Mark Ellis
2008-01-24 12:20:27 UTC
Permalink
Post by Mark Ellis
What versions of librapi2 and python-rapi2 are you using, and do they
match ? rapi_connection_from_path is a function in librapi2 that was
replaced by rapi_connection_from_name, so I'd guess that your librapi2
is newer, and python-rapi2 is saying it cant find the function.
...and now my lack of Linux experience shines through ;-)
How do I find a library's version?
http://www.synce.org/moin/SynceWithUbuntu
So whatever versions are installed by doing that I have (although I know that's not conclusive proof until I actaully check the version) ;-)
Other that the version checking bit I completely understand what you've said.
Ah ok, I haven't looked through the new wiki yet, hadn't read that page.
The packages you have are built from the previous release, but it's
still a strange error to get.
Bryan Stevenson
2008-01-24 16:17:03 UTC
Permalink
Post by Mark Ellis
What versions of librapi2 and python-rapi2 are you using, and do they
match ? rapi_connection_from_path is a function in librapi2 that was
replaced by rapi_connection_from_name, so I'd guess that your librapi2
is newer, and python-rapi2 is saying it cant find the function.
...and now my lack of Linux experience shines through ;-)
How do I find a library's version?
http://www.synce.org/moin/SynceWithUbuntu
So whatever versions are installed by doing that I have (although I know that's not conclusive proof until I actaully check the version) ;-)
Other that the version checking bit I completely understand what you've said.
Ah ok, I haven't looked through the new wiki yet, hadn't read that page.
The packages you have are built from the previous release, but it's
Mark Ellis
2008-01-24 17:03:49 UTC
Permalink
Whoa....you guys have lost me know for the most part ;-)
We were getting sidetracked, happens all the time :)
I can say that odccm, librapi2, and python-rapi2 are all the same
version (0.10.0-1jc2k1).
I did try from source on my first try Mark, but got a bit lost due to
not knowing what I was installing and why (now I know what's what, so
I may try again).
Have a look at my other reply as well, about rebuilding the package,
it's a bit more controlled than building a source tarball and still fist
into the distro nicely.
I'll also give your packages a whirl Mark.
FYI I have a folder for Python 2.3, 2.4, and 2.5.....so I guess I
should be good to go in that regard??
I'm so close I can taste it.....just want to see that Evolution sync
happen and then I can get back to other Linux stuff I still need to
get working (usb wireless N adapter is a biggie.....and getting
alternate routes working in VPNC to get control of my local LAN back
from the evil Cisco VPN concentrator that has split tunnelling turned
off...grrr)
Talking of getting sidetracked .... :)

Mark
Bryan Stevenson
2008-01-24 19:14:31 UTC
Permalink
Post by Mark Ellis
Whoa....you guys have lost me know for the most part ;-)
We were getting sidetracked, happens all the time :)
I can say that odccm, librapi2, and python-rapi2 are all the same
version (0.10.0-1jc2k1).
I did try from source on my first try Mark, but got a bit lost due to
not knowing what I was installing and why (now I know what's what, so
I may try again).
Have a look at my other reply as well, about rebuilding the package,
it's a bit more controlled than building a source tarball and still fist
into the distro nicely.
I'll also give your packages a whirl Mark.
FYI I have a folder for Python 2.3, 2.4, and 2.5.....so I guess I
should be good to go in that regard??
I'm so close I can taste it.....just want to see that Evolution sync
happen and then I can get back to other Linux stuff I still need to
get working (usb wireless N adapter is a biggie.....and getting
alternate routes working in VPNC to get control of my local LAN back
from the evil Cisco VPN concentrator that has split tunnelling turned
off...grrr)
Talking of getting sidetracked .... :)
Mark
Thanks Mark....I shall report back as soon as I get a chance to play
with it again (darn clients and their needs...hehe). ;-)

Cheers
--
Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: ***@electricedgesystems.com
web: www.electricedgesystems.com

Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.
Bryan Stevenson
2008-01-24 15:52:38 UTC
Permalink
What versions of librapi2 and python-rapi2 are you using, and do they
match ? rapi_connection_from_path is a function in librapi2 that was
replaced by rapi_connection_from_name, so I'd guess that your librapi2
is newer, and python-rapi2 is saying it cant find the function.
...and now my lack of Linux experience shines through ;-)
How do I find a library's version?
http://www.synce.org/moin/SynceWithUbuntu
So whatever versions are installed by doing that I have (although I know that's not conclusive proof until I actaully check the version) ;-)
Other that the version checking bit I completely understand what you've said.
Here's the output:
--------------------------------------------------------------------------------------------------------------
***@bryan-laptop:~$ dpkg -l '*rapi*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii librapi2 0.10.0-1jc2k1 Make RAPI calls to a Windows Mobile
device,
ii librapi2-tools 0.10.0-1jc2k1 Tools for talking to a Windows Mobile
machin
ii libtext-wrapi1 0.06-5 internationalized substitute of Text::Wrap
ii python-rapi2 0.10.0-1jc2k1 Make RAPI calls to a Windows Mobile
device,
un python2.5-rapi <none> (no description available)
--------------------------------------------------------------------------------------------------------------
So there we go....looks like they are both the same version
(0.10.0-1jc2k1), but maybe something else in the output above will spark
something for ya ;-)

Thanks Mark

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: ***@electricedgesystems.com
web: www.electricedgesystems.com

Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.
Mark Ellis
2008-01-24 16:14:18 UTC
Permalink
Post by Bryan Stevenson
What versions of librapi2 and python-rapi2 are you using, and do they
match ? rapi_connection_from_path is a function in librapi2 that was
replaced by rapi_connection_from_name, so I'd guess that your librapi2
is newer, and python-rapi2 is saying it cant find the function.
...and now my lack of Linux experience shines through ;-)
How do I find a library's version?
http://www.synce.org/moin/SynceWithUbuntu
So whatever versions are installed by doing that I have (although I know that's not conclusive proof until I actaully check the version) ;-)
Other that the version checking bit I completely understand what you've said.
--------------------------------------------------------------------------------------------------------------
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii librapi2 0.10.0-1jc2k1 Make RAPI calls to a Windows Mobile
device,
ii librapi2-tools 0.10.0-1jc2k1 Tools for talking to a Windows
Mobile machin
ii libtext-wrapi1 0.06-5 internationalized substitute of Text::Wrap
ii python-rapi2 0.10.0-1jc2k1 Make RAPI calls to a Windows Mobile
device,
un python2.5-rapi <none> (no description available)
--------------------------------------------------------------------------------------------------------------
So there we go....looks like they are both the same version
(0.10.0-1jc2k1), but maybe something else in the output above will
spark something for ya ;-)
Nope, looks fine. You could try rebuilding the package, it's quite
straightforward, but you may need to install some more development
tools.

apt-get source librapi2
cd librapi2-blahblah
dpkg-buildpackage
cd ..
dpkg -i librapi2*deb

Nothing else springs to mind at the moment, I'll let you know if I think
of anything.

Mark
Bryan Stevenson
2008-01-25 19:15:04 UTC
Permalink
Post by Mark Ellis
Nope, looks fine. You could try rebuilding the package, it's quite
straightforward, but you may need to install some more development
tools.
apt-get source librapi2
cd librapi2-blahblah
dpkg-buildpackage
cd ..
dpkg -i librapi2*deb
Nothing else springs to mind at the moment, I'll let you know if I think
of anything.
Mark
Quite straightforward you say?? ;-)

Can you explain this line then:

cd librapi2-blahblah

_0.10.0-1jc2k1I know that it switches to the specified directory, and
I'm sure by "blahblah" you mean the version number. What I'm not sure
is where the heck that directory would be? So if you can be more
precise, it would be much appreciated.

FYI I ran the first line:
sudo apt-get source librapi2

...and then got stuck

I tried this:
sudo find / -name librapi2

...which returned this:
/usr/share/doc/librapi2

That directory does not contain a librapi2_0.10.0-1jc2k1 folder
(assuming this is the correct folder given your blah blah
placeholder...hehe).
Thanks Mark

Cheers

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: ***@electricedgesystems.com
web: www.electricedgesystems.com

Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.
Mark Ellis
2008-01-25 20:16:21 UTC
Permalink
Post by Bryan Stevenson
Post by Mark Ellis
Nope, looks fine. You could try rebuilding the package, it's quite
straightforward, but you may need to install some more development
tools.
apt-get source librapi2
downloads the deb source to the current directory (man apt-get), doesn't
need sudo
Post by Bryan Stevenson
Post by Mark Ellis
cd librapi2-blahblah
yep, fill in the version, in the directory you did the previous command
Post by Bryan Stevenson
Post by Mark Ellis
dpkg-buildpackage
exactly that
Post by Bryan Stevenson
Post by Mark Ellis
cd ..
dpkg -i librapi2*deb
this will need sudo
Post by Bryan Stevenson
Post by Mark Ellis
Nothing else springs to mind at the moment, I'll let you know if I think
of anything.
Mark
Quite straightforward you say?? ;-)
cd librapi2-blahblah
_0.10.0-1jc2k1I know that it switches to the specified directory, and
I'm sure by "blahblah" you mean the version number. What I'm not sure
is where the heck that directory would be? So if you can be more
precise, it would be much appreciated.
sudo apt-get source librapi2
...and then got stuck
sudo find / -name librapi2
/usr/share/doc/librapi2
That directory does not contain a librapi2_0.10.0-1jc2k1 folder
(assuming this is the correct folder given your blah blah
placeholder...hehe).
Thanks Mark
Cheers
Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
web: www.electricedgesystems.com
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.
-------------------------------------------------------------------------
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/
Bryan Stevenson
2008-01-25 20:39:55 UTC
Permalink
Thanks Mark,

I'm used to following the commands folks lay out (since I'm new to
Linux) and sometimes forget to think about what they actually do.

Normally I dload a source tarball...extract...cd into that dir...do my
configure/make/make install

Looking at your instructions I should have realized that would dload to
the current dir (which is normally one I choose) went to my /home/bryan/
dir as I hadn't specifically selected another one ;-)

For the record though...the folder created is "librapi2_0.10.0" and not
"librapi2_0.10.0-1jc2k1"...so the "blahblah" confused the newbie ;-)

Cheers
--
Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: ***@electricedgesystems.com
web: www.electricedgesystems.com

Notice:
This message, including any attachments, is confidential and may contain
information that is privileged or exempt from disclosure. It is intended
only for the person to whom it is addressed unless expressly authorized
otherwise by the sender. If you are not an authorized recipient, please
notify the sender immediately and permanently destroy all copies of this
message and attachments.
Mark Ellis
2008-01-27 11:56:41 UTC
Permalink
Post by Bryan Stevenson
Thanks Mark,
I'm used to following the commands folks lay out (since I'm new to
Linux) and sometimes forget to think about what they actually do.
Normally I dload a source tarball...extract...cd into that dir...do my
configure/make/make install
Looking at your instructions I should have realized that would dload
to the current dir (which is normally one I choose) went to
my /home/bryan/ dir as I hadn't specifically selected another one ;-)
For the record though...the folder created is "librapi2_0.10.0" and
not "librapi2_0.10.0-1jc2k1"...so the "blahblah" confused the
newbie ;-)
Cheers
--
Cool, that's why I didn't put specific names in sometimes, you never
know what the package contains for definite until you do it.

Did it work ?

Mark

Loading...