Kosinkadink / ComfyUI-VideoHelperSuite

Nodes related to video workflows
GNU General Public License v3.0
519 stars 92 forks source link

type object 'PromptServer' has no attribute 'instance' #274

Open dmzlingyin opened 4 weeks ago

dmzlingyin commented 4 weeks ago

File "/app/custom_nodes/ComfyUI_VideoHelperSuite/videohelpersuite/utils.py", line 105, in prompt_queue = server.PromptServer.instance.prompt_queue AttributeError: type object 'PromptServer' has no attribute 'instance'

AustinMroz commented 4 weeks ago

Do you have any extra information here? Is there anything non-standard about your ComfyUI installation?

While I'm aware there are major impending changes to both the frontend and execution model that could causes changes in this area of the core ComfyUI code, I've tried every permutation I can think of and I'm unable to replicate the issue described.

dmzlingyin commented 4 weeks ago

Do you have any extra information here? Is there anything non-standard about your ComfyUI installation?

While I'm aware there are major impending changes to both the frontend and execution model that could causes changes in this area of the core ComfyUI code, I've tried every permutation I can think of and I'm unable to replicate the issue described.

I have resolved it. I wasn't using ComfyUI; I was directly referencing it in the code. There are many methods in the project that I didn't use, but there are a lot of global variables that are initialized and assigned values, so I commented them out.