[Dextrose] [PATCH 54/54] Fix for bug au#694.

Anish Mangal anish at sugarlabs.org
Tue Nov 8 12:51:13 EST 2011


From: Ajay Garg <ajay at sugarlabs.org>

Signed-off-by: Ajay Garg <ajay at sugarlabs.org>
Signed-off-by: Anish Mangal <anish at sugarlabs.org>
---
 src/jarabe/desktop/schoolserver.py |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/jarabe/desktop/schoolserver.py b/src/jarabe/desktop/schoolserver.py
index 403897b..749080e 100644
--- a/src/jarabe/desktop/schoolserver.py
+++ b/src/jarabe/desktop/schoolserver.py
@@ -140,7 +140,10 @@ def register_laptop(url=_REGISTER_URL):
         data = server.register(sn, nick, uuid_, profile.pubkey)
     except (xmlrpclib.Error, TypeError, socket.error):
         logging.exception('Registration: cannot connect to server')
-        raise RegisterError(_('Cannot connect to the server.'))
+        raise RegisterError(_('No School Server found on the network. ' \
+                              'Please ensure that you are connected '   \
+                              'to the correct network and that the '    \
+                              'server is available.'))
     finally:
         socket.setdefaulttimeout(None)
 
-- 
1.7.4.4



More information about the Dextrose mailing list