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

Jeff Parsons j.parsons at vanderbilt.edu
Thu Dec 15 17:06:28 CST 2005


Hi,

I just updated both the IDL importer and the IDL generator,
rebuilt and reregistered, and tried your example. The empty
module shows up both in the model and in the IDL generated
from it.

What's puzzling is that an empty module is illegal IDL. Since
the IDL importer uses the existing IDL compiler parsing engine,
this error should be reported. I'll look into that - as of now
I don't know why you are not seeing the module in generated
IDL. Just for a sanity check, was GME running with the imported
model loaded when you rebuilt & reregistered the IDL generator?
If so, close GME, reopen it and reimport the xme file.

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