Opened 19 years ago

Last modified 18 years ago

#49 closed defect (fixed)

OMC returns strange error string

Reported by: x05andre Owned by: x05andre
Priority: high Milestone:
Component: Version:
Keywords: Cc: x05andre, Adrian Pop

Description


Change History (2)

comment:1 by x05andre, 19 years ago

When I try to list the subpackages in Modelica.SIunits.PathLength I
get a very strange error message.

The following is a log from a session with mosh:


loadModel(Modelica)

true

getPackages(Modelica.SIunits.PathLength)

Error

getErrorString()

"#Error, lookup_classdef failed
Length in Modelica
#Error, lookup_classdef failed
Length in Modelica.SIunits
#Error, lookup_classdef failed
Length in Modelica.SIunits.PathLength
"


What is this error message supposed to mean?

comment:2 by Peter Aronsson, 18 years ago

This has been fixed. Modelica.SIunits.PathLength is a type and not a package,
and therefore getPackages returns empty string for this.

Note: See TracTickets for help on using tickets.