chrisgoringe / cg-image-picker

227 stars 15 forks source link

invalid literal for int() with base 10: 'Always pause' #31

Closed IdeaFridge closed 11 months ago

IdeaFridge commented 11 months ago

image

(Every extensions/comfyui is up to date.) The same thing happens when I use 'latent chooser'.

By the way, thanks for your effort! This custom node really helps my workflow! (if it works)

--Edit

If I change i = (int(MessageHolder.waitForMessage(id))-1) % images.shape[0] to just i = 2 % images.shape[0]
then it works, but of course I can't choose the image index I want to use.

chrisgoringe commented 11 months ago

I think this is due to some old code hanging around - could you stop comfy, go into comfy/web/extensions and remove anything which looks like it's part of image chooser ? Either directly in that folder, or under cg-nodes? Just be sure not to remove the folder called 'core'

Then restart.

It's safe to remove anything except 'core' in the web/extensions directory; everything else gets installed by comfy at start time.

I'll automate this in the next release.

IdeaFridge commented 11 months ago

I think this is due to some old code hanging around - could you stop comfy, go into comfy/web/extensions and remove anything which looks like it's part of image chooser ? Either directly in that folder, or under cg-nodes? Just be sure not to remove the folder called 'core'

Then restart.

It's safe to remove anything except 'core' in the web/extensions directory; everything else gets installed by comfy at start time.

I'll automate this in the next release.

thanks! now it works.

but after uninstalling cg-nodes, a new error below appears.

image

I reinstalled use-everywhere custom node but no pregression.

--edit uninstalled use everywhere but then another new error pops up. I can't load my workflows :( I didn't modified 'core' folder since you warned me.

image

chrisgoringe commented 11 months ago

OK - that's due to an incompatibility of the rgthree nodes with the latest version of comfy - see the thread here

IdeaFridge commented 11 months ago

OK - that's due to an incompatibility of the rgthree nodes with the latest version of comfy - see the thread here

My sincere appreciation. You saved me 👍