Troubleshooting downloading software

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
User avatar
Anna Patterson
Posts: 4
Joined: Sun Jan 26, 2020 8:05 pm

Troubleshooting downloading software

Post by Anna Patterson » Sat Feb 15, 2020 8:32 am

Hi! I am attempting to download OpenSim and was able to download the software but it will not let me click the file button to open any files to begin to use it. There is also an error message when I open the software that says it failed to load one or more dynamic libraries for OpenSim. I was just wondering if I could have some help troubleshooting this as nothing I have tried has worked!

Thanks!
Anna

Tags:

User avatar
Ayman Habib
Posts: 2252
Joined: Fri Apr 01, 2005 12:24 pm

Re: Troubleshooting downloading software

Post by Ayman Habib » Sat Feb 15, 2020 10:03 am

Hi Anna,

Based on the behavior you described, the software was installed into a folder that doesn't have write permissions, or as a user you don't have write permissions. Please login as admin or run the installer as an administrator. Also make sure you install into the suggested folder (e.g. C:/OpenSim 4.x) rather than Program Files.

Please let us know how it goes,
-Ayman

User avatar
Anna Patterson
Posts: 4
Joined: Sun Jan 26, 2020 8:05 pm

Re: Troubleshooting downloading software

Post by Anna Patterson » Sun Feb 16, 2020 9:00 pm

I just changed to make sure that I have write permissions and it was installed to the correct folder but I am still getting the same error message. The message says "Failed to load one or more dynamic libraries for OpenSim. java.lang.UnsatisfiedLinkError: no osimJavaJNI in java.library.path Make sure OpenSim's bin directory is on your PATH."

Thanks!
Anna

User avatar
Thomas Uchida
Posts: 1798
Joined: Wed May 16, 2012 11:40 am

Re: Troubleshooting downloading software

Post by Thomas Uchida » Sun Feb 16, 2020 11:31 pm

Is OpenSim's "bin" directory on your PATH? I'll assume you're using Windows 10. To edit your Windows PATH environment variable, open the Start menu and type "Edit the system environment variables". In the "System Properties" window that appears, click the "Environment Variables..." button. Under "System variables", select the "Path" variable and click "Edit...". If it isn't there already, add "C:\OpenSim 4.0\bin" to the list (your installation directory may differ) and remove any entries from previous OpenSim versions. The installer should have added this directory to your path, but may not have if you ran the installer from a user account that doesn't have admin privileges.

User avatar
Anna Patterson
Posts: 4
Joined: Sun Jan 26, 2020 8:05 pm

Re: Troubleshooting downloading software

Post by Anna Patterson » Fri Mar 13, 2020 11:01 am

I tried these methods and uninstalled and reinstalled OpenSim and I am still having the same error message pop up! Is there anything else I can try?

Thanks!
Anna

User avatar
Ayman Habib
Posts: 2252
Joined: Fri Apr 01, 2005 12:24 pm

Re: Troubleshooting downloading software

Post by Ayman Habib » Fri Mar 13, 2020 5:33 pm

Anna,

If the install/bin folder (e.g. C:/OpenSim 4.0/bin) is in your path then you can type

Code: Select all

opensim-cmd 
at the command prompt, this will try to load all the libraries and may give you a more descriptive error message.

Please let us know how that goes, and if you get an error message what it says.

Best regards,
-Ayman

User avatar
Anna Patterson
Posts: 4
Joined: Sun Jan 26, 2020 8:05 pm

Re: Troubleshooting downloading software

Post by Anna Patterson » Tue Mar 17, 2020 11:44 am

Ayman,
I downloaded OpenSim 3.3 and will use that to just get used to how the software works for the time being and will attempt to determine how to download newer versions as I begin to do more research over the summer. Thanks for the help!

Anna

User avatar
Sara Ferrari
Posts: 6
Joined: Fri Jun 05, 2020 12:16 am

Re: Troubleshooting downloading software

Post by Sara Ferrari » Tue Jul 14, 2020 5:49 am

aymanh wrote:
Fri Mar 13, 2020 5:33 pm
Anna,

If the install/bin folder (e.g. C:/OpenSim 4.0/bin) is in your path then you can type

Code: Select all

opensim-cmd 
at the command prompt, this will try to load all the libraries and may give you a more descriptive error message.

Please let us know how that goes, and if you get an error message what it says.

Best regards,
-Ayman
I have the same problem with OpenSim 4/4.1
where should I enter the code you mentioned?
what should I exactly enter?

thanks
Last edited by Sara Ferrari on Tue Jul 14, 2020 10:37 pm, edited 1 time in total.

User avatar
Sara Ferrari
Posts: 6
Joined: Fri Jun 05, 2020 12:16 am

Re: Troubleshooting downloading software

Post by Sara Ferrari » Tue Jul 14, 2020 6:10 am

tkuchida wrote:
Sun Feb 16, 2020 11:31 pm
Is OpenSim's "bin" directory on your PATH? I'll assume you're using Windows 10. To edit your Windows PATH environment variable, open the Start menu and type "Edit the system environment variables". In the "System Properties" window that appears, click the "Environment Variables..." button. Under "System variables", select the "Path" variable and click "Edit...". If it isn't there already, add "C:\OpenSim 4.0\bin" to the list (your installation directory may differ) and remove any entries from previous OpenSim versions. The installer should have added this directory to your path, but may not have if you ran the installer from a user account that doesn't have admin privileges.
I use windows 7 win64 but have the same problem with 4/4.1 versions.
what should be entered as the variable name in the variable box?
C:\OpenSim 4.0\bin is entered in the value box.

User avatar
Thomas Uchida
Posts: 1798
Joined: Wed May 16, 2012 11:40 am

Re: Troubleshooting downloading software

Post by Thomas Uchida » Wed Jul 15, 2020 4:47 am

In general, it should not be necessary to edit environment variables manually. Installation instructions can be found here: https://simtk-confluence.stanford.edu/d ... ng+OpenSim. Be sure to run the installer using an account with admin privileges.

POST REPLY