Skip to content

int() Error in scriptDAT @ ui/../nodetable/script_inject_callbacks1 #146

@JoEL8129

Description

@JoEL8129

Getting this error popping up in console pretty much right after loading the "FunctionStoreTools2023" tox in a project and pressing "TAB" key to open nodetable panel. (in case this isn't reproducable, is there something in Global FNS Plugin Folder (in Palette) that might have some faulty info in it, that could cause this in my case?)

TD Version: 2025.32050
FNS Tools Version: v2.10.4
Error MSG:

File "/ui/dialogs/menu_op/nodetable/script_inject_callbacks1", line 51, in onCook
ValueError: invalid literal for int() with base 10: '4.5'

line 51:

score = int(score_orig) if score_orig != '' else 0
what seems to fix it, is converting to float before int():

score = int(float(score_orig)) if score_orig != '' else 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions