Closed easylolicon closed 4 months ago
Getting the same 'isatty' issue, after all packages needed installed.
Maybe a bug.
I am getting the same issue. Comyui boots perfectly with no errors, but when I click on a model name from the "Mixlab" pop-up then errors occur. A link appears as a button saying http://127.0.0.1:9090
, but there is nothing at that url. I am using the "Prompt Generate" node, which appears to still function correctly, but it seems not possible to switch llamafile
models because of the error.
我将出错的 isatty() 注释 强制 self.use_colors = False 解决了问题
当然后续发现代码中固定127.0.0.1而我访问的局域网服务则又修改了相关的 ip 与 address 文件 如果本机使用(127.0.0.1)则忽略后面这段话
感谢反馈。已经修复:
self.use_colors = sys.stdout.isatty() AttributeError: 'ComfyUIManagerLogger' object has no attribute 'isatty'
Available chat formats from metadata: chat_template.default Exception in thread Thread-5 (run_uvicorn): Traceback (most recent call last): File "/www/miniconda/envs/comfyui/lib/python3.10/logging/config.py", line 544, in configure formatters[name] = self.configure_formatter( File "/www/miniconda/envs/comfyui/lib/python3.10/logging/config.py", line 656, in configure_formatter result = self.configure_custom(config) File "/www/miniconda/envs/comfyui/lib/python3.10/logging/config.py", line 475, in configure_custom result = c(**kwargs) File "/www/miniconda/envs/comfyui/lib/python3.10/site-packages/uvicorn/logging.py", line 42, in init self.use_colors = sys.stdout.isatty() AttributeError: 'ComfyUIManagerLogger' object has no attribute 'isatty'
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/www/miniconda/envs/comfyui/lib/python3.10/threading.py", line 1016, in _bootstrap_inner self.run() File "/www/miniconda/envs/comfyui/lib/python3.10/threading.py", line 953, in run self._target(*self._args, **self._kwargs) File "/www/ComfyUI/custom_nodes/comfyui-mixlab-nodes/init.py", line 695, in run_uvicorn uvicorn.run( File "/www/miniconda/envs/comfyui/lib/python3.10/site-packages/uvicorn/main.py", line 513, in run config = Config( File "/www/miniconda/envs/comfyui/lib/python3.10/site-packages/uvicorn/config.py", line 272, in init self.configure_logging() File "/www/miniconda/envs/comfyui/lib/python3.10/site-packages/uvicorn/config.py", line 364, in configure_logging logging.config.dictConfig(self.log_config) File "/www/miniconda/envs/comfyui/lib/python3.10/logging/config.py", line 811, in dictConfig dictConfigClass(config).configure() File "/www/miniconda/envs/comfyui/lib/python3.10/logging/config.py", line 547, in configure raise ValueError('Unable to configure ' ValueError: Unable to configure formatter 'default' Disable Log Console. client id: 61113896c1d44001aa532301d46a1694, console id: aa9e02f1-b460-467e-a8ec-3569c2f3b338