pvpython fails to execute vtkpython (Debian package unusable)


As reported some time ago here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010027
Debian/Ubuntu python3-paraview package is not usable anyore.

The symptom is that pvpython does not read from the file which name is passed as an argument, but rather just enters into Python prompt. As detailed in the Debian bug report, inspecting what is happening using strace, there is the following potential hint:

readlink(“/usr/bin/…/lib/x86_64-linux-gnu/vtkpython”, 0x7ffd633ea9a0, 4096) = -1 ENOENT (No such file or directory)

The /usr/lib/x86_64-linux-gnu/vtkpython is not shipped with the Paraview Debian packages.

Do you have any hints on what could have changed this behaviour in the Debian/Ubuntu package - pvpython used to work there.


I believe this was fixed in master already(see this: https://gitlab.kitware.com/paraview/paraview/-/issues/21461).

In my case this was related to loading python plugins, are you loading python plugins ?