On Thu, 2008-01-24 at 09:23 +0000, John Carr wrote: > On Jan 23, 2008 11:41 PM, Mark Ellis <[EMAIL PROTECTED]> wrote: > > On Wed, 2008-01-23 at 15:14 -0800, Bryan Stevenson wrote: > > > > > > Mark Ellis wrote: > > > > On Tue, 2008-01-22 at 17:33 -0800, Bryan Stevenson wrote: > > > > > > > > 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? > > > > > > I'll add that I did exactly what is laid out on this page: > > > > 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. From the names of the package files I > > guess they were built by John Carr, you out there John ? Any thoughts ? > > > > Could you run this > > > > dpkg -l '*rapi*' > > > > to check the versions you have. > > > > You could also try these commands > > > > strings /usr/lib/python2.4/site-packages/pyrapi2.so|grep > > rapi_connection_from > > > > strings /usr/lib/librapi.so.2.0.0 |grep rapi_connection_from > > > > which will show what function names each is using. > > > > You could also try building from source, or try my packages at > > www.mpellis.org.uk. > > > > Mark > > Hi guys > > I've seen people who have a botched first attempt of SynCE (mixed > source and old debian packages) and then install the launchpad > packages over the top. apt won't upgrade everything with the packages > as they stand, so they end up with 0.10 odccm and pyrapi etc and 0.9 > version of everything else. Or at least, thats how i understand it. So > can you try apt-get upgrade and see if that helps? >
Those old official debian packages are just getting _too_ old now, I almost wish they weren't there. > Ubuntu has had python 2.5 as default so Marks command might not work > depending on what packages you have... so you can try this instead: > > strings /usr/lib/python2.5/site-packages/pyrapi2.so|grep rapi_connection_from > > Mark, do your packages support python 2.5? I know jonnylambs new ones > do, but the old ones didnt.. so it got ugly on ubuntu. that was the > whole reason for setting up synce on launchpads PPA. > Short answer, don't know. I don't really do python, but one of my next tasks is to try and package sync-engine, so I may learn something ! Longer answer, the package depends on 2.4, but that's not due to me. Rebuilding the deb source with python 2.5 may well work. Mark ------------------------------------------------------------------------- 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 SynCE-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synce-devel