ComfyUI-WarpedToolset icon indicating copy to clipboard operation
ComfyUI-WarpedToolset copied to clipboard

WarpedWanLoraMerger: path should be string, bytes, os.PathLike or integer, not NoneType

Open evaninf opened this issue 1 year ago • 4 comments

With WarpedWanLoraMerger node, no matter what value I try, the only error I get is:

stat: path should be string, bytes, os.PathLike or integer, not NoneType

evaninf avatar Sep 05 '25 15:09 evaninf

With WarpedWanLoraMerger node, no matter what value I try, the only error I get is:

stat: path should be string, bytes, os.PathLike or integer, not NoneType

I will take a look at it. Are you try to merge Wan 2.1 or 2.2, because I haven't modified it for 2.2 yet.

WarpedAnimation avatar Sep 06 '25 05:09 WarpedAnimation

With WarpedWanLoraMerger node, no matter what value I try, the only error I get is:

stat: path should be string, bytes, os.PathLike or integer, not NoneType

I've tried both 2.1 and 2.2, and both are working for me. Which two models are you trying to merge?

WarpedAnimation avatar Sep 06 '25 05:09 WarpedAnimation

I've tried all combinations, it never starts trying anything, it only fails. The only side effect I see is the creation of an empty directory called output\MergedWanLoras, the non-standard backslash is part of the directory name. I think that the code assumes Windows users only.

evaninf avatar Sep 06 '25 15:09 evaninf

I've tried all combinations, it never starts trying anything, it only fails. The only side effect I see is the creation of an empty directory called output\MergedWanLoras, the non-standard backslash is part of the directory name. I think that the code assumes Windows users only.

I looked, and the base comfy code uses \ for paths. The fact that the folder is created successfully indicates that the slash is not the problem. To me, it actually sounds like it might be a permissions problem. The best I can do is ask you to provide the full output from the console window, which will give me the code stack and file/line numbers, which might give me more of an idea. I work on windows, so I have no way to debug unix or mac.

WarpedAnimation avatar Sep 06 '25 17:09 WarpedAnimation