[kepler-dev] Export Archive Context Menu
Chad Berkley
berkley at nceas.ucsb.edu
Thu Oct 5 13:38:46 PDT 2006
Hey Dan,
I fixed the ontology problem. It now loads correctly unless you change
the type of the port. This seems to be a ptolemy bug or something. I
remember this happening before and I could never figure it out. The
error is thrown from the MoMLParser and I have no idea why it can't find
the correct constructor for a port with a type. the constructor exists.
I'll keep digging into it.
chad
Dan Higgins wrote:
> Hi Chad,
> Yes, the 'Export Archive (KAR)...' actor context menu is just what I
> was asking for!
>
> I tested it by creating a customized RExpression actor where I added
> 2 input ports and one output port. It writes the kar file with no
> problem, but I did have several problems when I tried loading the
> exported KAR file back into Kepler (using the 'File/Import Archive(KAR)'
> menu.
> First, if I set the 'Type' of the output port to something like
> '{int}' I see an error (Cannot find suitable constructor...')
> If I do not set a type, I get a different error - "There are no
> semantic types defined in this KAR file..." even though there were
> semantic types defined in the orginal RExpression actor. Shouldn't the
> saved KAR include sematic types from the original actor? (Or ask for new
> ones?)
>
> Dan
>
More information about the Kepler-dev
mailing list