Author: dmeyer
Date: Thu Apr 13 10:36:53 2006
New Revision: 8149

Modified:
   trunk/core/src/ipc/mbus_wrapper.py

Log:
catch missing mbus route error

Modified: trunk/core/src/ipc/mbus_wrapper.py
==============================================================================
--- trunk/core/src/ipc/mbus_wrapper.py  (original)
+++ trunk/core/src/ipc/mbus_wrapper.py  Thu Apr 13 10:36:53 2006
@@ -352,8 +352,14 @@
         self.events = Instance.EventDict(self)
 
         # call mbus.Guides init function
-        mbus.Guides.__init__(self, self.addr)
-
+        try:
+            mbus.Guides.__init__(self, self.addr)
+        except:
+            log.exception('mbus error')
+            log.error('please make sure you have a default route set or set')
+            log.error('a route for the mbus (default 224.255.222.240)')
+            sys.exit(0)
+            
         # set callbacks
         self.signal_connect( 'new-entity', self._new_entity )
         self.signal_connect( 'lost-entity', self._lost_entity )


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to