[cosmic-users] RE: Help running tao_picml on CIAO DanCE BasicSP example

Jeff Parsons parsons at isis.vanderbilt.edu
Mon Feb 7 20:56:48 CST 2005


Hi,

Just checked in a fix for this, sorry it took so long for me to
get to it. Actually, the problem stems from the fact that your
spelling of BasicSP.idl on the command line differs in case.
GME ids of everything are stored in a table in the tao_picml
backend, using filenames as keys for the files on the command
line (and repo ids for everything else). When the include of
BasicSP.idl was found in the other files, its GME id (for using
in the reference attribute of the XML) couldn't be found. This
error was not caught, leading to the incorrect XME file which
wouldn't load into GME. My fix now makes sure that omissions
of IDL files on the command line, or spellings that differ in
case, are cuaght and reported. The case-sensitvity is necessary
since tao_picml could also be run on a UNIX platform, where
filenames are case sensitive.

Thanks for reporting the bug.

Jeff

> -----Original Message-----
> From: Samuel H Abbe [mailto:sam_abbe at raytheon.com] 
> Sent: Tuesday, February 01, 2005 4:33 PM
> To: 'Samuel H Abbe'; cosmic-users at list.isis.vanderbilt.edu
> Subject: [cosmic-users] RE: Help running tao_picml on CIAO 
> DanCE BasicSP example
> 
> 
> Do you mean run:
> 
> C:\ACE_WR~1\TAO\CIAO\DAnCE\examples\BasicSP>"%cosmic_root%\bin
> \tao_picml.exe
> " -I%tao_root% -I%ciao_root%\ciao -I%tao_root%\orbsvcs 
> -IBMClosedED -IBMDevice -IBMDisplay -IEC basicsp.idl 
> BMClosedED\BMClosedED.idl BMDevice\bmdevice.idl 
> BMDisplay\bmdisplay.idl EC\ec.idl -xgenerated_basicsp
> 
> If so, I get the following: 
> tao-idli_7801624a-0000-1000-8000-000bcd563e04.cpp
> tao-idli_78da5eec-0000-1000-8000-000bcd563e04.cpp
> tao-idli_79d1eb4e-0000-1000-8000-000bcd563e04.cpp
> tao-idli_7ad2a2cc-0000-1000-8000-000bcd563e04.cpp
> tao-idli_7be8beee-0000-1000-8000-000bcd563e04.cpp
> 
> and then this new popup error window when trying to import XML:
> 
> Error importing XML file (0x80734001): XML parser error in 
> file 
> C:\ACE_wrappers\TAO\CIAO\DAnCE\examples\BasicSP\generated_basi
> csp.xme at line 848, char 11: (at line 848, char 11)ID 
> attribute 'id-0065-000000a1' was referenced but never declared
> 
> Sam Abbe
> Sam_abbe at raytheon.com
> 
> -----Original Message-----
> From: Samuel H Abbe [mailto:sam_abbe at raytheon.com] 
> Sent: Tuesday, February 01, 2005 2:41 PM
> To: 'cosmic-users at list.isis.vanderbilt.edu'
> Subject: Help running tao_picml on CIAO DanCE BasicSP example
> 
> I'm using the following:
> Windows XP Pro SP2, MSVC 7.1
> GME 4.8.25, CoSMIC 0.4.2
> ACE 5.4.3, TAO 1.4.3, CIAO 0.4.3
> 
> I'm trying create a model and use it to create dance files 
> for an actual application.  I chose to try to model the 
> existing example included with ACE/TAO/CIAO located at 
> $CIAO_ROOT/dance/examples/basicsp.  I use tao_picml to 
> generate an XME file but when I try to import the XME file 
> into GME/CoSMIC I get the following error popup: 
> 
> Error importing XML file (0x80734001): XML parser error in 
> file C:\ACE_wrappers\TAO\orbsvcs\PICML_default_xme_file.xme 
> at line 1268, char 19
> : (at line 1268, char 19) Element 'name' is not valid for 
> content model:
> '(name,((regnode|constraint|attribute|model|atom|reference|set
> |connection))*
> )'
> 
> I have the XME file but don't want to send attachments the 
> ciao-users list.
> 
> To run tao_picml I added the following directories to PATH: 
> \Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin 
> \Program Files\Common Files\Microsoft Shared\VSA\7.1\VsaEnv
> 
> Changed to the following directory: 
> C:\ACE_wrappers\TAO\CIAO\DAnCE\examples\BasicSP>
> 
> And executed the following command: 
> "%cosmic_root%\bin\tao_picml.exe" -I%tao_root% 
> -I%ciao_root%\ciao -I%tao_root%\orbsvcs -IBMClosedED 
> -IBMDevice -IBMDisplay -IEC basicsp.idl 
> BMClosedED\BMClosedED.idl BMClosedED\bmclosedede.idl 
> BMClosedED\bmclosededei.idl BMDevice\bmdevice.idl 
> BMDevice\bmdevicee.idl BMDevice\bmdeviceei.idl 
> BMDisplay\bmdisplay.idl BMDisplay\bmdisplaye.idl 
> BMDisplay\bmdisplayei.idl EC\ec.idl EC\ece.idl EC\ecei.idl 
> -xgenerated_basicsp
> 
> Sam Abbe
> Sam_abbe at raytheon.com
> 
> _______________________________________________
> cosmic-users mailing list
> cosmic-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/cosmic-users
> 


More information about the cosmic-users mailing list