RefactoringRope/RefactoringServer.py

branch
server_client_variant
changeset 208
df77c3a4976d
parent 203
c38750e1bafd
child 212
f05681349336
equal deleted inserted replaced
207:70d1ff142a66 208:df77c3a4976d
2210 self.tr("""<p>The data received from the refactoring""" 2210 self.tr("""<p>The data received from the refactoring"""
2211 """ server could not be decoded. Please report""" 2211 """ server could not be decoded. Please report"""
2212 """ this issue with the received data to the""" 2212 """ this issue with the received data to the"""
2213 """ eric bugs email address.</p>""" 2213 """ eric bugs email address.</p>"""
2214 """<p>Error: {0}</p>""" 2214 """<p>Error: {0}</p>"""
2215 """<p>Data:<br/>{0}</p>""").format( 2215 """<p>Data:<br/>{1}</p>""").format(
2216 params["ExceptionValue"], 2216 params["ExceptionValue"],
2217 Utilities.html_encode(params["ProtocolData"])), 2217 Utilities.html_encode(params["ProtocolData"])),
2218 E5MessageBox.StandardButtons( 2218 E5MessageBox.StandardButtons(
2219 E5MessageBox.Ok)) 2219 E5MessageBox.Ok))
2220 else: 2220 else:
2224 self.tr("<p>An exception happened in the refactoring" 2224 self.tr("<p>An exception happened in the refactoring"
2225 " client. Please report it to the eric bugs" 2225 " client. Please report it to the eric bugs"
2226 " email address.</p>" 2226 " email address.</p>"
2227 "<p>Exception: {0}</p>" 2227 "<p>Exception: {0}</p>"
2228 "<p>Value: {1}</p>" 2228 "<p>Value: {1}</p>"
2229 "Traceback: {2}</p>").format( 2229 "<p>Traceback: {2}</p>").format(
2230 Utilities.html_encode(params["ExceptionType"]), 2230 Utilities.html_encode(params["ExceptionType"]),
2231 params["ExceptionValue"], 2231 params["ExceptionValue"],
2232 params["Traceback"].replace("\r\n", "<br/>") 2232 params["Traceback"].replace("\r\n", "<br/>")
2233 .replace("\n", "<br/>").replace("\r", "<br/>"), 2233 .replace("\n", "<br/>").replace("\r", "<br/>"),
2234 ), 2234 ),

eric ide

mercurial