Go Back   ZeroC Forums > Bug Reports

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 06-27-2007
borax00 borax00 is offline
Registered User
 
Name: Alex Brooks
Organization: Australian Centre for Field Robotics
Project: Orca Robotics (http://orca-robotics.sf.net)
 
Join Date: Oct 2005
Posts: 49
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
__________________
Alex Brooks
Australian Centre for Field Robotics
University of Sydney
www.cas.edu.au
project: orca-robotics.sf.net
Reply With Quote
  #2 (permalink)  
Old 06-27-2007
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,535
Hi,

Yes, it's a bug

To fix this problem, replace line 158 from src/IceGrid/Client.cpp with:

Code:
   status = run(argc, argv);
Thanks for pointing this out, it will be fixed in the next release!

Cheers,
Benoit.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Expensive return by value bambuk Help Center 5 06-26-2007 10:10 AM
In AMI ,why did not foo_async return ? AaronIct Help Center 3 04-12-2007 05:03 AM
About return struct billwillman Help Center 7 10-16-2006 03:39 AM
why return false ? OrNot Help Center 2 01-04-2006 02:50 AM
return value of getPropertyAsInt n2503v Help Center 3 10-19-2005 05:58 PM


All times are GMT -4. The time now is 08:19 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.