Opened 13 years ago
Closed 5 years ago
#1752 closed defect (fixed)
A Space in the installation path name prevents simulation in OMShell
Reported by: | Pittiplatsch | Owned by: | Adrian Pop |
---|---|---|---|
Priority: | blocker | Milestone: | 1.14.0 |
Component: | Installation program | Version: | |
Keywords: | windows-specific | Cc: | Pittiplatsch, Adeel Asghar |
Description (last modified by )
I installed OpenModelica 1.81 (r11643) in this path: {{{
"C:/Program Files (x86)/OpenModelica1.8.1/"
}}}
In OMShell I issued the following three commands:
>> loadModel(Modelica) true >> loadFile("C:/Program Files (x86)/OpenModelica1.8.1/share/doc/omc/testmodels/dcmotor.mo") true >> simulate(dcmotor,startTime=0.0,stopTime=10.0) record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 10.0, numberOfIntervals = 500, tolerance = 1e-006, method = 'dassl', fileNamePrefix = 'dcmotor', storeInTemp = false, noClean = false, options = '', outputFormat = 'mat', variableFilter = '.*', measureTime = false, cflags = '', simflags = ''", messages = "Simulation failed for model: dcmotor", timeFrontend = 0.0, timeBackend = 0.0, timeSimCode = 0.0, timeTemplates = 0.0, timeCompile = 0.0, timeSimulation = 0.0, timeTotal = 0.0 end SimulationResult;
This simulation fail does not happen if there are no spaces in the path name.
Please allow spaces in the path name or - if infeasible - document more obviously that spaces are not allowed and/or hamper the user from installing in 'wrong' directories.
- UPDATE': I repeated the installation and only now I've seen the message "Please do not install OpenModelica in a directory that contains spaces (...)". Maybe this bug is obsolete. But can't you allow spaces.... please, please!!! :-)
Attachments (1)
Change History (10)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
Description: | modified (diff) |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:3 by , 12 years ago
Keywords: | windows-specific added |
---|
comment:4 by , 9 years ago
Milestone: | → Future |
---|
comment:6 by , 7 years ago
Milestone: | Future → 1.13.0 |
---|
comment:8 by , 6 years ago
Milestone: | 1.14.0 → 2.0.0 |
---|---|
Priority: | high → blocker |
comment:9 by , 5 years ago
Milestone: | 2.0.0 → 1.14.0 |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Is already fixed. See #4504.
Note:
See TracTickets
for help on using tickets.
We do allow spaces in path names for every single OS other than Windows (because bat/cmd scripting is crippled if I understand the Windows developers correctly).