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
Missing_value in Table does not work on Android as intended.
Steps to reproduce
Step1: Use table in your project
Step2: Use more columns in your table than is in your data
Step3: get error 04-17 08:55:26.553 3636 3636 E AndroidRuntime: Caused by: com.chaquo.python.PyException: AttributeError: 'Row' object has no attribute 'short'
#this throws error on Android, but runs on Windows
self.data = [("root%s" % i, "value %s" % i) for i in range(1, 10)]
#this does throw error and runs on Android too
#self.data = [("root%s" % i, "value %s" % i, "short %s" % i) for i in range(1, 10)]
Describe the bug
Missing_value in Table does not work on Android as intended.
Steps to reproduce
Step1: Use table in your project
Step2: Use more columns in your table than is in your data
Step3: get error 04-17 08:55:26.553 3636 3636 E AndroidRuntime: Caused by: com.chaquo.python.PyException: AttributeError: 'Row' object has no attribute 'short'
#this throws error on Android, but runs on Windows
self.data = [("root%s" % i, "value %s" % i) for i in range(1, 10)]
#this does throw error and runs on Android too
#self.data = [("root%s" % i, "value %s" % i, "short %s" % i) for i in range(1, 10)]
self.left_container = toga.Table(headings=["source", "number", "short"], data=self.data, on_select=self.get_file_content_and_display, missing_value="")
Expected behavior
App won't throw error and will fill missing values with blank string.
Screenshots
No response
Environment
Logs
Additional context
No response
The text was updated successfully, but these errors were encountered: