raiseRuntimeError("Failed to load sipclient's configuration: %s\nIf an old configuration file is in place, delete it or move it and recreate the configuration using the sip_settings script."%str(e))
raiseRuntimeError("More than one account exists which matches %s: %s"%(account_name,", ".join(sorted(account.idforaccountinpossible_accounts))))
iflen(possible_accounts)==0:
raiseRuntimeError("No enabled account that matches %s was found. Available and enabled accounts: %s"%(account_name,", ".join(sorted(account.idforaccountinaccount_manager.get_accounts()ifaccount.enabled))))
account=possible_accounts[0]
ifaccountisNone:
raiseRuntimeError("Unknown account %s. Available accounts: %s"%(account_name,', '.join(account.idforaccountinaccount_manager.iter_accounts())))
elifnotaccount.enabled:
raiseRuntimeError("Account %s is not enabled"%account.id)
elifaccount==BonjourAccount():
raiseRuntimeError("Cannot use bonjour account for showing xcap-directory")
elifnotaccount.xcap.enabled:
raiseRuntimeError("XCAP is not enabled for account %s"%account.id)
elifaccount.xcap.xcap_rootisNone:
raiseRuntimeError("XCAP root is not defined for account %s"%account.id)