OpenRefine/OpenRefine
Python expression preview doesn't always report errors
クローズ
#3,012 opened on 2020/07/29
Good First IssueType: Bugerror handlingjython
Repository metrics
- Stars
- (10,056 個のスター)
- PR merge metrics
- (平均マージ 4d 18h) (30d で 10 merged PRs)
説明
To Reproduce
- Select "Add Column based on this Column"
- With the expression
cells.a.value.toNumber() - cells.b.value.toNumber(), switch the expression language to Python
Current Results
No error message is displayed, presumably because the response has an "ok" status:
{"code":"ok","results":[{"message":"Traceback (most recent call last):\n File \"<string>\", line 2, in __temp_594255022__\nAttributeError: 'unicode' object has no attribute 'toNumber'\n"}]}
Expected Behavior
The error message should be displayed to the user