========= begin code ==============
Hi Chris,
Thank you, this is an interesting case! The solution is to define 'context' as global in my_reader_method(), add 'global context' at the beginning of this function.
I expect that the reason for the error is that context is required and maintained in the C++ code, but Python garbage collects it, since it is defined locally, and there is no Python link from TTable to context as this structure is local to C++.
Best,
Rok
--
You received this message because you are subscribed to the Google Groups "SNAP Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to snap-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/snap-discuss/7f26676e-b6fb-4f30-a1e9-dbad451bd87cn%40googlegroups.com.