Opened 4 years ago
Last modified 3 years ago
#6272 new defect
installPackage does not work on Windows — at Initial Version
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
When trying to install packages with OMEdit - OpenModelica Compiler CLI
installPackage
will fail because of
run
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.
Note:
See TracTickets
for help on using tickets.