On Jan 7, 2008 4:24 AM, Iain Buchanan <[EMAIL PROTECTED]> wrote: > I've just recompiled synce from svn. sync-engine works in that I see > notifications when I (un)plug my device. pls etc work. > > Now I'm on to syncing: > > $ msynctool --listplugins > ImportError: No module named opensync > Available plugins: > evo2-sync > > I noticed I have the dirs /usr/lib/opensync and /usr/lib/opensync-1.0/. > > The structure seems a little strange: > > /usr/lib/opensync > /usr/lib/opensync/python-plugins > /usr/lib/opensync/python-plugins/synce.py > > and > > /usr/lib/opensync-1.0/ > /usr/lib/opensync-1.0/formats > /usr/lib/opensync-1.0/formats/xmlformat.so > /usr/lib/opensync-1.0/formats/file.so > /usr/lib/opensync-1.0/formats/plain.so > /usr/lib/opensync-1.0/formats/xmlformat-doc.so > /usr/lib/opensync-1.0/osplugin > /usr/lib/opensync-1.0/plugins > /usr/lib/opensync-1.0/plugins/python-plugins > /usr/lib/opensync-1.0/plugins/python-plugins/opensync-plugin-0.30later.py > /usr/lib/opensync-1.0/plugins/python-plugins/opensync-plugin.py > /usr/lib/opensync-1.0/plugins/python-module.so > /usr/lib/opensync-1.0/plugins/evo2-sync.so > /usr/lib/opensync-1.0/python-plugins > /usr/lib/opensync-1.0/python-plugins/sample.py > > I tried copying synce.py to various places, but no joy. Any ideas where > I went wrong? (note I can `msynctool --addgroup synce-sync` but I can't > `msynctool --addmember synce-sync synce-plugin` for the same error) >
Hi Iain Looks like opensync 0.3x that you have going on there? There are actually 2 python components and my guess is you only have one. python-plugin just provides glue to load python based plugins, where as the opensync module actually wraps the opensync internals so that python can poke them. The opensync cmake foo won't build this other python support unless you have swig. If you have swig it should just work... If thats not it then your opensync module is getting installed to a place not on the normal PYTHON_PATH... John ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. 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