Load scene into Slicer

Dear developers,


As can be seen in the code, I try to load a scene in Slicer, but errors happened,
it says:

and I tried to load it just dragging the file into Slicer, error shows:

It seems a vtp file has errors, from my point of view, T_PLIC_left seems to be a empty file. I dont know how to settle this problem,
by the way, other errors show but I dont know which line of code bring this, such as this:

Best wishes,
Joshua

Please check with other versions of slicer to see if this is a regression and if so provide a dataset that can be used for debugging.

Do you have the SlicerDMRI extension installed? Based on the error it seems that it would be necessary.

Yes I have installed it in my Slicer.

If you don’t expect that file to contain some valid content then you can ignore this error. VTK may report it as an error when you attempt to read or write an empty file, while it may be normal that a fiber is empty.

I would suggest you to report this error to the SlicerDMRI extension repository. You can add a note that a possible fix would be to apply the same technique as it is done in the model storage node: use the SkippedNoData write state to indicate that the file is expected to be empty.

Yes this is what I want, it should still load the scene even there are some empty fibers.

The scene is still loaded. The error just lets you know that there were fiber nodes that were empty, so you can ignore them. It would be still nice to fix to avoid having these false alarms.

Have you submitted a bug report to SlicerDMRI? Could you post the link here for reference? Thank you.

Yes, I have reported. Here is the link: Load scene into Slicer with empty vtk errors - Community / SlicerDMRI - 3D Slicer Community.
Thanks so much.

1 Like

Thanks for the link. However, I meant to file a bug report in the SlicerDMRI repository’s bugtracker. There is a higher chance that maintainers will notice and eventually fix it.

I am sorry for misunderstanding that. I reported the same one in bugtracker now, here is the link: Load scene into Slicer with empty vtk errors · Issue #181 · SlicerDMRI/SlicerDMRI (github.com)

1 Like