You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good morning, I'm Andrea. I tried to run the basic.py python code and SOFA didn't give me any errors, but if I try to run the test.py code, it gives me the following errors:
[WARNING] [Qt] QObject::connect: No such slot sofa::gui::qt::RealGUI::fileSaveAs(sofa::simulation::Node*)
[WARNING] [Qt] QObject::connect: (sender name: 'SimuGraph')
[WARNING] [Qt] QObject::connect: (receiver name: 'GUI')
[DEPRECATED] [SofaPython3::SceneLoader] Unable to completely load the scene from file '/home/labjets/Scrivania/andrea/test.py'.
Python exception:
IndentationError: ('expected an indented block after function definition on line 4', ('/home/labjets/Scrivania/andrea/test.py', 6, 1, 'root = Sofa.Core.Node("root")\n', 6, 5))
At:
<frozen importlib._bootstrap>(241): _call_with_frames_removed
<frozen importlib._bootstrap_external>(947): source_to_code
<frozen importlib._bootstrap_external>(1017): get_code
<frozen importlib._bootstrap_external>(879): exec_module
<string>(6): <module>
[INFO] [SceneCheckerVisitor] Validating node "root" with checks: [SceneCheckCollisionResponse, SceneCheckDeprecatedComponents, SceneCheckDuplicatedName, SceneCheckMissingRequiredPlugin, SceneCheckUsingAlias, SceneCheckMultithreading]
[INFO] [SceneCheckerVisitor] Finished validating node "root".
[WARNING] [Node(root)] An animation loop is required, but has not been found. Add an animation loop in the root of your scene to fix this warning. The list of available animation loop components is: [AnimationLoopParallelScheduler, ConstraintAnimationLoop, DefaultAnimationLoop, FreeMotionAnimationLoop, MultiStepAnimationLoop, MultiTagAnimationLoop]. A component of type DefaultAnimationLoop will be automatically added for you.
[WARNING] [RealGUI] Global Bounding Box seems very small; Your viewer settings (based on the bbox) are likely invalid, switching to default value of [-1,-1,-1,1,1,1].This is caused by using component which does not implement properly the computeBBox function.You can remove this warning by manually forcing a value in the parameter bbox="minX minY minZ maxX maxY maxZ" in your root node
How can I do to resolve it?
While waiting for your reply, I send you my best regards.
Andrea basic.txt test.txt
The text was updated successfully, but these errors were encountered:
Good morning, I'm Andrea. I tried to run the
basic.py
python code and SOFA didn't give me any errors, but if I try to run thetest.py
code, it gives me the following errors:How can I do to resolve it?
While waiting for your reply, I send you my best regards.
Andrea
basic.txt
test.txt
The text was updated successfully, but these errors were encountered: