diff --git a/pyweb/mumble/MumbleCtlIce.py b/pyweb/mumble/MumbleCtlIce.py index c77a8ae..b35e9fa 100644 --- a/pyweb/mumble/MumbleCtlIce.py +++ b/pyweb/mumble/MumbleCtlIce.py @@ -77,6 +77,11 @@ def MumbleCtlIce( connstring, slicefile=None, icesecret=None ): prx = ice.stringToProxy( connstring.encode("utf-8") ) + try: + prx.ice_ping() + except Ice.Exception: + raise EnvironmentError( "Murmur does not appear to be listening on this address (Ice ping failed)." ) + try: import Murmur except ImportError: diff --git a/pyweb/mumble/management/server_detect.py b/pyweb/mumble/management/server_detect.py index 9871dda..769876e 100644 --- a/pyweb/mumble/management/server_detect.py +++ b/pyweb/mumble/management/server_detect.py @@ -62,7 +62,7 @@ def find_existing_instances( **kwargs ): print " 2) ICE -- Meta:tcp -h 127.0.0.1 -p 6502" print "Enter 1 or 2 for the defaults above, nothing to skip Server detection," print "and if the defaults do not fit your needs, enter the correct string." - print "Whether to use DBus or ICE will be detected automatically from the" + print "Whether to use DBus or Ice will be detected automatically from the" print "string's format." print