[cosmic-users] Error importing xme file created by tao_picml

Jeff Parsons j.parsons at vanderbilt.edu
Thu Dec 15 17:48:03 CST 2005


Hi,

Now I see the problem. I'll work on it tomorrow, and let
you know when I check in a fix.

Jeff 

> -----Original Message-----
> From: Prakash Manghwani [mailto:pmanghwani at bbn.com] 
> Sent: Thursday, December 15, 2005 5:26 PM
> To: Jeff Parsons
> Subject: RE: [cosmic-users] Error importing xme file created 
> by tao_picml
> 
> Hi Jeff,
> Here is the original idl file.
> 
> 
> #ifndef NEWFILE_IDL
> #define NEWFILE_IDL
> 
> #include <Components.idl>
> 
> module test_module
> {
>          typedef sequence<octet> image_type;
> //eventtype ImageGenerationEvt {
>   //   public string     id;
>      //public image_type image;
> //    public string     size;
> //    public string     tag;
>      // public ImageTagSeq tag_seq;
> //    public string role_tag;  //just a shortcut for coding 
> foe capstone demo
>   // };
> };
> #endif // NEWFILE_IDL
> 
> --------------Generated file------------------
> 
> 
> #ifndef NEWFILE_IDL
> #define NEWFILE_IDL
> 
> module test_module
> {
> };
> 
> #endif // NEWFILE_IDL
> 
> 
> Prakash
> At 06:19 PM 12/15/2005, you wrote:
> >Hi,
> >
> >Oh, maybe I misunderstood your email. Is the example below
> >the imported IDL file or the generated IDL file? If the
> >latter, please send me the original IDL file so I can try
> >it out.
> >
> >thanks,
> >
> >Jeff
> >
> > > -----Original Message-----
> > > From: Prakash Manghwani [mailto:pmanghwani at bbn.com]
> > > Sent: Thursday, December 15, 2005 3:42 PM
> > > To: Jeff Parsons; cosmic-users at list.isis.vanderbilt.edu
> > > Subject: RE: [cosmic-users] Error importing xme file created
> > > by tao_picml
> > >
> > > Hi Jeff,
> > > I got the latest version of cosmic from CVS as of 
> yesterday and went
> > > through the entire process of compiling and registering with
> > > GME. xme file
> > > gets imported correctly, but when I generate an idl, it does
> > > not contain
> > > datatype that I just imported. Here is contents of 
> generated idl file.
> > >
> > >
> > > #ifndef NEWFILE_IDL
> > > #define NEWFILE_IDL
> > >
> > > module test_module
> > > {
> > > };
> > >
> > > #endif // NEWFILE_IDL
> > >
> > > Prakash
> > > At 05:38 PM 12/13/2005, Jeff Parsons wrote:
> > > >Hi,
> > > >
> > > >Sorry, I made a mistake in my previous email. CoSMIC 0.4.7
> > > >has not yet been released. However, you can get the latest
> > > >version of the IDL generator from CVS - instructions are
> > > >on the same web page where you obtained 0.4.6.
> > > >
> > > >Jeff
> > > >
> > > > > -----Original Message-----
> > > > > From: Jeff Parsons
> > > > > Sent: Tuesday, December 13, 2005 4:20 PM
> > > > > To: 'Prakash Manghwani'; cosmic-users at list.isis.vanderbilt.edu
> > > > > Subject: RE: [cosmic-users] Error importing xme file created
> > > > > by tao_picml
> > > > >
> > > > > Hi,
> > > > >
> > > > > I couldn't reproduce the problem you report in my workspace.
> > > > > Your problem might be due to a bug in the generation of XML
> > > > > for IDL typedefs in general, which was fixed on Oct. 31, after
> > > > > CoSMIC 0.4.6 was released. CoSMIC version 0.4.7 was released
> > > > > on October 23. Could you update to that version and 
> let me know
> > > > > if the problem persists?
> > > > >
> > > > > thanks,
> > > > >
> > > > > Jeff Parsons
> > > > >
> > > > > > -----Original Message-----
> > > > > > From: cosmic-users-bounces at list.isis.vanderbilt.edu
> > > > > > [mailto:cosmic-users-bounces at list.isis.vanderbilt.edu] On
> > > > > > Behalf Of Prakash Manghwani
> > > > > > Sent: Tuesday, December 13, 2005 2:57 PM
> > > > > > To: cosmic-users at list.isis.vanderbilt.edu
> > > > > > Subject: [cosmic-users] Error importing xme file created by
> > > > > tao_picml
> > > > > >
> > > > > >      CoSMIC VERSION: 0.4.6
> > > > > >
> > > > > >      HOST MACHINE and OPERATING SYSTEM:
> > > > > >        i.e., which version of Windows are you using.
> > > > > >          Windows XP Pro,
> > > > > >
> > > > > >      TOOL/AREA/CLASS/EXAMPLE AFFECTED:
> > > > > > [Particularly, which tool in CoSMIC is affected? What
> > > > > example failed?
> > > > > >   What module failed to compile?]
> > > > > >          PICML and tao_picml are affected.
> > > > > >
> > > > > >      DOES THE PROBLEM AFFECT:
> > > > > >          COMPILATION?
> > > > > >          LINKING?
> > > > > >          EXECUTION?
> > > > > >          OTHER (please specify)?
> > > > > >            xme files created by tao_picml cannot be imported
> > > > > > into PICML.
> > > > > >      SYNOPSIS:
> > > > > > [Brief description of the problem]
> > > > > >          PICML does not like to import xme files created by
> > > > > > tao_picml, if
> > > > > > one of the idl files has typedef sequence of octets 
> as below.
> > > > > >          typedef sequence<octet> image_type;
> > > > > >
> > > > > >      DESCRIPTION:
> > > > > > [Detailed description of problem.  Don't just say "<blah>
> > > > > > doesn't work, here's a fix," explain what your program does
> > > > > > to get to the <blah> state. ]
> > > > > >          run tao_picml on provided idl file. Attached with
> > > > > > this email are 3
> > > > > > files.
> > > > > > 1. Batch file that runs tao_picml on idl file and generates
> > > > > xme file.
> > > > > > 2. Generated .xme file
> > > > > > 3. idl file that is cause of this problem.
> > > > > >
> > > > > >
> > > > > >      REPEAT BY:
> > > > > > [What you did to get the error; include test 
> program or session
> > > > > > transcript if at all possible.  ]
> > > > > >          Files are attached.
> > > > > >      SAMPLE FIX/WORKAROUND:
> > > > > > [If available ]
> > > > > >
> > > > > >
> > > > > >      RELATED FILES:
> > > > > > [Please attach the XME file of your model, generated
> > > > > > descriptors and code.
> > > > > >   In GME you can use "File->Export XML" menu to
> > > generate XME files.]
> > > > > >
> > > > > >          Files are attached.
> > > > > >
> > > > > > What is the specific order of steps I need to take in order
> > > > > > to create a
> > > > > > model of attached idl file in PICML? Specifically, drag and
> > > > > > drop what from
> > > > > > where and when?
> > > > > >
> > > > > > Thanks
> > > > > > Prakash
> > > > > >
> > >
> > >
> 
> 


More information about the cosmic-users mailing list