Opened 4 years ago
Last modified 3 years ago
#6272 new defect
installPackage does not work on Windows
Reported by: | Andreas Heuermann | Owned by: | Adrian Pop |
---|---|---|---|
Priority: | critical | Milestone: | |
Component: | Installation program | Version: | v1.17.0-dev |
Keywords: | OMEdit, CLI, packages, installer | Cc: |
Description (last modified by )
When trying to install packages with OMEdit - OpenModelica Compiler CLI
installPackage
will fail.
How to reproduce:
installPackage(ModelicaReference, "3.2.3+maint.om", exactMatch=true) false getErrorString() "Error: The MODELICAPATH (C:/Program Files/OpenModelica1.17.0-dev-64bit/lib/omlibrary) does not contain C:/Users/Andreas/AppData/Roaming/.openmodelica/libraries/, so the package index cannot be used. [C:/Users/Andreas/AppData/Roaming/.openmodelica/libraries/index.json:0:0-0:0:readonly] Error: The package index did not contain an entry for package ModelicaReference that provides version 3.2.3+maint.om. "
I have the following environment variables:
OPENMODELICAHOME C:\Program Files\OpenModelica1.17.0-dev-64bit\
OPENMODELICALIBRARY C:\Program Files\OpenModelica1.17.0-dev-64bit\lib\omlibrary
which get set by the installer.
When I remove these and restart OMEdit it will work.
Change History (4)
comment:1 by , 4 years ago
Keywords: | OMEdit CLI packages installer added |
---|---|
Version: | 1.16.0 → v1.17.0-dev |
comment:2 by , 4 years ago
Description: | modified (diff) |
---|
comment:3 by , 4 years ago
Milestone: | 1.17.0 → 1.18.0 |
---|
Note:
See TracTickets
for help on using tickets.
Retargeted to 1.18.0 because of 1.17.0 timed release.