Hello everyone.
I have a problem when I run the file "example_kinetics.py", either on spyder or anaconda prompt. Each time, the following error message appears "Cannot open file [document path "LaiUhlrich2022.osim"]. It may not exist or you do not have permission to read it". I'm sure it's silly, but I haven't been able to work out what's causing the problem for a while, even searching the internet.
Thanks in advance for your help!
file not exist/not have permission problem
- Paul Delthil
- Posts: 3
- Joined: Thu May 23, 2024 5:43 pm
- Antoine Falisse
- Posts: 437
- Joined: Wed Jan 07, 2015 2:21 am
Re: file not exist/not have permission problem
Hi, are you working with your own data? Or someone else's data? If the latter, they should make the session public first.
Antoine
Antoine
- Paul Delthil
- Posts: 3
- Joined: Thu May 23, 2024 5:43 pm
Re: file not exist/not have permission problem
Thank you for your reply. It was with my own data. I moved my files and that solved the problem.
However, I have a new error message saying that the "foo.py" file does not exist in the bin folder, which is the case (I do have the bin folder, but no "foo.py" file inside). I downloaded the "windows.zip" file on my side and I can't find it in the bin folder either. Where can I find this file ("foo.py") so that I can put it in the bin folder?
However, I have a new error message saying that the "foo.py" file does not exist in the bin folder, which is the case (I do have the bin folder, but no "foo.py" file inside). I downloaded the "windows.zip" file on my side and I can't find it in the bin folder either. Where can I find this file ("foo.py") so that I can put it in the bin folder?
- Antoine Falisse
- Posts: 437
- Joined: Wed Jan 07, 2015 2:21 am
Re: file not exist/not have permission problem
can you please share the full error message?
- Paul Delthil
- Posts: 3
- Joined: Thu May 23, 2024 5:43 pm
Re: file not exist/not have permission problem
Of course.
File ~\anaconda3\envs\opencap-processing\lib\shutil.py:434 in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File ~\anaconda3\envs\opencap-processing\lib\shutil.py:254 in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\pauld\\OneDrive\\Documents\\opencap-processing\\UtilsDynamicSimulations\\OpenSimAD\\opensimAD-install\\windows\\bin\\foo.py'
-- Building for: NMake Makefiles
-- Configuring incomplete, errors occurred!
File ~\anaconda3\envs\opencap-processing\lib\shutil.py:434 in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File ~\anaconda3\envs\opencap-processing\lib\shutil.py:254 in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\pauld\\OneDrive\\Documents\\opencap-processing\\UtilsDynamicSimulations\\OpenSimAD\\opensimAD-install\\windows\\bin\\foo.py'
-- Building for: NMake Makefiles
-- Configuring incomplete, errors occurred!
- Antoine Falisse
- Posts: 437
- Joined: Wed Jan 07, 2015 2:21 am
Re: file not exist/not have permission problem
yes, this is a bug. Please implement the manual fixes here: https://github.com/stanfordnmbl/opencap ... issues/113
best, antoine
best, antoine