Dear Lars, On Jun 26, 1:43 pm, Lars Fischer <lars.fischer...@googlemail.com> wrote: > you could try: > import pGroupCohomology.mtx as mtx
This is one of the things that I tried, but it didn't help. When loading a pickle of some class instance from mtx, it was still complaining. Probably, in the long run, the easiest is to temporarily have a fake mtx module on top level, that imports the necessary classes from pGroupCohomology.mtx. Then, 1. load the old data: Loading looks for mtx.SomeClass, and this results in pGroupCohomology.mtx.SomeClass. 2. save the data back. Now, the pickle points to pGroupCohomology.mtx.SomeClass 3. remove the fake mtx, in order to not pollute the top level 4. load the data. This is possible since the "address" of "SomeClass" was automatically corrected when saving the data back. I know that this procedure works, but I was wondering if something simpler is possible. Cheers, Simon --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---