On Fri, Jun 20, 2008 at 11:35:02AM +0100, Don Alexander wrote:
> Version: 0.11-1

This isn't actually the newest version, by the way.

> open("/usr/lib/opensync/python-plugins/synce-opensync-plugin-2x.pyc",
> O_RDONLY) = 6
[snip]
> write(2, "RuntimeError", 12)            = 12
> write(2, ": ", 2)                       = 2
> write(2, "Bad magic number in .pyc file", 29) = 29
> write(2, "\n", 1)                       = 1

This looks as if you installed opensync-plugin-synce and byte-compiled
it as one python version, and then now you've changed the python version
and tried to run the plugin. As the byte-compilation is done
automatically, directly after installation, the byte-compiled file isn't
writeable by a normal user.

Therefore, all you should need to do is reinstall opensync-plugin-synce
to trigger the byte-compilation:

rm /usr/lib/opensync/python-plugins/synce-opensync-plugin-2x.pyc
apt-get install --reinstall opensync-plugin-synce

That's my theory. Give it a shot. I could be wrong. If I'm right, this is
clearly not a bug in opensync-plugin-synce.

Regards,

-- 
Jonny Lamb, UK                                   [EMAIL PROTECTED]
http://jonnylamb.com                                     GPG: 0x2E039402

Attachment: signature.asc
Description: Digital signature

Reply via email to