You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is something that should be fixed automatically when we move to Python 3.
Expected behavior
Can access a table column as a list with the syntax MyTable.column[“Column header”], even if writing code that is Python 3 compatible
Actual behavior
TypeError: No registered converter was able to produce a C++ rvalue of type int from this Python object of type unicode
File "<string>", line 14, in <module>
Steps to reproduce the behavior
Create a table (for example a results table from Muon Analysis)
Open a new script tab in Workbench. Add the following after the standard headers (change the actual table and column names as appropriate):
Original reporter: [ISIS]/[James Lord]
This is something that should be fixed automatically when we move to Python 3.
Expected behavior
Can access a table column as a list with the syntax MyTable.column[“Column header”], even if writing code that is Python 3 compatible
Actual behavior
Steps to reproduce the behavior
Create a table (for example a results table from Muon Analysis)
Open a new script tab in Workbench. Add the following after the standard headers (change the actual table and column names as appropriate):
Note that removing the “unicode_literals” from the future statement makes the script work as intended.
Platforms affected
Workbench 4.2
The text was updated successfully, but these errors were encountered: