Revision: 7128
http://playerstage.svn.sourceforge.net/playerstage/?rev=7128&view=rev
Author: natepak
Date: 2008-11-12 19:37:09 +0000 (Wed, 12 Nov 2008)
Log Message:
-----------
Added more/better debugging messages
Modified Paths:
--------------
code/gazebo/trunk/libgazebo/Client.cc
code/gazebo/trunk/libgazebo/Server.cc
Modified: code/gazebo/trunk/libgazebo/Client.cc
===================================================================
--- code/gazebo/trunk/libgazebo/Client.cc 2008-11-07 16:41:20 UTC (rev
7127)
+++ code/gazebo/trunk/libgazebo/Client.cc 2008-11-12 19:37:09 UTC (rev
7128)
@@ -195,8 +195,9 @@
if (this->semId < 0)
{
std::ostringstream stream;
- stream << "Failed to allocate semaphore [" << strerror(errno) << "]\n"
- << "The server does not appear to be running";
+ stream << "libgazebo client failed to allocate semaphore ["
+ << strerror(errno) << "]\n" << "The server does not appear to be
running."
+ << "Make sure you have started gazebo before running a client program.";
throw(stream.str());
}
}
Modified: code/gazebo/trunk/libgazebo/Server.cc
===================================================================
--- code/gazebo/trunk/libgazebo/Server.cc 2008-11-07 16:41:20 UTC (rev
7127)
+++ code/gazebo/trunk/libgazebo/Server.cc 2008-11-12 19:37:09 UTC (rev
7128)
@@ -225,7 +225,7 @@
// Create semaphores for clients
if (this->semId < 0)
{
- stream << "Failed to allocate semaphore [" << strerror(errno) << "]";
+ stream << "libgazebo server failed to allocate semaphore [" <<
strerror(errno) << "]";
if (errno == EEXIST)
{
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Playerstage-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-commit