You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The URI generated for a relative FMU directory path (a maybe for other cases) upon invoking initialize has a leading '/' too many. I believe the error is here:
The error might be located here:
Running this from python urllib and getting the path gives the output: //Users/au443759/Downloads/linefollower_ken/FMUs/Body
which has an extra leading /.
"file://".replace(/\/g, "/").replace(/ /g, "%20"); produces "file://"
"file:///".replace(/\/g, "/").replace(/ /g, "%20"); produces "file:///"
I believe to solve this you simply have to remove the extra forward slash in fmuPath = "file:///" + fmu.path and make it fmuPath = "file://" + fmu.path
@samajayi13 can you have a look at this discussion INTO-CPS-Association/maestro#34 It may be the case that we need to check the URI standard and maybe use dome library code to generate the path... or just keep what we had.
Error
The URI generated for a relative FMU directory path (a maybe for other cases) upon invoking initialize has a leading '/' too many. I believe the error is here:
The error might be located here:
into-cps-application/src/angular2-app/coe/models/CoeConfig.ts
Line 53 in 3ecc978
Example:
generates
Running this from python urllib and getting the path gives the output:
//Users/au443759/Downloads/linefollower_ken/FMUs/Body
which has an extra leading
/
.Example of the described behavior (works for 6 months): https://www.online-python.com/9bPIl3NDp8
Corresponding python code:
The text was updated successfully, but these errors were encountered: