asagi4 / comfyui-prompt-control

ComfyUI nodes for prompt editing and LoRA control
GNU General Public License v3.0
200 stars 16 forks source link

[BUG] #46

Closed Utoko closed 5 months ago

Utoko commented 5 months ago

Describe the bug I updated ComfyUI and it seemed that is broke the node.

To Reproduce Run Prompt scheduler [ Dog:cat:0.35] The example workflow doesn't work anymore.

"Error occurred when executing PromptToSchedule:

float() argument must be a string or a real number, not 'Tree' "

asagi4 commented 5 months ago

Please make sure that you have a supported version of lark installed. That looks like the bug that some people have reported if their version of lark is too old. pip install -U lark in the virtualenv will update the package.

Utoko commented 5 months ago

Thanks I made sure Requirement already satisfied

Name: lark Version: 1.1.9

It worked fine ->updated comfyUI + Addons and now I get the error. M2 Macbook, but I guess it is a me problem. I thought it would be a general issue.

JoyfulTemplate commented 5 months ago

@Utoko I think ComfyUI update process may mess up some dependencies, my lark version shows 1.1.9 in pip list but it's actually not. I fixed it using pip install --upgrade --force "lark>=1.1.9".

Utoko commented 5 months ago

That worked! Thanks