-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jonny Lamb wrote: > reassign 487220 opensync-module-python > found 487220 0.22-1 > severity 487220 normal > tags 487220 + patch > kthxbye > > On Sun, Jun 22, 2008 at 12:37:25AM +0100, Don Alexander wrote: >> Well i tried that.. re-installing it but still retain the Runtime >> error. > > It turns out the opensync python module loads every file in the plugin > directory. Therefore, the actual .py plugin was loading absolutely fine; > it was the .pyc file spewing out the RuntimeError. It depends on the > python version opensync-module-python was compiled with which is probably > another bug with the python module packaging (the module should be > compiled for every version in "pyversions -s") but I'll ignore that > here. > > Therefore this is a problem in opensync-module-python. I have set the > severity to normal and not wishlist because .pyc files will have the > same name as their .pyc counterpart, therefore causing name collision > etc. > > This has been fixed upstream in the 0.30 branch[0]. I have taken the fix > from there and made a patch for the 0.22 version that I think should be > used until 0.30 hits Debian. > > Thanks, > > 0. http://opensync.org/changeset/1753#file2 (what a horribly long diff) >
Yes I noticed this when after un-installing that particular module I realised that the command had been adding members all the time and so the command did not exit with and error. I agree it is a somewhat misleading error message, but I am not sure how else you could handle it. Better than the application exiting with an error because it can't run a broken plug-in, no? Cheers for your help :) The irony is I don't even have a WinCE device, but that I loaded all modules by default. So for me running without it is no biggie. But thought I'd mention it for others just in case. Later, - -- == 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 iEYEARECAAYFAkheDV8ACgkQuipFNInZ6esmRwCaA8R1z9a4JFSGCrUJNy3pPsVL kUsAoIG77duxqkmWTQbLCwAVHAFdSUM7 =Y+Pv -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]