Commit 13cbe53c authored by Yusei Tahara's avatar Yusei Tahara

Jupyter: Fix a bug. getErrorMessageForException did not support new internal structure.

parent acf87f8c
...@@ -938,6 +938,8 @@ def getErrorMessageForException(self, exception, notebook_context): ...@@ -938,6 +938,8 @@ def getErrorMessageForException(self, exception, notebook_context):
return { return {
'status': 'error', 'status': 'error',
'result_string': None, 'result_string': None,
'print_result': None,
'displayhook_result': None,
'notebook_context': notebook_context, 'notebook_context': notebook_context,
'mime_type': 'text/plain', 'mime_type': 'text/plain',
'evalue': str(value), 'evalue': str(value),
...@@ -1146,4 +1148,3 @@ def erp5PivotTableUI(self, df): ...@@ -1146,4 +1148,3 @@ def erp5PivotTableUI(self, df):
iframe_host = self.REQUEST['HTTP_X_FORWARDED_HOST'].split(',')[0] iframe_host = self.REQUEST['HTTP_X_FORWARDED_HOST'].split(',')[0]
url = "https://%s/erp5/Base_displayPivotTableFrame?key=%s" % (iframe_host, key) url = "https://%s/erp5/Base_displayPivotTableFrame?key=%s" % (iframe_host, key)
return IFrame(src=url, width='100%', height='500') return IFrame(src=url, width='100%', height='500')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment