Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

An error occurs when running the design optimization. #2

Open
R-Ayanami opened this issue Jul 23, 2024 · 1 comment
Open

An error occurs when running the design optimization. #2

R-Ayanami opened this issue Jul 23, 2024 · 1 comment

Comments

@R-Ayanami
Copy link

Hi,
I am following the quick start steps, and everything ran smoothly up to the sensitivity analysis. However, when I try to run the optimization, it throws an error and stops. I am using the SensorFinger project as it is. What should I do?
Here is the some outputs of my code.
$python3 main.py -n SensorFinger -op 0 -o -ni 100

Load optimization problem config number 0
Starting design optimization.
---------------------------------------
Checking SOFA_ROOT and SOFAPYTHON3_ROOT
Using environment variable SOFA_ROOT: /home/<username>/SOFA/v22.12.00
---------------------------------------
[ERROR]   [PythonScript] OperationalError: (sqlite3.OperationalError) database is locked
[SQL: INSERT INTO alembic_version (version_num) VALUES ('v2.6.0.a')]
(Background on this error at: https://sqlalche.me/e/20/e3q8)
  File "main.py", line 109, in <module>
    main()
  File "main.py", line 99, in main
    optimization_lib.optimize(Config, id_config=id_config, n_iter=args.n_iter, solver_library_name=args.solver_library, solver_name=args.solver_name, plot_results=not args.no_plot)
@R-Ayanami
Copy link
Author

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

No branches or pull requests

1 participant