vision6D icon indicating copy to clipboard operation
vision6D copied to clipboard

Export Image Crash!

Open edavalosanaya opened this issue 1 year ago • 0 comments

After hours and hours of carefully dragging my 3D mesh to align the image (pixel-level precision), I was delighted with myself at the beauty!

I was all willy-nilly about to export my image and pose. To my horror, the system crashed! This is the error:

(ettk_dev) eduardo@avocado-XPS-13-9300:~/GitHub/vision6D$ vision6D
/home/eduardo/anaconda3/envs/ettk_dev/lib/python3.10/site-packages/pyvista/core/grid.py:873: PyVistaDeprecationWarning: `UniformGrid` is deprecated. Use `ImageData` instead.
  warnings.warn(
/home/eduardo/anaconda3/envs/ettk_dev/lib/python3.10/site-packages/pyvista/core/grid.py:873: PyVistaDeprecationWarning: `UniformGrid` is deprecated. Use `ImageData` instead.
  warnings.warn(
Traceback (most recent call last):
  File "/home/eduardo/GitHub/vision6D/vision6D/containers/image_container.py", line 91, in export_image
    if pathlib.Path(output_path).suffix == '': output_path = output_path.parent / (output_path.stem + '.png')
AttributeError: 'str' object has no attribute 'parent'
Aborted (core dumped)

edavalosanaya avatar Jul 11 '23 19:07 edavalosanaya