[kepler-users] Bug with saving actors to library

Tomasz Żok tzok at man.poznan.pl
Mon Feb 1 09:24:37 PST 2010


Hi Christopher,

I am using Kepler on Linux. The "Save in Library" position in menu is in both 
1.0.0 version and with the newest one from svn. Please see the screenshot 
attached. I will have a possibility to check the bug existence in a clean tree 
on Thursday.

Also, please note, that this error occurs not only with such simple example. I 
found it out in one of my complex composites, and just prepared a minimal 
reproducible example to send it here on list :)

In the real use case I introduced such relation<->relation links to improve 
readability of workflow. And this real use case for sure has other actors, ports, 
etc.

Regards,
Tomek

On poniedziałek 01 luty 2010 at 18:00:38 Christopher Brooks wrote:
> Hi Tomasz,
> Strange, I don't have "Save in Library" in my Kepler configuration
> (see attached).
> 
> Are you running with a regular configuration?  My tree is fairly recent
> and updated today.  I did "ant switch-to -Dsuite=kepler" to create the
>  tree. I have a slow connection today and tomorrow, so I can't check out a
>  clean tree. Would you have the opportunity to check out a clean tree and
>  replicate the bug?
> 
> I do have "Save in Library" in Vergil when running in a Ptolemy tree
> outside of Kepler.
> 
> I can't replicate the problem there either.
> 
> There could easily be a bug here, there have been issues with composites
>  that contain no actors.
> 
> _Christopher
> 
> On 2/1/10 8:41 AM, Tomasz Żok wrote:
> > Hi Christopher,
> >
> > The problem occurred when composite actor was saved in a library, not in
> > a KAR file. I selected the actor, clicked right button and chose "Save in
> > library..." in the popup menu.
> >
> > Regards,
> > Tomek
> >
> > On poniedziałek 01 luty 2010 at 15:49:31 Christopher Brooks wrote:
> >> Hi Tomasz,
> >> I can't seem to reproduce this.  I'm using the Kepler head under Mac OS.
> >> I used "Save As (KAR)..." to save the composite and it has the
> >> two relations and the link between them.
> >>
> >> I'm probably doing something wrong?
> >>
> >> _Christopher
> >>
> >> On 2/1/10 6:24 AM, Tomasz Żok wrote:
> >>> Hi,
> >>>
> >>> I've just discovered a bug with actor exporting. The process of saving
> >>> an actor to library does not export connections between relations.
> >>> Everything else is saved correctly (eg. port<->   relation, constant<->
> >>> relation), but relation<->   relation is not exported
> >>>
> >>> To reproduce:
> >>> 1. Create a composite actor
> >>> 2. Inside it, create two relations (control+click)
> >>> 3. Connect them and save this actor in the library
> >>> 4. The connection between relations was not saved. When you put the
> >>> actor from library, it is missing.
> >>>
> >>> I have tested in on Kepler 1.0.0 and on the HEAD update from svn
> >>> repository
> >>>
> >>> In the attachment there is a workflow with only one such composite
> >>> actor, containing only connection between relations. Please try to save
> >>> this actor in the library and reuse it from there to observe the
> >>> incorrect behaviour.
> >>>
> >>> Best regards,
> >>> Tomek
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: savelibrary.png
Type: image/png
Size: 8113 bytes
Desc: not available
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20100201/8fc8157d/attachment.png>


More information about the Kepler-users mailing list