Closed carshadi closed 2 years ago
Hi,
Thank you for reporting this. There is indeed an error in PyImarisWriter in the Destroy method:
Calling bpImageConverterC_Destroy(bpImageConverterCPtr aImageConverterC) deletes the bpImageConverterCPtr argument, which then should not be used afterwards. However, PyImarisWriter uses it in the _check_errors method.
This has been fixed with this pull request. The PyImarisWriter package on the Python Package Index will be updated at some point in the future.
Awesome, this is great. thanks a ton!
Whoop--it looks like the prior version on PyPI has yet to be updated.
Hello,
I have installed
PyImarisWriter
viapip
on Windows 10. There is inconsistent behavior withPyImarisWriterNumpyExample.py
. If I run this test repeatedly, it will run fine on some runs, then hang on others. For example, it stalled on the last line below:Note that it always hangs after finishing a block, so the issue may be with the
PW.ImageConverter.Finish
orPW.ImageConverter.Destroy
methods https://github.com/imaris/ImarisWriterTest/blob/2de64e247964eec9e85c89b4a39c9852c046d1e0/testPy/PyImarisWriterNumpyExample.py#L123-L125Additionally, when testing on a larger dataset, I will randomly get the following error.
Either the hang or the above error will occur, but never both.
Output of
systeminfo