Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with Sofa.Component.UserInterface.ConfigurationSetting #4857

Open
saketh2002 opened this issue Jul 29, 2024 · 0 comments
Open

Issues with Sofa.Component.UserInterface.ConfigurationSetting #4857

saketh2002 opened this issue Jul 29, 2024 · 0 comments

Comments

@saketh2002
Copy link

Hi, tried both SOFA v22.06.00 and v23.06.00 versions, but not able to load Sofa.Component.UserInterface.ConfigurationSetting plugin, which is causing failure of loading all the remaining plugins. check below error log. I am trying to run lapgym repo implementation , reach environment. Repo : https://github.com/ScheiklP/sofa_env
File : https://github.com/ScheiklP/sofa_env/blob/main/sofa_env/scenes/reach/scene_description.py
scene header file where plugins are loaded : https://github.com/ScheiklP/sofa_env/blob/main/sofa_env/sofa_templates/scene_header.py

`[ERROR] [RequiredPlugin(Sofa.Component.AnimationLoop)] Plugin not found: "Sofa.Component.AnimationLoop"

Failed to load: ["Sofa.Component.AnimationLoop"]
[ERROR] [RequiredPlugin(Sofa.Component.Mapping.Linear)] Plugin not found: "Sofa.Component.Mapping.Linear"

Failed to load: ["Sofa.Component.Mapping.Linear"]
[ERROR] [RequiredPlugin(Sofa.Component.ODESolver.Forward)] Plugin not found: "Sofa.Component.ODESolver.Forward"

Failed to load: ["Sofa.Component.ODESolver.Forward"]
[ERROR] [RequiredPlugin(SofaPython3)] Plugin not found: "SofaPython3"

Failed to load: ["SofaPython3"]
[ERROR] [RequiredPlugin(Sofa.Component.Mapping.NonLinear)] Plugin not found: "Sofa.Component.Mapping.NonLinear"

Failed to load: ["Sofa.Component.Mapping.NonLinear"]
[ERROR] [RequiredPlugin(Sofa.Component.Constraint.Lagrangian.Model)] Plugin not found: "Sofa.Component.Constraint.Lagrangian.Model"

Failed to load: ["Sofa.Component.Constraint.Lagrangian.Model"]
[ERROR] [RequiredPlugin(Sofa.Component.Engine.Select)] Plugin not found: "Sofa.Component.Engine.Select"

Failed to load: ["Sofa.Component.Engine.Select"]
[ERROR] [RequiredPlugin(Sofa.Component.StateContainer)] Plugin not found: "Sofa.Component.StateContainer"

Failed to load: ["Sofa.Component.StateContainer"]
[ERROR] [RequiredPlugin(Sofa.Component.Mass)] Plugin not found: "Sofa.Component.Mass"

Failed to load: ["Sofa.Component.Mass"]
[ERROR] [RequiredPlugin(Sofa.Component.SceneUtility)] Plugin not found: "Sofa.Component.SceneUtility"

Failed to load: ["Sofa.Component.SceneUtility"]
[ERROR] [RequiredPlugin(Sofa.Component.Constraint.Projective)] Plugin not found: "Sofa.Component.Constraint.Projective"

Failed to load: ["Sofa.Component.Constraint.Projective"]
[ERROR] [RequiredPlugin(Sofa.Component.LinearSolver.Direct)] Plugin not found: "Sofa.Component.LinearSolver.Direct"

Failed to load: ["Sofa.Component.LinearSolver.Direct"]
[ERROR] [RequiredPlugin(SofaGeneralRigid)] Plugin not found: "SofaGeneralRigid"

Failed to load: ["SofaGeneralRigid"]
[ERROR] [RequiredPlugin(Sofa.Component.Collision.Detection.Algorithm)] Plugin not found: "Sofa.Component.Collision.Detection.Algorithm"

Failed to load: ["Sofa.Component.Collision.Detection.Algorithm"]
[ERROR] [RequiredPlugin(SofaBoundaryCondition)] Plugin not found: "SofaBoundaryCondition"

Failed to load: ["SofaBoundaryCondition"]
[ERROR] [RequiredPlugin(Sofa.Component.Topology.Container.Constant)] Plugin not found: "Sofa.Component.Topology.Container.Constant"

Failed to load: ["Sofa.Component.Topology.Container.Constant"]
[ERROR] [RequiredPlugin(SofaEngine)] Plugin not found: "SofaEngine"

Failed to load: ["SofaEngine"]
[ERROR] [RequiredPlugin(Sofa.Component.Collision.Detection.Intersection)] Plugin not found: "Sofa.Component.Collision.Detection.Intersection"

Failed to load: ["Sofa.Component.Collision.Detection.Intersection"]
[ERROR] [RequiredPlugin(Sofa.Component.SolidMechanics.Spring)] Plugin not found: "Sofa.Component.SolidMechanics.Spring"

Failed to load: ["Sofa.Component.SolidMechanics.Spring"]
[ERROR] [RequiredPlugin(ArticulatedSystemPlugin)] Plugin not found: "ArticulatedSystemPlugin"

Failed to load: ["ArticulatedSystemPlugin"]
[ERROR] [RequiredPlugin(Sofa.Component.Visual)] Plugin not found: "Sofa.Component.Visual"

Failed to load: ["Sofa.Component.Visual"]
[ERROR] [RequiredPlugin(Sofa.Component.LinearSolver.Iterative)] Plugin not found: "Sofa.Component.LinearSolver.Iterative"

Failed to load: ["Sofa.Component.LinearSolver.Iterative"]
[ERROR] [RequiredPlugin(Sofa.Component.Collision.Response.Contact)] Plugin not found: "Sofa.Component.Collision.Response.Contact"

Failed to load: ["Sofa.Component.Collision.Response.Contact"]
[ERROR] [RequiredPlugin(Sofa.GL.Component.Rendering3D)] Plugin not found: "Sofa.GL.Component.Rendering3D"

Failed to load: ["Sofa.GL.Component.Rendering3D"]
[ERROR] [RequiredPlugin(Sofa.GL.Component.Shader)] Plugin not found: "Sofa.GL.Component.Shader"

Failed to load: ["Sofa.GL.Component.Shader"]
[ERROR] [RequiredPlugin(Sofa.Component.IO.Mesh)] Plugin not found: "Sofa.Component.IO.Mesh"

Failed to load: ["Sofa.Component.IO.Mesh"]
[ERROR] [RequiredPlugin(Sofa.Component.Setting)] Plugin not found: "Sofa.Component.Setting"

Failed to load: ["Sofa.Component.Setting"]
[ERROR] [RequiredPlugin(Sofa.Component.Constraint.Lagrangian.Solver)] Plugin not found: "Sofa.Component.Constraint.Lagrangian.Solver"

Failed to load: ["Sofa.Component.Constraint.Lagrangian.Solver"]
[ERROR] [RequiredPlugin(Sofa.Component.ODESolver.Backward)] Plugin not found: "Sofa.Component.ODESolver.Backward"

Failed to load: ["Sofa.Component.ODESolver.Backward"]
[ERROR] [RequiredPlugin(Sofa.Component.Constraint.Lagrangian.Correction)] Plugin not found: "Sofa.Component.Constraint.Lagrangian.Correction"

Failed to load: ["Sofa.Component.Constraint.Lagrangian.Correction"]
[ERROR] [RequiredPlugin(Sofa.Component.Collision.Geometry)] Plugin not found: "Sofa.Component.Collision.Geometry"

Failed to load: ["Sofa.Component.Collision.Geometry"]
[ERROR] [SofaRuntime] ValueError: Object type BackgroundSetting<> was not created
The object is not in the factory.
This component has been MOVED from SofaBaseVisual to Sofa.Component.UserInterface.ConfigurationSetting since SOFA v22.06.
To continue using this component you may need to update your scene by adding

Traceback (most recent call last):
File "/home/sofa/SOFA/v22.06.00/bin/lapgym/sofa_env/sofa_env/scenes/reach/reach_env.py", line 435, in
env.reset()
File "/home/sofa/SOFA/v22.06.00/bin/lapgym/sofa_env/sofa_env/scenes/reach/reach_env.py", line 380, in reset
super().reset()
File "/home/sofa/SOFA/v22.06.00/bin/lapgym/sofa_env/sofa_env/base.py", line 147, in reset
self._init_sim()
File "/home/sofa/SOFA/v22.06.00/bin/lapgym/sofa_env/sofa_env/scenes/reach/reach_env.py", line 216, in _init_sim
super()._init_sim()
File "/home/sofa/SOFA/v22.06.00/bin/lapgym/sofa_env/sofa_env/base.py", line 230, in _init_sim
self.scene_creation_result = getattr(self._scene_description_module, "createScene")(self._sofa_root_node, **self.create_scene_kwargs)
File "/home/sofa/SOFA/v22.06.00/bin/lapgym/sofa_env/sofa_env/scenes/reach/scene_description.py", line 98, in createScene
add_scene_header(
File "/home/sofa/SOFA/v22.06.00/bin/lapgym/sofa_env/sofa_env/sofa_templates/scene_header.py", line 172, in add_scene_header
root_node.addObject("BackgroundSetting", color=background_color)`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant