Ignacio Vizzo

Results 40 comments of Ignacio Vizzo

I'm also seeing this error on a CI build, for Python 3.9 ```sh [root@bbf72c22780d ~]# "${PYBIN}/pytest" --capture=sys /io/ ================================================ test session starts ================================================ platform linux -- Python 3.9.10[pypy-7.3.8-final], pytest-7.1.1, pluggy-1.0.0...

> @nachovizzo The indent is fixed on HEAD. You can install pybind11 from git until the fix is released: pip install git+https://github.com/pybind/pybind11.git. Great, already try this and fix the problem....

I found a way to reproduce this bug, I have a problematic "grid" that I serialized with `pickle` to load it and reproduce this errors ```py import pickle import pyopenvdb...

> I suspect this due to you trying to use a delay loaded byte streamed VDB into a `vdb.wri` I'm not intentionally doing this :) So, this happens randomly when...

@Idclip sorry for the late reply. That makes total sense. Haven't thought about that since I'm **only** using `FloatingGrid` and more specifically, levelsets... I'd add a grid check there

@Idclip Should I attempt to update this and add the fix for only level sets?

As a reference, I have been working with OpenVDB and pybind11 for 1 year now and I have already some open-source bindings: - [vdbfusion](https://github.com/PRBonn/vdbfusion) - [vdb_to_numpy](https://github.com/PRBonn/vdb_to_numpy) I don't have the...

@Idclip Thanks for the clear and precise reply. I didn't reply before because I'm still investigating other issues. So far, I've cast all my floats to `np.float32` but I'm still...

So, I made a simple example to showcase my problem so far... It's not the original code I'm using but the behavior matches 100% of what I'm seeing. To showcase...