heya! on a new project i’ve been noticing the following error in Textport whenever I double click/tab on the network grid to make a new OP:
Traceback (most recent call last):
File “/ui/dialogs/menu_op/nodetable/script_inject_callbacks1”, line 51, in onCook
ValueError: invalid literal for int() with base 10: ‘4.5’
going into the ui.tox and line 51:
score = int(score_orig) if score_orig != ‘’ else 0
I think the script is throwing a tantrum because score keeps returning a float. The error goes away when I change the line to
score = float(score_orig) if score_orig != ‘’ else 0
but this fix cannot persist across saves. If i close the project and re-open, the error comes back. I’ve tried saving the ui.tox externally in my project folder, and reloading from that saved .tox, not from the derivative folder, then td would hang and crash.
The error doesn’t seem to impact anything yet, it is just pretty annoyed. I thought I’d ask it here to also understand the ui.tox itself more. Seems like one of the core components.
The error itself appeared outta nowhere and I couldn’t figure out how it migt have occured in the first place. Any insights much appreciated !!

