Skip to content

Make videos on the computer you already own. FreeVideo runs MiniMax H3 in as little as 8 GB of VRAM and 16 GB of RAM, and adapts its acceleration path to your hardware.

Name the nearby ComfyUI folder on the wrong-folder card

Bowen Xue0fa925e28a16
diff --git a/freevideo_engine/failure_details.py b/freevideo_engine/failure_details.py
index db3dc81..4e251f2 100644
--- a/freevideo_engine/failure_details.py
+++ b/freevideo_engine/failure_details.py
@@ -394,16 +394,20 @@ def launcher_failure(value, *, zh=False, other_disk=False, disk_name='', can_rep
return dict(title='这块硬盘没有连接' if zh else 'The disk is not connected', kind='disk-missing', detail='',
action=('请接上“%s”后点击“重新检查”' % disk_name + (',或者改装到其他硬盘。' if other_disk else '。') if zh else
'Connect "%s" and click Check again' % disk_name + (', or install on another disk.' if other_disk else '.')))
- folder = re.search(r'Select the ComfyUI folder, or the portable folder containing ComfyUI\.'
- r'(?: Found one at "([^"\r\n]+)"; select that folder\.)?', summary)
- if folder:
- found = folder.group(1)
- detail = ('在 “%s” 找到了 ComfyUI,请改选这个文件夹。' if zh else
- 'ComfyUI was found at “%s”. Select that folder instead.') % found if found else ''
- return dict(title='这不是 ComfyUI 文件夹' if zh else 'This isn’t a ComfyUI folder', detail=detail,
- action=('请选择包含 main.py 的 ComfyUI 文件夹,或包含它的便携包文件夹。' if zh else
- 'Select the ComfyUI folder (it contains main.py), or the portable folder that contains it.'),
- kind='comfy-folder')
+ folder = 'Select the ComfyUI folder, or the portable folder containing ComfyUI.'
+ if folder in summary:
+ # The retained error carries a traceback whose source lines quote the message
+ # (and its Found part) too; only the exception line itself names the folder.
+ named = list(re.finditer(re.escape(folder) + r'(?: Found one at "([^"\r\n]+)"; select that folder\.)?[ \t\r]*$',
+ summary, re.M))
+ found = named[-1].group(1) if named else None
+ if found:
+ action = ('请改选“%s”文件夹。' if zh else 'Select the "%s" folder instead.') % found
+ else:
+ action = ('请选择包含 main.py 的 ComfyUI 文件夹,或包含它的便携包文件夹。' if zh else
+ 'Select the ComfyUI folder (it contains main.py), or the portable folder that contains it.')
+ return dict(title='这不是 ComfyUI 文件夹' if zh else "This isn't a ComfyUI folder", detail='',
+ action=action, kind='comfy-folder')
for pattern, kind, title, action in PLACE_RULES:
if re.search(pattern, summary):
return dict(title=title[zh], detail='', action=action[zh], kind=kind)