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 ), |