Skip to content

getPythonCallingPoint BUG? #6051

@Weslie31

Description

@Weslie31

Problem

Description
I encountered an error while using SOFA v25.12 installed via Conda.
When attempting to open the official liver.py and base.py files, I received the following error:

Unable to completely load the scene from file 'C:\Users\hp\Desktop\examples\liver.py'.
Python exception:
  AttributeError: module 'SofaRuntime' has no attribute 'getPythonCallingPoint'

At:
  C:\Users\hp\Desktop\examples\liver.py(35): createScene

However, there is no explicit call to getPythonCallingPoint in liver.py. The code at the reported error line (line 35) is as follows:

root.addObject("RequiredPlugin", pluginName=[    'Sofa.Component.Collision.Detection.Algorithm',
    'Sofa.Component.Collision.Detection.Intersection',
    'Sofa.Component.Collision.Geometry',
    'Sofa.Component.Collision.Response.Contact',
    'Sofa.Component.Constraint.Projective',
    'Sofa.Component.IO.Mesh',
    'Sofa.Component.LinearSolver.Iterative',
    'Sofa.Component.Mapping.Linear',
    'Sofa.Component.Mass',
    'Sofa.Component.ODESolver.Backward',
    'Sofa.Component.SolidMechanics.FEM.Elastic',
    'Sofa.Component.StateContainer',
    'Sofa.Component.Topology.Container.Dynamic',
    'Sofa.Component.Visual',
    'Sofa.GL.Component.Rendering3D'
    ])

The location of this code file is:

SOFA\v25.12.00\plugins\SofaPython3\share\SofaPython3\examples\liver.py

This file is an official example from the Sofa.zip archive downloaded from the official website.
I have been unable to resolve this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue: bug (minor)Bug affecting only some users or with no major impact on the framework

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions