Archived

This forum has been archived. Please start a new discussion on GitHub.

Return code of icegridadmin

Hi,

It seems to me that the following:

[a.brooks@mango systemadminmon]$ icegridadmin --Ice.Config=$HOME/.orcarc -u no-user -p no-pass -e "application add /home/users/a.brooks/bruce2/src/components/roverapp/test/testsystem.xml"
error: DescriptorParser.cpp:780: IceXML::ParserException
error in </home/users/a.brooks/bruce2/src/components/roverapp/test/testsystem.xml> descriptor, line 2, column 4:
no default templates configured, you need to set IceGrid.Registry.DefaultTemplates in the IceGrid registry configuration.
[a.brooks@mango systemadminmon]$ echo $?
0

should return a non-zero error code.

Is this a bug?



Thanks,

Alex

Comments

  • benoit
    benoit Rennes, France
    Hi,

    Yes, it's a bug :(

    To fix this problem, replace line 158 from src/IceGrid/Client.cpp with:
       status = run(argc, argv);
    

    Thanks for pointing this out, it will be fixed in the next release!

    Cheers,
    Benoit.