-
Notifications
You must be signed in to change notification settings - Fork 53
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
importModel() randomly failing if path contains non-ASCII characters #562
Comments
I encountered a similar issue in the last few days, where it also appears random when In my case, it seems to only occur for files that are in a shared OneDrive folder (not my own folder, example path: What happens if you run I run MATLAB 2024a, with RAVEN installed via Git, on a Windows 10 computer. |
The files I'm having problem with are also in a One Drive folder. The folder name is |
It is odd that this seems to happen at random. I checked the string that MATLAB is parsing to libSBML in both successful and failing cases, and it was identical (as one would expect). The only solution I can then think of is to have the SBML file first copied to a temporary folder (if the source folder has non-ASCII characters), before calling libSBML. Something similar is done in |
If you run |
The workaround involving a temporary file is implemented as part of #559. |
Alternatively, I would suggest the use of a symbolic link in Windows. |
I don't know if I got exactly what you asked Ed, but here is what my
|
Yes, it indeed contains ü, which is not an ASCII character. The current |
Discussed in #561
Originally posted by JBiaggi October 2, 2024
Hello! I recently reinstalled RAVEN using MATLAB (2024b) Add-Ons. Ever since I'm having this problem with importModel(): sometimes it works, sometimes it doesn't. Usually what happens is: when I run the code for the first time, I get this error message:
Then I run the code again, and the function works! The SBML Validators reports that everything is fine with the model. Could you help me fix this problem somehow?
Kind regards
The text was updated successfully, but these errors were encountered: