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

certificate verify failed & urlopen error when running example_kinetics.py #46

Closed
jadehebmc opened this issue Dec 30, 2022 · 5 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@jadehebmc
Copy link

I followed the tutorial and did the set-up as instructed. The example.py ran successfully. Immediately, I tried running example_kineitcs.py, these two errors occurred:

Capture2
Capture3

@jadehebmc jadehebmc changed the title urlopen error when running example_kinetics.py certificate verify failed & urlopen error when running example_kinetics.py Dec 30, 2022
@jadehebmc
Copy link
Author

I created a new conda environment and reinstalled all the packages. Tried again. example.py ran successfully, but not example_kinetics.py for the same errors.
error.txt

@antoinefalisse
Copy link
Collaborator

antoinefalisse commented Dec 30, 2022

@jadehebmc thanks for reporting. I will try to debug next week. Are you on Windows? Are you are connected to internet? It is failing to download some third-party libraries.

Here is a temporary workaround:

  1. Download the folder with the libraries manually: https://sourceforge.net/projects/opensimad/files/. Make you sure you download the right libraries based on your platform (eg, windows.zip).
  2. In the UtilsDynamicSimulations\OpenSimAD folder of opencap-processing, create a subfolder and name it OpenSimAD-install.
  3. Extract the downloaded folder in that subfolder. You should now have something like:
    image
  4. Re-run example_kinetics.py. Now that the libraries are in your local repository, it will not try to download them, and the script should run smooth.

Let me know if you still run into issues.

@antoinefalisse antoinefalisse self-assigned this Dec 30, 2022
@antoinefalisse antoinefalisse added the bug Something isn't working label Dec 30, 2022
@jadehebmc
Copy link
Author

@antoinefalisse thank you. I am on windows and connected to internet. After downloading the files, I was able to run example_kinetics.py on my original (older) computer. I also tried on a different windows computer (newer) and did not encounter this issue (would that be an issue with my computer instead of the code?)

@antoinefalisse
Copy link
Collaborator

Great, thanks for letting me know. I will investigate this further, and keep you posted.

@antoinefalisse
Copy link
Collaborator

@jadehebmc we pushed a fix for this bug, hopefully it works on your machine. Let us know otherwise. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants