12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-11-08T19:20:14.675943 #1] INFO -- : Skipping file ./bioptim/examples/muscle_driven_with_contact/contact_forces_inequality_constraint_muscle.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 141
plt.plot(np.linspace(0, t, ns + 1)[:-1], elt, ".-", label=f"{names_contact_forces[i]}")
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.676905 #1] INFO -- : Skipping file ./bioptim/examples/__main__.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 471
expr = f"(?i){self.searchText}"
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.688458 #1] INFO -- : Skipping file ./bioptim/examples/muscle_driven_with_contact/contact_forces_inequality_constraint_muscle_excitations.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 147
plt.plot(np.linspace(0, t, ns + 1)[:-1], elt, ".-", label=f"{names_contact_forces[i]}")
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.710960 #1] INFO -- : Skipping file ./bioptim/examples/optimal_time_ocp/pendulum_min_time_Mayer.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 32
biorbd_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.723264 #1] INFO -- : Skipping file ./bioptim/examples/optimal_time_ocp/multiphase_time_constraint.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 31
final_time: tuple,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.723316 #1] INFO -- : Skipping file ./bioptim/examples/optimal_time_ocp/time_constraint.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 29
biorbd_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.735241 #1] INFO -- : Skipping file ./bioptim/examples/getting_started/example_multinode_constraints.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 34
controllers: list[PenaltyController], coef: float, states_mapping: BiMapping = None
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.735979 #1] INFO -- : Skipping file ./bioptim/examples/getting_started/pendulum.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 32
biorbd_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.746843 #1] INFO -- : Skipping file ./bioptim/examples/getting_started/example_inequality_constraint.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 38
biorbd_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.750251 #1] INFO -- : Skipping file ./bioptim/examples/getting_started/example_variable_scaling.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 28
biorbd_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.761397 #1] INFO -- : Skipping file ./bioptim/examples/getting_started/example_implicit_dynamics.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 34
biorbd_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.773288 #1] INFO -- : Skipping file ./bioptim/examples/getting_started/example_joints_acceleration_driven.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 29
biorbd_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.776548 #1] INFO -- : Skipping file ./bioptim/examples/getting_started/custom_parameters.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 36
def my_parameter_function(bio_model: BiorbdModel, value: MX, extra_value: Any):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.786271 #1] INFO -- : Skipping file ./bioptim/examples/getting_started/custom_plotting.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 19
def custom_plot_callback(x: MX, q_to_plot: list) -> MX:
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.788964 #1] INFO -- : Skipping file ./bioptim/examples/getting_started/example_multinode_objective.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 25
def multinode_min_controls(controllers: list[PenaltyController]):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.797708 #1] INFO -- : Skipping file ./bioptim/examples/getting_started/example_multistart.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 30
bio_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.802045 #1] INFO -- : Skipping file ./bioptim/examples/getting_started/example_simulation.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 39
print(f"Final position of q from single shooting of initial guess = {s['q'][-1]}")
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.809416 #1] INFO -- : Skipping file ./bioptim/examples/getting_started/example_continuity_as_objective.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 45
def out_of_sphere(controller: PenaltyController, y, z):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.814934 #1] INFO -- : Skipping file ./bioptim/examples/getting_started/pendulum_constrained_states_controls.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 38
biorbd_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.839654 #1] INFO -- : Skipping file ./bioptim/examples/getting_started/custom_objectives.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 30
def custom_func_track_markers(controller: PenaltyController, first_marker: str, second_marker: str, method: int) -> MX:
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.857502 #1] INFO -- : Skipping file ./bioptim/examples/getting_started/custom_constraint.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 31
def custom_func_track_markers(controller: PenaltyController, first_marker: str, second_marker: str, method) -> MX:
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.857556 #1] INFO -- : Skipping file ./bioptim/examples/getting_started/custom_initial_guess.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 40
current_shooting_point: int, my_values: np.ndarray, n_shooting_custom: int, var_key: str, **extra_params
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.869336 #1] INFO -- : Skipping file ./bioptim/examples/getting_started/custom_bounds.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 35
def custom_x_bounds_min(current_shooting_point: int, n_elements: int, n_shooting: int, slicer: slice) -> np.ndarray:
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.869916 #1] INFO -- : Skipping file ./bioptim/examples/getting_started/example_cyclic_movement.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 34
biorbd_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.880933 #1] INFO -- : Skipping file ./bioptim/examples/getting_started/example_multiphase.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 34
def minimize_difference(controllers: list[PenaltyController, PenaltyController]):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.883528 #1] INFO -- : Skipping file ./bioptim/examples/getting_started/example_external_forces.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 37
biorbd_model_path: str = "models/cube_with_forces.bioMod",
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.896898 #1] INFO -- : Skipping file ./bioptim/examples/getting_started/custom_phase_transitions.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 36
controllers: list[PenaltyController, PenaltyController], coef: float, states_mapping: BiMapping = None
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.903558 #1] INFO -- : Skipping file ./bioptim/examples/getting_started/custom_dynamics.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 37
time: MX | SX,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.910167 #1] INFO -- : Skipping file ./bioptim/examples/fatigue/static_arm_with_fatigue.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 43
biorbd_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.918083 #1] INFO -- : Skipping file ./bioptim/examples/fatigue/pendulum_with_fatigue.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 41
biorbd_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.921859 #1] INFO -- : Skipping file ./bioptim/examples/holonomic_constraints/two_pendulums.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 31
def compute_all_states(sol, bio_model: HolonomicBiorbdModel):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.933090 #1] INFO -- : Skipping file ./bioptim/examples/track/track_segment_on_rt.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 29
biorbd_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.933350 #1] INFO -- : Skipping file ./bioptim/examples/track/track_vector_orientation.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 26
biorbd_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.944524 #1] INFO -- : Skipping file ./bioptim/examples/track/track_marker_on_segment.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 30
biorbd_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.945236 #1] INFO -- : Skipping file ./bioptim/examples/track/optimal_estimation.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 32
def get_markers_pos(x: DM | np.ndarray, idx_marker: int, fun: Callable, n_q: int) -> DM | np.ndarray:
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.955963 #1] INFO -- : Skipping file ./bioptim/examples/symmetrical_torque_driven_ocp/symmetry_by_mapping.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 51
biorbd_model_path: str = "models/cubeSym.bioMod",
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.956617 #1] INFO -- : Skipping file ./bioptim/examples/symmetrical_torque_driven_ocp/symmetry_by_constraint.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 37
biorbd_model_path: str = "models/cubeSym.bioMod",
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.968645 #1] INFO -- : Skipping file ./bioptim/examples/discrete_mechanics_and_optimal_control/example_variational_integrator_pendulum.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 21
bio_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.969255 #1] INFO -- : Skipping file ./bioptim/examples/sqp_method/pendulum.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 23
biorbd_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.987487 #1] INFO -- : Skipping file ./bioptim/examples/discrete_mechanics_and_optimal_control/example_variational_integrator_with_holonomic_constraints_pendulum.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 24
bio_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.987545 #1] INFO -- : Skipping file ./bioptim/examples/acados/pendulum.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 24
biorbd_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:14.999846 #1] INFO -- : Skipping file ./bioptim/examples/acados/static_arm.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 124
print(f"Final objective: {np.nansum(sol_acados.cost)}")
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.022140 #1] INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/torque_activation_driven.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 24
biorbd_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.022706 #1] INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/example_pendulum_time_dependent.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 40
time: MX | SX,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.039692 #1] INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/example_minimize_segment_velocity.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 22
biorbd_model_path: str = "models/triple_pendulum.bioMod",
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.039747 #1] INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/maximize_predicted_height_CoM.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 34
biorbd_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.051282 #1] INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/track_markers_with_torque_actuators.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 31
biorbd_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.052605 #1] INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/trampo_quaternions.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 30
def eul2quat(eul: np.ndarray) -> np.ndarray:
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.062863 #1] INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/minmax_torque_by_extra_parameter_multiphase.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 37
def custom_constraint_max_tau(controller: PenaltyController) -> MX:
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.063898 #1] INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/track_markers_2D_pendulum.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 42
def get_markers_pos(x: DM | np.ndarray, idx_marker: int, fun: Callable, n_q: int) -> DM | np.ndarray:
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.075447 #1] INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/minimize_maximum_torque_by_extra_parameter.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 34
def custom_constraint_max_tau(controller: PenaltyController) -> MX:
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.079825 #1] INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/pendulum_with_passive_torque.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 27
biorbd_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.086773 #1] INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/phase_transition_uneven_variable_number_by_mapping.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 23
biorbd_model_path: str = "models/double_pendulum.bioMod",
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.091910 #1] INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/spring_load.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 113
time: MX,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.101938 #1] INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/example_multi_biorbd_model.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 22
biorbd_model_path: str = "models/triple_pendulum.bioMod",
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.103798 #1] INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/ocp_mass_with_ligament.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 22
biorbd_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.113783 #1] INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/slider.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 27
biorbd_model_path: str = "models/slider.bioMod",
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.116674 #1] INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/torque_driven_free_floating_base.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 26
def prepare_ocp(biorbd_model_path: str):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.127775 #1] INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/phase_transition_uneven_variable_number_by_bounds.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 21
biorbd_model_path_with_translations: str = "models/double_pendulum_with_translations.bioMod",
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.128445 #1] INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/example_quaternions.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 34
def eul2quat(eul: np.ndarray) -> np.ndarray:
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.139807 #1] INFO -- : Skipping file ./bioptim/examples/custom_model/main.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 27
model: MyModel,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.141167 #1] INFO -- : Skipping file ./bioptim/examples/torque_driven_ocp/example_soft_contact.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 35
biorbd_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.151891 #1] INFO -- : Skipping file ./bioptim/examples/custom_model/custom_package/my_model.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 25
def serialize(self) -> tuple[Callable, dict]:
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.163577 #1] INFO -- : Skipping file ./bioptim/examples/custom_model/custom_package/custom_dynamics.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
time: MX,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.166249 #1] INFO -- : Skipping file ./bioptim/examples/muscle_driven_ocp/muscle_activations_tracker.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 43
bio_model: BiorbdModel,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.179431 #1] INFO -- : Skipping file ./bioptim/examples/muscle_driven_ocp/muscle_excitations_tracker.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 42
bio_model: BiorbdModel,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.181759 #1] INFO -- : Skipping file ./bioptim/examples/muscle_driven_ocp/static_arm_with_contact.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 28
biorbd_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.191129 #1] INFO -- : Skipping file ./bioptim/examples/muscle_driven_ocp/static_arm.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 29
biorbd_model_path: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.193248 #1] INFO -- : Skipping file ./bioptim/examples/stochastic_optimal_control/common.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 41
return cas.inv(mass_matrix) @ (torques_computed - non_linear_effects - nlp.model.friction_coefficients @ qdot)
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.202546 #1] INFO -- : Skipping file ./bioptim/examples/stochastic_optimal_control/models/leuven_arm_model.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 22
tau_fb = k_matrix @ ((sensory_input - ref) + sensory_noise)
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.209032 #1] INFO -- : Skipping file ./bioptim/examples/stochastic_optimal_control/models/rockit_model.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 19
motor_noise_magnitude: np.ndarray | DM = None,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.213993 #1] INFO -- : Skipping file ./bioptim/examples/stochastic_optimal_control/models/mass_point_model.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 17
def __init__(self, motor_noise_magnitude: np.ndarray | DM = None, polynomial_degree: int = 1, socp_type=None):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.225427 #1] INFO -- : Skipping file ./bioptim/examples/stochastic_optimal_control/arm_reaching_torque_driven_implicit.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 49
time: cas.MX | cas.SX,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.226198 #1] INFO -- : Skipping file ./bioptim/examples/stochastic_optimal_control/rockit_matrix_lyapunov.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 42
def configure_optimal_control_problem(ocp: OptimalControlProgram, nlp: NonLinearProgram):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.237986 #1] INFO -- : Skipping file ./bioptim/examples/stochastic_optimal_control/arm_reaching_muscle_driven.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 50
time: cas.MX | cas.SX,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.238145 #1] INFO -- : Skipping file ./bioptim/examples/stochastic_optimal_control/arm_reaching_torque_driven_explicit.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 47
time: cas.MX | cas.SX,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.249726 #1] INFO -- : Skipping file ./bioptim/examples/stochastic_optimal_control/arm_reaching_torque_driven_collocations.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 37
time: cas.MX | cas.SX,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.257029 #1] INFO -- : Skipping file ./bioptim/examples/stochastic_optimal_control/obstacle_avoidance_direct_collocation.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 216
print(f"Something went wrong at the {i}th node. (Semi-definiteness)")
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.261350 #1] INFO -- : Skipping file ./bioptim/examples/inverse_optimal_control/double_pendulum_torque_driven_IOCP.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 33
phase_dynamics: PhaseDynamics = PhaseDynamics.SHARED_DURING_THE_PHASE,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.268544 #1] INFO -- : Skipping file ./bioptim/examples/moving_horizon_estimation/multi_cyclic_nmpc.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 53
phase_dynamics: PhaseDynamics = PhaseDynamics.SHARED_DURING_THE_PHASE,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.273029 #1] INFO -- : Skipping file ./bioptim/examples/moving_horizon_estimation/mhe.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 97
bio_model: BioModel,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.279862 #1] INFO -- : Skipping file ./bioptim/examples/moving_horizon_estimation/multi_cyclic_nmpc_with_parameters.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 59
def dummy_parameter_function(bio_model: biorbd.Model, value: MX):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.284632 #1] INFO -- : Skipping file ./bioptim/examples/moving_horizon_estimation/cyclic_nmpc.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 89
def update_functions(_nmpc: CyclicNonlinearModelPredictiveControl, cycle_idx: int, _sol: Solution):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.291462 #1] INFO -- : Skipping file ./bioptim/gui/check_conditioning.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 111
else f"not positive semi-definite (min: {ev_min}, max: {ev_max})"
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.296604 #1] INFO -- : Skipping file ./bioptim/gui/ipopt_output_plot.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 85
grad_g_lam = grad_g_func(x) @ lam_g
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.303252 #1] INFO -- : Skipping file ./bioptim/gui/online_callback_abstract.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 35
def __init__(self, ocp, opts: dict = None, **show_options):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.308349 #1] INFO -- : Skipping file ./bioptim/gui/serializable_class.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 14
_size_in: dict[str, int]
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.315078 #1] INFO -- : Skipping file ./bioptim/gui/online_callback_server.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 24
def _serialize_show_options(show_options: dict) -> bytes:
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.320140 #1] INFO -- : Skipping file ./bioptim/gui/graph.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 10
_return_line: ""
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.341878 #1] INFO -- : Skipping file ./bioptim/gui/plot.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 61
update_function: Callable,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.346050 #1] INFO -- : Skipping file ./bioptim/gui/online_callback_multiprocess.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 27
def __init__(self, ocp, opts: dict = None, **show_options):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.353061 #1] INFO -- : Skipping file ./bioptim/interfaces/ipopt_interface.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 75
def online_optim(self, ocp, show_options: dict = None):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.364225 #1] INFO -- : Skipping file ./bioptim/interfaces/sqp_interface.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 74
def online_optim(self, ocp, show_options: dict = None):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.365608 #1] INFO -- : Skipping file ./bioptim/interfaces/sqp_options.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 75
type: SolverType = SolverType.SQP
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.381018 #1] INFO -- : Skipping file ./bioptim/interfaces/solve_ivp_interface.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 12
list_of_dynamics: list[Callable],
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.382118 #1] INFO -- : Skipping file ./bioptim/interfaces/solver_interface.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 54
def solve(self, expand_during_shake_tree) -> dict:
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.392934 #1] INFO -- : Skipping file ./bioptim/interfaces/abstract_options.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 19
type: SolverType = SolverType.NONE
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.393746 #1] INFO -- : Skipping file ./bioptim/interfaces/interface_utils.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 18
def generic_online_optim(interface, ocp, show_options: dict | None = None):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.404625 #1] INFO -- : Skipping file ./bioptim/interfaces/acados_options.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 65
type: SolverType = SolverType.ACADOS
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.405198 #1] INFO -- : Skipping file ./bioptim/interfaces/acados_interface.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 85
def __init__(self, ocp, solver_options: Solver.ACADOS = None):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.417319 #1] INFO -- : Skipping file ./bioptim/interfaces/ipopt_options.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 75
type: SolverType = SolverType.IPOPT
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.428901 #1] INFO -- : Skipping file ./bioptim/limits/phase_transtion_factory.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 31
def create_default_transitions(self) -> list[PhaseTransition]:
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.429565 #1] INFO -- : Skipping file ./bioptim/limits/penalty.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 44
def minimize_states(penalty: PenaltyOption, controller: PenaltyController, key: str):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.440590 #1] INFO -- : Skipping file ./bioptim/limits/objective_functions.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 17
objective: Any,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.441779 #1] INFO -- : Skipping file ./bioptim/limits/phase_transition.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 45
phase_pre_idx: int = None,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.452277 #1] INFO -- : Skipping file ./bioptim/limits/multinode_constraint.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 12
def __init__(self, *args, min_bound: float = 0, max_bound: float = 0, is_stochastic: bool = False, **kwargs):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.454596 #1] INFO -- : Skipping file ./bioptim/limits/multinode_objective.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 10
def __init__(self, *args, weight: float = 0, is_stochastic: bool = False, **kwargs):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.463703 #1] INFO -- : Skipping file ./bioptim/limits/multinode_penalty.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 42
_multinode_penalty_fcn: Any | type,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.466792 #1] INFO -- : Skipping file ./bioptim/limits/penalty_controller.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 24
nlp: NonLinearProgram,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.475523 #1] INFO -- : Skipping file ./bioptim/limits/path_conditions.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 49
input_array: np.ndarray | Callable,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.487032 #1] INFO -- : Skipping file ./bioptim/limits/fatigue_path_conditions.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 8
def FatigueBounds(fatigue: FatigueList, variable_type=VariableType.STATES, fix_first_frame=False):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.493418 #1] INFO -- : Skipping file ./bioptim/limits/penalty_helpers.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 10
transition: bool # If the penalty is a transition penalty
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.498808 #1] INFO -- : Skipping file ./bioptim/limits/constraints.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 28
constraint: Any,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.505026 #1] INFO -- : Skipping file ./bioptim/limits/penalty_option.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 88
penalty: Any,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.510047 #1] INFO -- : Skipping file ./bioptim/models/protocols/stochastic_biomodel.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 13
sensory_noise_magnitude: np.ndarray
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.516335 #1] INFO -- : Skipping file ./bioptim/models/protocols/holonomic_biomodel.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 12
constraints_list: HolonomicConstraintsList,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.527630 #1] INFO -- : Skipping file ./bioptim/models/protocols/biomodel.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 17
def name(self) -> str:
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.538463 #1] INFO -- : Skipping file ./bioptim/models/protocols/variational_biomodel.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 9
q1: MX | SX,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.539190 #1] INFO -- : Skipping file ./bioptim/models/biorbd/viewer_bioviz.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 12
ocp: "OptimalControlProgram",
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.556040 #1] INFO -- : Skipping file ./bioptim/models/biorbd/biorbd_model.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 27
bio_model: str | biorbd.Model,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.556302 #1] INFO -- : Skipping file ./bioptim/models/biorbd/viewer_utils.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 9
nlps: list["NonLinearProgram", ...], n_shooting: int = None
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.567880 #1] INFO -- : Skipping file ./bioptim/models/biorbd/viewer_pyorerun.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 16
show_now: bool,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.568495 #1] INFO -- : Skipping file ./bioptim/models/biorbd/variational_biorbd_model.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 20
bio_model: str | biorbd.Model,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.579872 #1] INFO -- : Skipping file ./bioptim/models/biorbd/holonomic_biorbd_model.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 19
def __init__(self, bio_model: str | biorbd.Model):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.591727 #1] INFO -- : Skipping file ./bioptim/models/biorbd/multi_biorbd_model.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 37
bio_model: tuple[str | biorbd.Model | BiorbdModel, ...],
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.596913 #1] INFO -- : Skipping file ./bioptim/models/biorbd/stochastic_biorbd_model.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 24
tau_fb = k_matrix @ ((sensory_input - ref) + sensory_noise)
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.608387 #1] INFO -- : Skipping file ./bioptim/models/utils.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 5
def _dof_mapping(key, model, mapping: BiMapping = None) -> dict:
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.617771 #1] INFO -- : Skipping file ./bioptim/models/holonomic_constraints.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 20
biorbd_model: BiorbdModel,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.622271 #1] INFO -- : Skipping file ./bioptim/dynamics/ode_solver.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 21
def __init__(self, duplicate_starting_point: bool = False):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.633412 #1] INFO -- : Skipping file ./bioptim/dynamics/dynamics_evaluation.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 14
def __init__(self, dxdt: MX | SX = None, defects: MX | SX = None):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.637343 #1] INFO -- : Skipping file ./bioptim/dynamics/fatigue/effort_perception.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 13
def __init__(self, effort_threshold: float, effort_factor: float, scaling: float = 1):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.645808 #1] INFO -- : Skipping file ./bioptim/dynamics/fatigue/michaud_fatigue.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 14
def dynamics_suffix() -> str:
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.654258 #1] INFO -- : Skipping file ./bioptim/dynamics/fatigue/muscle_fatigue.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 17
def apply_dynamics(self, target_load: float | MX | SX, *states: Any):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.658133 #1] INFO -- : Skipping file ./bioptim/dynamics/fatigue/tau_fatigue.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 17
minus: FatigueModel,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.666644 #1] INFO -- : Skipping file ./bioptim/dynamics/fatigue/xia_fatigue.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 13
def __init__(self, LD: float, LR: float, F: float, R: float, **kwargs):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.678280 #1] INFO -- : Skipping file ./bioptim/dynamics/fatigue/fatigue_dynamics.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 11
def __init__(self, scaling: float = 1, state_only: bool = None, apply_to_joint_dynamics: bool = None):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.685142 #1] INFO -- : Skipping file ./bioptim/dynamics/integrator.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 52
def __init__(self, ode: dict, ode_opt: dict):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.690549 #1] INFO -- : Skipping file ./bioptim/dynamics/dynamics_functions.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 47
time: MX.sym,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.698962 #1] INFO -- : Skipping file ./bioptim/dynamics/configure_problem.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 81
def _get_kinematics_based_names(nlp, var_type: str) -> list[str]:
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.713324 #1] INFO -- : Skipping file ./bioptim/optimization/stochastic_optimal_control_program.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 42
bio_model: list | tuple | StochasticBioModel,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.715563 #1] INFO -- : Skipping file ./bioptim/dynamics/configure_new_variable.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 12
as_states: bool, as_controls: bool, as_states_dot: bool, as_algebraic_states: bool
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.724948 #1] INFO -- : Skipping file ./bioptim/optimization/non_linear_program.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 135
def __init__(self, phase_dynamics: PhaseDynamics):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.727092 #1] INFO -- : Skipping file ./bioptim/optimization/optimization_variable.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 39
name: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.736340 #1] INFO -- : Skipping file ./bioptim/optimization/parameters.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 23
name: str,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.743215 #1] INFO -- : Skipping file ./bioptim/optimization/receding_horizon_optimization.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 36
bio_model: list | tuple | BioModel,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.747684 #1] INFO -- : Skipping file ./bioptim/optimization/solution/solution_data.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 36
def __init__(self, unscaled, scaled, n_nodes: list[int]):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.759513 #1] INFO -- : Skipping file ./bioptim/optimization/solution/solution.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 99
vector: np.ndarray | DM = None,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.765811 #1] INFO -- : Skipping file ./bioptim/optimization/solution/utils.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 5
variable: list[dict[np.ndarray]], continuous: bool = True
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.771111 #1] INFO -- : Skipping file ./bioptim/optimization/multi_start.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 23
combinatorial_parameters: dict[tuple, ...],
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.781124 #1] INFO -- : Skipping file ./bioptim/optimization/optimization_vector.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 58
raise NotImplementedError(f"Multiple shooting problem not implemented yet for {nlp.control_type}")
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.785605 #1] INFO -- : Skipping file ./bioptim/optimization/variable_scaling.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 7
def __init__(self, key: str, scaling: np.ndarray | list = None, **kwargs):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.800361 #1] INFO -- : Skipping file ./bioptim/optimization/optimal_control_program.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 141
bio_model: list | tuple | BioModel,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.806184 #1] INFO -- : Skipping file ./bioptim/optimization/problem_type.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 22
def __init__(self, with_cholesky: bool = False):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.812653 #1] INFO -- : Skipping file ./bioptim/optimization/variational_optimal_control_program.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 33
bio_model: VariationalBioModel,
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.837021 #1] INFO -- : Skipping file ./bioptim/misc/casadi_expand.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 4
def lt(x: MX | SX | DM | float, y: MX | SX | DM | float):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.854443 #1] INFO -- : Skipping file ./bioptim/misc/options.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 29
def __init__(self, phase: int = -1, list_index: int = -1, name: str = None, type: Any = None, **extra_parameters):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.868752 #1] INFO -- : Skipping file ./bioptim/misc/utils.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 5
def check_version(tool_to_compare: Any, min_version: str, max_version: str, exclude_max: bool = True):
^
SyntaxError: invalid syntax
I, [2024-11-08T19:20:15.878548 #1] INFO -- : Skipping file ./bioptim/misc/mapping.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
print(json.dumps(to_json(ast.parse(source))))
File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 36
map_idx: list | tuple | range | np.ndarray,
^
SyntaxError: invalid syntax
|