Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fail to start #1

Open
cardenluo opened this issue Jan 21, 2025 · 1 comment
Open

fail to start #1

cardenluo opened this issue Jan 21, 2025 · 1 comment

Comments

@cardenluo
Copy link

Traceback (most recent call last):
File "F:\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2106, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_fonts_init
.py", line 1, in
from .zw_nodes import NODE_CLASS_MAPPINGS
File "F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_fonts\zw_nodes.py", line 39, in
DIC_UTF=f_dictRd(f'{wrk_dir}/assets/gb80_utf.dat')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_fonts\zw_tool.py", line 79, in f_dictRd
return eval(xdat)
^^^^^^^^^^
File "", line 0

SyntaxError: invalid syntax

Cannot import F:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_fonts module for custom nodes: invalid syntax (, line 0)

@iamicebomb
Copy link

modi the zw_tool.py at line 79 "return eval(xdat)" to "return xdat"

it will be ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants