Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting a INT error when I'm connected to a float. . . #5

Closed
AIMusicExperiment opened this issue Aug 31, 2023 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@AIMusicExperiment
Copy link

Hi There, I've been trying to get you value scheduler to work for the better part of the evening. I am attempting to control the float input of another node, (compyroll Lora Stacker) to control the model strength which is a float. When it initializes it gives this error. Seems curious since I'm not using the INT output. Have you any clue why this isn't working for me? BTW, I have been using your main scheduler in several workflows, and it is simply amazing!

Error occurred when executing ValueSchedule:

'int' object is not callable

File "E:\StableSwarm\StableSwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\StableSwarm\StableSwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\StableSwarm\StableSwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\StableSwarm\StableSwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI_FizzNodes\ScheduledNodes.py", line 232, in animate
t = self.get_inbetweens(self.parse_key_frames(text, max_frames), max_frames)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\StableSwarm\StableSwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI_FizzNodes\ScheduledNodes.py", line 279, in parse_key_frames
frame = int(self.sanitize_value(frameParam[0])) if check_is_number(self.sanitize_value(frameParam[0].strip())) else int(numexpr.evaluate(frameParam[0].strip().replace("'","",1).replace('"',"",1)[::-1].replace("'","",1).replace('"',"",1)[::-1]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\StableSwarm\StableSwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\numexpr\necompiler.py", line 943, in evaluate
raise e
File "E:\StableSwarm\StableSwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\numexpr\necompiler.py", line 851, in validate
_names_cache[expr_key] = getExprNames(ex, context)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\StableSwarm\StableSwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\numexpr\necompiler.py", line 714, in getExprNames
ex = stringToExpression(text, {}, context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\StableSwarm\StableSwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\numexpr\necompiler.py", line 300, in stringToExpression
ex = eval(c, names)
^^^^^^^^^^^^^^
File "", line 1, in

@FizzleDorf
Copy link
Owner

Do you have a copy of the workflow so I can replicate? Thank you for the kind words btw.

@FizzleDorf FizzleDorf added the bug Something isn't working label Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants