views:

32

answers:

0

Hello StackOverflow,

I'm trying to pickle a class (written in Python) using IronPython's cPickle, which imports a module written in .NET and has the assembly attribute PythonModule; let's call it mod. When serializing this class, I get an IronPython ImportException that states "no module named 'mod in mod." This error still occurs even if I attempt to serialize the members of the class, rather than the class itself, but it does not occur if I do NOT serialize the class. What could cause this problem, and what can I do to rectify this situation? Thanks in advance, and let me know if you need more information about this situation.