Skip to content

Incompatible version with VTK 9.7 #184

Description

@valeperseo

In a freshly installed environment, I got this error when trying to load a png image:

CALCAM ERROR REPORT

This file was generated by Calcam to help report/debug an unhandled exception.
To report the error, please go to:

  github.com/euratom-software/calcam/issues

and open an issue describing when the error happened, and attach this file.

DIAGNOSTIC INFORMATION

Platform: linux
Python version: 3.12.14 (main, Sep 2 2026, 23:27:36) [GCC 15.3.0]
Calcam version: 2.18.0
VTK version: 9.7.0
OpenCV version: 5.0.0
PyQt version: 5.15.14

Traceback (most recent call last):
File "/home/IPP-HGW/vape/miniforge3/envs/calcam/lib/python3.12/site-packages/calcam/gui/core.py", line 496, in load_image
self.on_load_image(newim)
File "/home/IPP-HGW/vape/miniforge3/envs/calcam/lib/python3.12/site-packages/calcam/gui/fitting_calib.py", line 674, in on_load_image
self.interactor2d.set_image(self.calibration.get_image(coords='Display'),n_subviews = self.calibration.n_subviews,subview_lookup = self.calibration.subview_lookup)
File "/home/IPP-HGW/vape/miniforge3/envs/calcam/lib/python3.12/site-packages/calcam/gui/vtkinteractorstyles.py", line 864, in set_image
self.renderer.AddActor2D(self.image_actor)
^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLRenderer' object has no attribute 'AddActor2D'. Did you mean: 'AddActor'?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    compatibilityRelated to environment or dependency compatibility

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions