laojingwei / comfy_assemble_tags_node

Apache License 2.0
18 stars 2 forks source link

找不到select_tags #1

Open kenyonxu opened 1 year ago

kenyonxu commented 1 year ago

用的最新版本,报错如下

----------start------第一次使用-------未发现select_tags文件夹,正在处理。。。 Traceback (most recent call last): File "D:\AIArt\ComfyUI\nodes.py", line 1205, in load_custom_node module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "D:\AIArt\ComfyUI\custom_nodes\comfy_assemble_tags_node__init__.py", line 11, in shutil.copytree (select_tags_path_bk, select_tags_path) File "C:\Users\kenyo\AppData\Local\Programs\Python\Python310\lib\shutil.py", line 557, in copytree with os.scandir(src) as itr: FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'D:\AIArt\ComfyUI\ComfyUI\custom_nodes\comfy_assemble_tags_node\select_tags'

kenyonxu commented 1 year ago

我用的不是standalone版本,后来仔细看了下init.py之后解决了问题,方案如下:

select_tags_path_bk = os.path.join(cwd, "ComfyUI", "custom_nodes", "comfy_assemble_tags_node", "select_tags") ↓ select_tags_path_bk = os.path.join(cwd, "custom_nodes", "comfy_assemble_tags_node", "select_tags")

laojingwei commented 1 year ago

实在抱歉,这段时间太忙没注意看信息,很高兴你解决了

kenyonxu commented 1 year ago

然而又出了新的问题233, 我进去comfyui之后select tags node上面没有选择tags的按钮,只有一个文本框

laojingwei commented 1 year ago

你能发下文件路径截图和comfyui界面添加tag截图等信息我看看吗?

kenyonxu commented 1 year ago

image image image

laojingwei commented 1 year ago

可能一些文件路径无法匹配到,把你项目放到github上,我下载下来跑一下,模型依赖什么的不要传了,太大了

@.***

发件人: Kai Xu 发送时间: 2023-05-04 09:49 收件人: laojingwei/comfy_assemble_tags_node 抄送: laojingwei; Comment 主题: Re: [laojingwei/comfy_assemble_tags_node] 找不到select_tags (Issue #1)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

kenyonxu commented 1 year ago

好了这个我也解决了2333,也是路径问题 select_tags_path = os.path.join(cwd, "ComfyUI", "web", "extensions", "select_tags") ↓ select_tags_path = os.path.join(cwd, "web", "extensions", "select_tags") 作者大佬能不能针对git版和standalone版本的comfyui做一下路径检测?

jtpan777 commented 7 months ago

感谢 试试了几次 ,好像明白了。