[GH-ISSUE #1543] About git action execute error #652

Open
opened 2026-10-27 21:20:27 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @yaosheng216 on GitHub (Feb 14, 2025).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/1543

Hi, author.
First, thanks for your work.
I config pyproject.toml in the my project to execute git action, but met a error information.
Wish you can help solve.
Refer to the screenshot below, this is my pyproject.toml file.

Image

Refer to the screenshot below, this is error information.

Image

Thanks!

Logs:

Run comfy --skip-prompt --no-enable-telemetry env
warn: The recent workspace None is not a valid ComfyUI path.
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ 💻 Environment                       ┃ Value                                 ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ Python Version                       │ 3.10.16                               │
│ Python Executable                    │ /opt/hostedtoolcache/Python/3.10.16/… │
│ Virtualenv Path                      │ Not Used                              │
│ Conda Env                            │ Not Used                              │
│ Config Path                          │ /home/runner/.config/comfy-cli/confi… │
│ Default ComfyUI workspace            │ No default ComfyUI workspace          │
│ Default ComfyUI launch extra options │ None                                  │
│ Recent ComfyUI workspace             │ No recent run                         │
│ Tracking Analytics                   │ Disabled                              │
│ Background ComfyUI                   │ No                                    │
│ Comfy Server Running                 │ No                                    │
│ Current selected workspace           │ → /home/runner/comfy/ComfyUI          │
└──────────────────────────────────────┴───────────────────────────────────────┘
warn: The recent workspace None is not a valid ComfyUI path.
Validating node configuration...
No pyproject.toml file found in the current directory.
Running security checks...
Security warnings found:
docs/en/conf.py:29:9: S102 Use of `exec` detected
   |
27 |     version_path = '../../scepter/version.py'
28 |     with open(version_path) as f:
29 |         exec(compile(f.read(), version_path, 'exec'))
   |         ^^^^ S102
30 |     return locals()['__version__']
   |

docs/zh_cn/conf.py:29:9: S102 Use of `exec` detected
   |
27 |     version_path = '../../scepter/version.py'
28 |     with open(version_path) as f:
29 |         exec(compile(f.read(), version_path, 'exec'))
   |         ^^^^ S102
30 |     return locals()['__version__']
   |

setup.py:19:9: S102 Use of `exec` detected
   |
17 |     version_path = 'scepter/version.py'
18 |     with open(version_path) as f:
19 |         exec(compile(f.read(), version_path, 'exec'))
   |         ^^^^ S102
20 |     return locals()['__version__']
   |


We will soon disable exec and eval, and multiple statements in a single line, so
this will be an error soon.
Publishing node version...
{"'NoneType' object has no attribute 'tool_comfy'"}
Error: Process completed with exit code 1.
Originally created by @yaosheng216 on GitHub (Feb 14, 2025). Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/1543 Hi, author. First, thanks for your work. I config pyproject.toml in the my project to execute git action, but met a error information. Wish you can help solve. Refer to the screenshot below, this is my pyproject.toml file. <img width="927" alt="Image" src="https://github.com/user-attachments/assets/06dec6ea-689b-4601-89a2-33af8cf09baa" /> Refer to the screenshot below, this is error information. <img width="752" alt="Image" src="https://github.com/user-attachments/assets/59e0632c-fb21-461f-93b0-6390b1dc4a93" /> Thanks! ### Logs: ```powershell Run comfy --skip-prompt --no-enable-telemetry env warn: The recent workspace None is not a valid ComfyUI path. ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ 💻 Environment ┃ Value ┃ ┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩ │ Python Version │ 3.10.16 │ │ Python Executable │ /opt/hostedtoolcache/Python/3.10.16/… │ │ Virtualenv Path │ Not Used │ │ Conda Env │ Not Used │ │ Config Path │ /home/runner/.config/comfy-cli/confi… │ │ Default ComfyUI workspace │ No default ComfyUI workspace │ │ Default ComfyUI launch extra options │ None │ │ Recent ComfyUI workspace │ No recent run │ │ Tracking Analytics │ Disabled │ │ Background ComfyUI │ No │ │ Comfy Server Running │ No │ │ Current selected workspace │ → /home/runner/comfy/ComfyUI │ └──────────────────────────────────────┴───────────────────────────────────────┘ warn: The recent workspace None is not a valid ComfyUI path. Validating node configuration... No pyproject.toml file found in the current directory. Running security checks... Security warnings found: docs/en/conf.py:29:9: S102 Use of `exec` detected | 27 | version_path = '../../scepter/version.py' 28 | with open(version_path) as f: 29 | exec(compile(f.read(), version_path, 'exec')) | ^^^^ S102 30 | return locals()['__version__'] | docs/zh_cn/conf.py:29:9: S102 Use of `exec` detected | 27 | version_path = '../../scepter/version.py' 28 | with open(version_path) as f: 29 | exec(compile(f.read(), version_path, 'exec')) | ^^^^ S102 30 | return locals()['__version__'] | setup.py:19:9: S102 Use of `exec` detected | 17 | version_path = 'scepter/version.py' 18 | with open(version_path) as f: 19 | exec(compile(f.read(), version_path, 'exec')) | ^^^^ S102 20 | return locals()['__version__'] | We will soon disable exec and eval, and multiple statements in a single line, so this will be an error soon. Publishing node version... {"'NoneType' object has no attribute 'tool_comfy'"} Error: Process completed with exit code 1.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/ComfyUI-Manager#652
No description provided.