[Ironpython-users] abstract class/not marked as serializable

Avi Berko aviberko at gmail.com
Sun Aug 24 19:22:36 CEST 2014


Hey,

We're trying to interface to a testing instrument (agilent VSA) that has a
factory function returning an abstract class, which implements some
remoting interfaces (MarshalByRef, etc...)

The instance is returned, but trying to call any method on it (including
__str__/__repr__) results in this error message:


Traceback (most recent call last):
  File "<string>", line 1, in <module>
SystemError: Type
'System.Runtime.CompilerServices.CallSite`1[[System.Func`4[[System.Runtime.CompilerServices.CallSite,
System.Core, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib, Version=4.0.0.0,
Culture=neutral,
PublicKeyToken=b77a5c561934e089],[IronPython.Runtime.CodeContext,
IronPython, Version=2.7.0.40, Culture=neutral,
PublicKeyToken=7f709c5b713576e1],[System.Object, mscorlib, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' in
Assembly 'System.Core, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089' is not marked as serializable.


What can I do to further analyze this problem?

Regards,
Avi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20140824/15416b63/attachment.html>


More information about the Ironpython-users mailing list