Open eroux opened 3 months ago
@eroux I believe that the segfault is happening because you're creating a Python callback and then attempting to run it inside a nogil
context. As a result, a Python interpreter is not available for running the callback properly.
I solved the issue using an alternate method in #236; your test data was particularly useful in verifying that the method works. Thank you!
wonderful, thanks!
This is an updated version of https://github.com/letmaik/rawpy/pull/76 with a doc string and a test. Unfortunately when I run this version I'm currently getting a segfault on the test and I can't really debug it, help appreciated!