FS#72574 - [libharu] vtk python module fails to import
Attached to Project:
Community Packages
Opened by simon (hiaselhans) - Friday, 29 October 2021, 08:13 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Saturday, 06 November 2021, 12:18 GMT
Opened by simon (hiaselhans) - Friday, 29 October 2021, 08:13 GMT
Last edited by Bruno Pagani (ArchangeGabriel) - Saturday, 06 November 2021, 12:18 GMT
|
Details
Description:
vtk is missing dependencies and symbols missing dependencies: community/openvr, community/liblas missing symbol: ImportError: /usr/lib/libvtkIOExportPDF.so.1: undefined symbol: HPDF_Shading_AddVertexRGB Additional info: * package version(s) - Version : 9.0.3-3 Steps to reproduce: $ python Python 3.9.7 (default, Oct 10 2021, 15:13:22) [GCC 11.1.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import vtk Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.9/site-packages/vtk.py", line 30, in <module> all_m = importlib.import_module('vtkmodules.all') File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3.9/site-packages/vtkmodules/all.py", line 99, in <module> from .vtkIOExportPDF import * ImportError: /usr/lib/libvtkIOExportPDF.so.1: undefined symbol: HPDF_Shading_AddVertexRGB |
This task depends upon
Closed by Bruno Pagani (ArchangeGabriel)
Saturday, 06 November 2021, 12:18 GMT
Reason for closing: Fixed
Additional comments about closing: libharu in [community-testing] was switched to cmake to fix the corresponding issue. Regarding other dependencies, you should not import vtk anymore but vtkmodules, see https://gitlab.kitware.com/vtk/vtk/-/iss ues/18365.
Saturday, 06 November 2021, 12:18 GMT
Reason for closing: Fixed
Additional comments about closing: libharu in [community-testing] was switched to cmake to fix the corresponding issue. Regarding other dependencies, you should not import vtk anymore but vtkmodules, see https://gitlab.kitware.com/vtk/vtk/-/iss ues/18365.
FS#61655. The missing symbol is a libharu bug (caused by one of the backported PR's)