Exemplo n.º 1
0
 def __init__(self):
     SphinxError.__init__(self,
         """---\n"""
         """Your Confluence server is too old. Need at least Confluence """
         """v4.0 or higher.\n"""
         """---\n"""
     )
Exemplo n.º 2
0
 def __init__(self, msg, stderr=None, stdout=None):
     # type: (unicode, unicode, unicode) -> None
     if stderr:
         msg += '\n[stderr]\n' + stderr.decode(sys_encoding, 'replace')
     if stdout:
         msg += '\n[stdout]\n' + stdout.decode(sys_encoding, 'replace')
     SphinxError.__init__(self, msg)
Exemplo n.º 3
0
 def __init__(self):
     SphinxError.__init__(
         self, """---\n"""
         """Unable to authenticate with the proxy server.\n"""
         """\n"""
         """Ensure your proxy's username and password are correct.\n"""
         """---\n""")
Exemplo n.º 4
0
 def __init__(self, msg, stderr=None, stdout=None):
     # type: (unicode, unicode, unicode) -> None
     if stderr:
         msg += '\n[stderr]\n' + stderr.decode(sys_encoding, 'replace')
     if stdout:
         msg += '\n[stdout]\n' + stdout.decode(sys_encoding, 'replace')
     SphinxError.__init__(self, msg)
 def __init__(self):
     SphinxError.__init__(self,
         """---\n"""
         """Your Confluence server is too old. Need at least Confluence """
         """v4.0 or higher.\n"""
         """---\n"""
     )
 def __init__(self, space_name):
     SphinxError.__init__(self,
         """---\n"""
         """The configured Confluence space does not appear to be """
         """valid: %s\n""" % space_name +
         """---\n"""
     )
Exemplo n.º 7
0
 def __init__(self, space_name):
     SphinxError.__init__(
         self, """---\n"""
         """The configured Confluence space does not appear to be """
         """valid: %s\n""" % space_name + """\n"""
         """Note: Confluence space names are case-sensitive.\n"""
         """---\n""")
Exemplo n.º 8
0
 def __init__(self, ex):
     SphinxError.__init__(self,
         """---\n"""
         """An SSL issue has been detected when trying to load the """
         """the certificates provided.\n"""
         """details: %s\n""" % ex +
         """---\n"""
     )
 def __init__(self, details):
     SphinxError.__init__(self,
         """---\n"""
         """Do not have permission for this action on the Confluence """
         """server.\n\n"""
         """%s\n""" % details +
         """---\n"""
     )
 def __init__(self, details):
     SphinxError.__init__(self,
         """---\n"""
         """An unsupported Confluence API call has been made.\n"""
         """\n"""
         """%s""" % details +
         """\n---\n"""
     )
 def __init__(self, ex):
     SphinxError.__init__(self,
         """---\n"""
         """An SSL issue has been detected when trying to load the """
         """the certificates provided.\n"""
         """details: %s\n""" % ex +
         """---\n"""
     )
 def __init__(self):
     SphinxError.__init__(self,
         """---\n"""
         """Unable to authenticate with the proxy server.\n"""
         """\n"""
         """Ensure your proxy's username and password are correct.\n"""
         """---\n"""
     )
Exemplo n.º 13
0
 def __init__(self, details):
     SphinxError.__init__(self,
         """---\n"""
         """An unsupported Confluence API call has been made.\n"""
         """\n"""
         """%s""" % details +
         """\n---\n"""
     )
Exemplo n.º 14
0
 def __init__(self, details):
     SphinxError.__init__(self,
         """---\n"""
         """Do not have permission for this action on the Confluence """
         """server.\n\n"""
         """%s\n""" % details +
         """---\n"""
     )
Exemplo n.º 15
0
 def __init__(self, server_url):
     SphinxError.__init__(
         self, """---\n"""
         """A request to communicate with the Confluence server has """
         """timed out.\n"""
         """\n"""
         """Ensure the server is running or your Confluence server URL """
         """is valid:\n\n"""
         """    %s\n""" % server_url + """---\n""")
Exemplo n.º 16
0
 def __init__(self, space_name):
     SphinxError.__init__(
         self, """---\n"""
         """The configured Confluence space does not appear to be """
         """valid: %s\n""" % space_name + """\n"""
         """Ensure the server is running or your Confluence URL is valid. """
         """Also ensure your authentication options are properly set.\n"""
         """\n"""
         """Note: Confluence space names are case-sensitive.\n"""
         """---\n""")
Exemplo n.º 17
0
 def __init__(self, server_url, ex):
     SphinxError.__init__(
         self, """---\n"""
         """An issue has been detected when trying to communicate with """
         """Confluence server.\n"""
         """\n"""
         """Ensure the server is running or your Confluence server URL """
         """is valid:\n\n"""
         """    %s\n""" % server_url + """\n(details: %s""" % ex + """)\n"""
         """---\n""")
Exemplo n.º 18
0
 def __init__(self):
     SphinxError.__init__(
         self, """---\n"""
         """Unable to authenticate with the Confluence server.\n"""
         """\n"""
         """Ensure your username and password are correct. If your """
         """username and password is correct, you may need to unlock """
         """your Confluence account be re-logging in with your browser """
         """or asking your Confluence administrator for help.\n"""
         """---\n""")
 def __init__(self):
     SphinxError.__init__(self,
         """---\n"""
         """Unable to authenticate with the Confluence server.\n"""
         """\n"""
         """Ensure your username and password are correct. If your """
         """username and password is correct, you may need to unlock """
         """your Confluence account be re-logging in with your browser """
         """or asking your Confluence administrator for help.\n"""
         """---\n"""
     )
 def __init__(self, server_url):
     SphinxError.__init__(self,
         """---\n"""
         """A request to communicate with the Confluence server has """
         """timed out.\n"""
         """\n"""
         """Ensure the server is running or your Confluence server URL """
         """is valid:\n\n"""
         """    %s\n""" % server_url +
         """---\n"""
     )
Exemplo n.º 21
0
 def __init__(self):
     SphinxError.__init__(
         self, """---\n"""
         """Unable to authenticate with the Confluence server.\n"""
         """\n"""
         """While this could be your username or password being """
         """incorrect, this plugin as detected that the Atlassian """
         """Seraph instance has logged you out. This could be a """
         """result of a server-related issue. If this persisted, """
         """try contacting your Confluence administrator for help.\n"""
         """---\n""")
Exemplo n.º 22
0
 def __init__(self, server_url):
     SphinxError.__init__(
         self, """---\n"""
         """Confluence Remote API appears to be disabled.\n"""
         """\n"""
         """First, ensure the server is running or your Confluence """
         """server URL is valid:\n\n"""
         """    %s\n""" % server_url + """\n"""
         """If you are sure your server URL is correct, you will need """
         """to ask your Confluence administrator to enable """
         """'Remote API (XML-RPC & SOAP)'.\n"""
         """---\n""")
 def __init__(self):
     SphinxError.__init__(self,
         """---\n"""
         """Unable to authenticate with the Confluence server.\n"""
         """\n"""
         """While this could be your username or password being """
         """incorrect, this plugin as detected that the Atlassian """
         """Seraph instance has logged you out. This could be a """
         """result of a server-related issue. If this persisted, """
         """try contacting your Confluence administrator for help.\n"""
         """---\n"""
     )
 def __init__(self, server_url, ex):
     SphinxError.__init__(self,
         """---\n"""
         """An issue has been detected when trying to communicate with """
         """Confluence server.\n"""
         """\n"""
         """Ensure the server is running or your Confluence server URL """
         """is valid:\n\n"""
         """    %s\n""" % server_url +
         """\n(details: %s""" % ex +
         """)\n"""
         """---\n"""
     )
 def __init__(self, server_url):
     SphinxError.__init__(self,
         """---\n"""
         """Confluence Remote API appears to be disabled.\n"""
         """\n"""
         """First, ensure the server is running or your Confluence """
         """server URL is valid:\n\n"""
         """    %s\n""" % server_url +
         """\n"""
         """If you are sure your server URL is correct, you will need """
         """to ask your Confluence administrator to enable """
         """'Remote API (XML-RPC & SOAP)'.\n"""
         """---\n"""
     )
Exemplo n.º 26
0
 def __init__(self, space_name, uname, pw_set):
     uname_value = uname if uname else '(empty)'
     pw_value = '<set>' if pw_set else '(empty)'
     SphinxError.__init__(
         self, """---\n"""
         """The configured Confluence space does not appear to be """
         """valid:\n\n"""
         """    Space: {}\n"""
         """ Username: {}\n"""
         """ Password: {}\n"""
         """\n"""
         """Ensure the server is running or your Confluence URL is valid. """
         """Also ensure your authentication options are properly set.\n"""
         """\n"""
         """Note: Confluence space names are case-sensitive.\n"""
         """---\n""".format(space_name, uname_value, pw_value))
Exemplo n.º 27
0
 def __init__(self, page_name, page_id, url, ex):
     SphinxError.__init__(
         self, """---\n"""
         """Unable to update unreconciled page: %s """ % page_name +
         """(id: %s)\n""" % str(page_id) + """\n"""
         """Unable to update the target page due to the Confluence """
         """instance reporting an unreconciled page. A workaround for """
         """this is to manually browse the page using a browser which """
         """will force Confluence to reconcile the page. A link to the """
         """page is a follows:\n"""
         """\n"""
         """   %spages/viewpage.action?pageId=%s""" % (url, str(page_id)) +
         """\n\n"""
         """If this is observed on Confluence v6.x, v7.3.3 or higher, """
         """please report this issue to the developers of the Confluence """
         """builder extension.\n"""
         """\n"""
         """See also: https://jira.atlassian.com/browse/CONFSERVER-59196\n"""
         """\n(details: %s""" % ex + """)\n"""
         """---\n""")
Exemplo n.º 28
0
 def __init__(self, msg, stderr=None, stdout=None):
     if stderr:
         msg += "\n[stderr]\n" + stderr.decode(sys_encoding, "replace")
     if stdout:
         msg += "\n[stdout]\n" + stdout.decode(sys_encoding, "replace")
     SphinxError.__init__(self, msg)
Exemplo n.º 29
0
 def __init__(self, msg, stderr=None, stdout=None):
     if stderr:
         msg += '\n[stderr]\n' + stderr
     if stdout:
         msg += '\n[stdout]\n' + stdout
     SphinxError.__init__(self, msg)
Exemplo n.º 30
0
 def __init__(self, msg, stderr=None, stdout=None):
     if stderr:
         msg += '\n[stderr]\n' + stderr
     if stdout:
         msg += '\n[stdout]\n' + stdout
     SphinxError.__init__(self, msg)
Exemplo n.º 31
0
 def __init__(self, space_name):
     SphinxError.__init__(
         self, """---\n"""
         """The configured Confluence space does not appear to be """
         """valid: %s\n""" % space_name + """---\n""")