After updating to v0.4.18 the application does not start

with an Error: Python process exited with code 1 and signal null

Can I somehow roll back to the previous version?

Can you upload the logs and I’ll help you take a look?

If you’re unable to upload logs to the forum directly, you can upload the logs to https://comfy.org/upload-logs

You need to add two files on your install file.I just fixed this problem.

I uploaded log files via the form

same here, Unable to start ComfyUI Desktop v0.4.18

re-installed like 3 or 4 times already, even in a fresh directory.

add some errors, if that helps:

[2025-02-13 14:35:29.764] [info] G:\ComfyUI\custom_nodes\blibla-comfyui-extensions\extensions
[2025-02-13 14:35:29.766] [info]
G:\ComfyUI\web\extensions\failfast-comfyui-extensions
[2025-02-13 14:35:29.772] [info]

[2025-02-13 14:35:30.060] [error] Traceback (most recent call last):
File “C:\Users.…\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\nodes.py”, line 2112, in load_custom_node
module_spec.loader.exec_module(module)
File “”, line 999, in exec_module
File “”, line 488, in call_with_frames_removed
File "G:\ComfyUI\custom_nodes/comfy-image-saver_init
.py", line 1, in
from .nodes import NODE_CLASS_MAPPINGS
File “G:\ComfyUI\custom_nodes/comfy-image-saver\nodes.py”, line 5, in
import piexif
ModuleNotFoundError: No module named ‘piexif’

[2025-02-13 14:35:30.066] [error] Traceback (most recent call last):

[2025-02-13 14:35:30.068] [error] File “C:\Users.…\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\nodes.py”, line 2112, in load_custom_node

[2025-02-13 14:35:30.071] [error]
[2025-02-13 14:35:30.073] [error] module_spec.loader.exec_module(module)

[2025-02-13 14:35:30.075] [error] File “”, line 999, in exec_module
File “”, line 488, in _call_with_frames_removed

[2025-02-13 14:35:30.078] [error] File “G:\ComfyUI\custom_nodes/comfy-image-saver_init_.py”, line 1, in

[2025-02-13 14:35:30.080] [error] from .nodes import NODE_CLASS_MAPPINGS
[2025-02-13 14:35:30.082] [error]

[2025-02-13 14:35:30.084] [error] File “G:\ComfyUI\custom_nodes/comfy-image-saver\nodes.py”, line 5, in

[2025-02-13 14:35:30.087] [error] import piexif

[2025-02-13 14:35:30.089] [error] ModuleNotFoundError: No module named ‘piexif’
[2025-02-13 14:35:30.092] [error]

During handling of the above exception, another exception occurred:

[2025-02-13 14:35:30.093] [error]
Traceback (most recent call last):

[2025-02-13 14:35:30.096] [error] File “C:\Users.…\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\main.py”, line 298, in

[2025-02-13 14:35:30.099] [error]
[2025-02-13 14:35:30.101] [error] event_loop, _, start_all_func = start_comfyui()

[2025-02-13 14:35:30.104] [error]
[2025-02-13 14:35:30.106] [error]
[2025-02-13 14:35:30.108] [error]
[2025-02-13 14:35:30.110] [error]
[2025-02-13 14:35:30.112] [error]
[2025-02-13 14:35:30.114] [error]
[2025-02-13 14:35:30.117] [error]
[2025-02-13 14:35:30.119] [error]
[2025-02-13 14:35:30.121] [error]
[2025-02-13 14:35:30.123] [error] ^
[2025-02-13 14:35:30.125] [error] ^^
[2025-02-13 14:35:30.127] [error] ^^^
[2025-02-13 14:35:30.130] [error] ^
[2025-02-13 14:35:30.132] [error] ^^
[2025-02-13 14:35:30.134] [error] ^^^
[2025-02-13 14:35:30.137] [error] ^^^

[2025-02-13 14:35:30.139] [error] File “C:\Users.…\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\main.py”, line 263, in start_comfyui

[2025-02-13 14:35:30.141] [error]
[2025-02-13 14:35:30.143] [error] nodes.init_extra_nodes(init_custom_nodes=not args.disable_all_custom_nodes)

[2025-02-13 14:35:30.145] [error] File “C:\Users.…\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\nodes.py”, line 2249, in init_extra_nodes

[2025-02-13 14:35:30.147] [error]
[2025-02-13 14:35:30.150] [error] init_external_custom_nodes()

[2025-02-13 14:35:30.152] [error] File “C:\Users.…\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\nodes.py”, line 2160, in init_external_custom_nodes

[2025-02-13 14:35:30.157] [error]
[2025-02-13 14:35:30.159] [error] success = load_custom_node(module_path, base_node_names, module_parent=“custom_nodes”)

[2025-02-13 14:35:30.162] [error]
[2025-02-13 14:35:30.164] [error]
[2025-02-13 14:35:30.167] [error]
[2025-02-13 14:35:30.169] [error]
[2025-02-13 14:35:30.172] [error]
[2025-02-13 14:35:30.174] [error]
[2025-02-13 14:35:30.176] [error] ^^^
[2025-02-13 14:35:30.178] [error] ^^^^
[2025-02-13 14:35:30.180] [error] ^^^^^
[2025-02-13 14:35:30.182] [error] ^^^^
[2025-02-13 14:35:30.184] [error] ^^^^
[2025-02-13 14:35:30.186] [error] ^
[2025-02-13 14:35:30.192] [error] ^
[2025-02-13 14:35:30.194] [error] ^^^^
[2025-02-13 14:35:30.196] [error] ^^
[2025-02-13 14:35:30.203] [error] ^^^^^^^^^^
[2025-02-13 14:35:30.205] [error] ^
[2025-02-13 14:35:30.207] [error] ^^^
[2025-02-13 14:35:30.209] [error] ^^^
[2025-02-13 14:35:30.211] [error] ^^^^
[2025-02-13 14:35:30.213] [error] ^^^
[2025-02-13 14:35:30.221] [error] ^^^^^^^
[2025-02-13 14:35:30.223] [error] ^
[2025-02-13 14:35:30.236] [error] ^
[2025-02-13 14:35:30.238] [error] ^^
[2025-02-13 14:35:30.249] [error] ^^^^^^^
[2025-02-13 14:35:30.252] [error] ^^
[2025-02-13 14:35:30.256] [error] ^^^
[2025-02-13 14:35:30.258] [error] ^
[2025-02-13 14:35:30.260] [error]
File “C:\Users\matth\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\nodes.py”, line 2133, in load_custom_node

[2025-02-13 14:35:30.265] [error]
[2025-02-13 14:35:30.267] [error] logging.warning(traceback.format_exc())

[2025-02-13 14:35:30.272] [error] File “C:\Users.…\AppData\Roaming\uv\python\cpython-3.12.8-windows-x86_64-none\Lib\logging_init_.py”, line 2201, in warning

[2025-02-13 14:35:30.275] [error] root.warning(msg, *args, **kwargs)

[2025-02-13 14:35:30.277] [error] File “C:\Users.…\AppData\Roaming\uv\python\cpython-3.12.8-windows-x86_64-none\Lib\logging_init_.py”, line 1551, in warning
self.log(WARNING, msg, args, **kwargs)
[2025-02-13 14:35:30.279] [error]
File "C:\Users\matth\AppData\Roaming\uv\python\cpython-3.12.8-windows-x86_64-none\Lib\logging_init
.py", line 1684, in _log

[2025-02-13 14:35:30.282] [error]
[2025-02-13 14:35:30.284] [error] self.handle(record)
File “C:\Users\matth\AppData\Roaming\uv\python\cpython-3.12.8-windows-x86_64-none\Lib\logging_init_.py”, line 1700, in handle

[2025-02-13 14:35:30.286] [error]
[2025-02-13 14:35:30.288] [error] self.callHandlers(record)

[2025-02-13 14:35:30.289] [error] File “C:\Users.…\AppData\Roaming\uv\python\cpython-3.12.8-windows-x86_64-none\Lib\logging_init_.py”, line 1762, in callHandlers

[2025-02-13 14:35:30.305] [error]
[2025-02-13 14:35:30.307] [error] hdlr.handle(record)

[2025-02-13 14:35:30.326] [error] File “C:\Users.…\AppData\Roaming\uv\python\cpython-3.12.8-windows-x86_64-none\Lib\logging_init_.py”, line 1028, in handle

[2025-02-13 14:35:30.329] [error]
[2025-02-13 14:35:30.331] [error] self.emit(record)

[2025-02-13 14:35:30.333] [error] File “C:\Users.…\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager\prestartup_script.py”, line 394, in emit

[2025-02-13 14:35:30.361] [error]
[2025-02-13 14:35:30.364] [error] if name not in cm_global.error_dict:

[2025-02-13 14:35:30.366] [error]
[2025-02-13 14:35:30.368] [error]
[2025-02-13 14:35:30.370] [error]
[2025-02-13 14:35:30.372] [error]
[2025-02-13 14:35:30.374] [error]
[2025-02-13 14:35:30.376] [error]
[2025-02-13 14:35:30.378] [error]
[2025-02-13 14:35:30.381] [error] ^^^^^
[2025-02-13 14:35:30.383] [error] ^^^
[2025-02-13 14:35:30.385] [error] ^^^^
[2025-02-13 14:35:30.387] [error] ^^^
[2025-02-13 14:35:30.389] [error] ^^^^
[2025-02-13 14:35:30.391] [error] ^
AttributeError
[2025-02-13 14:35:30.392] [error] : module ‘cm_global’ has no attribute ‘error_dict’

I deleted everything as the manual says, then tried to install from the installation file, nothing worked. The logs I sent were right after that. The portable version installed and works fine.

Looks like you are installing in a location that has special characters. ComfyUI doesn’t support that yet, but we have a fix for that coming soon.

C:\Users\Пользователь

For now, you might need to make a new user account without special characters. Will keep you updated

aigodlike-comfyui-translation, del this

My user account is set up with Latin characters, I don’t know where this gibberish comes from. And by the way, everything worked fine before the update, so it’s not entirely clear why “ComfyUI doesn’t support that yet”?
UPD
I deleted this strange folder from the user directory, then deleted all references to comfi from the system disk, and then tried to install the application again. I got this error.


here is the logs
main.log (7.1 KB)
comfyui.log (496 Bytes)

Judging by the name, this is a custom node? I don’t have anything with that name, and where would it come from if I can’t even install the app

pip is python stuff

[2025-02-12 13:52:42.755] [error] Traceback (most recent call last):
File “C:\Users\FTV_LENOVO\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\main.py”, line 97, in

[2025-02-12 13:52:42.757] [error] apply_custom_paths()
File “C:\Users\FTV_LENOVO\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\main.py”, line 30, in apply_custom_paths
utils.extra_config.load_extra_path_config(config_path)
File “C:\Users\FTV_LENOVO\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\utils\extra_config.py”, line 7, in load_extra_path_config

[2025-02-12 13:52:42.759] [error] with open(yaml_path, ‘r’) as stream:

[2025-02-12 13:52:42.760] [error] ^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: ‘C:\Users\FTV_LENOVO\AppData\Roaming\ComfyUI\extra_models_config.yaml’

Hi @ilya_po,

Sorry to hear you’re having trouble with the app! We’re actually putting together an update that should resolve this with a few clicks.

However… if you’d like to fix this manually right now, these steps should clear it up for you:

These steps - you can back folders up by moving them instead of deleting them, if you like.

  1. Please follow the uninstall instructions in the ComfyUI Desktop User Guide.
  2. Please perform a complete uninstall, removing the %APPDATA% directory.
  3. You’ll also need to do one of the following:
    • Choose a new (empty) location to install to
    • If you’d like to keep the same folder name, please remove or rename the old folder before reinstalling - the install location should be empty

This should resolve your issue, but if for some reason you still have issues, please do let us know.

i did all this like 1000 times already), I’d better stick with the portable version for now

1 Like

Fair enough! Something is unique about your system, though; we have not encountered the exact combination of issues you’re having anywhere else. Hopefully it is resolved in periphery.

Should you wish to use the desktop app again at some point, I’d recommend you first clear the uv cache.

1 Like

I tried again today and suddenly it worked. I had the same issue before.

1 Like

v0.4.20 should support special characters (utf-8).

thanks, I’ll try