-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jonny Lamb wrote:
> 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,
>
Well i tried that.. re-installing it but still retain the Runtime
error. If you say it is compile at installation time then it might be
that it is looking for a particular verso of python to compile against
when the version I have on my system is:

python --version
Python 2.5.2

Is there any way to tell what version of python a module was compiled
with? according to file :

synce-opensync-plugin-2x.pyc: python 2.5 byte-compiled

Should that say 2.5.2? or not?

Just a thought.

Cheers,

- --
==

Don Alexander

It's a tough job, but some mug has to do it...

RooSoft Ltd
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhdkEkACgkQuipFNInZ6etiIwCfaMxeHJpxZh1E9Vgd2nkYLUjh
mkAAoIYZlzKHo5D8OHAEuDEfXk1Hj0Vn
=HX5D
-----END PGP SIGNATURE-----




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to