chflame163 / ComfyUI_LayerStyle

A set of nodes for ComfyUI that can composite layer and mask to achieve Photoshop like functionality.
MIT License
1.52k stars 86 forks source link

🛑Suspicious: "Unable to auto-detect email address" Error When Trying to Update Nodes #321

Open camoody1 opened 1 month ago

camoody1 commented 1 month ago

Why am I getting an error about finding my email address when I try to update your custom node package? This feels... suspicious.

Update custom node 'ComfyUI Layer Style'
Update: ['https://github.com/chflame163/ComfyUI_LayerStyle']
Cmd('git') failed due to: exit code(128)
  cmdline: git pull -v -- origin
  stderr: 'fatal: unable to auto-detect email address (got 'Christopher@Alderaan.(none)')'
CUSTOM NODE PULL: Fail
camoody1 commented 1 month ago

After restarting Comfy, I get this error in the log file:

#######################################################################
[ComfyUI-Manager] Starting dependency installation/(de)activation for the extension

Install: pip packages for 'H:\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_LayerStyle'
                          [SKIP] Downgrading pip package isn't allowed: transformers (cur=4.44.2)
[SKIP] Downgrading pip package isn't allowed: ultralytics (cur=8.2.90)
             [SKIP] Downgrading pip package isn't allowed: bitsandbytes (cur=0.44.0)
 Collecting psd-tools
   Using cached psd_tools-1.10.0-cp311-cp311-win_amd64.whl.metadata (3.9 kB)
 Collecting docopt>=0.6.0 (from psd-tools)
   Using cached docopt-0.6.2.tar.gz (25 kB)
   Preparing metadata (setup.py): started
   Preparing metadata (setup.py): finished with status 'error'
[!]   error: subprocess-exited-with-error
[!]
[!]   python setup.py egg_info did not run successfully.
[!]   exit code: 1
[!]
[!]   [6 lines of output]
[!]   Traceback (most recent call last):
[!]     File "<string>", line 2, in <module>
[!]     File "<pip-setuptools-caller>", line 34, in <module>
[!]     File "C:\Users\Christopher\AppData\Local\Temp\pip-install-7n9g9mah\docopt_3d7271b455d6426aad7e473ea9eaf3b1\setup.py", line 3, in <module>
[!]       from docopt import __version__
[!]   ModuleNotFoundError: No module named 'docopt'
[!]   [end of output]
[!]
[!]   note: This error originates from a subprocess, and is likely not a problem with pip.
[!] error: metadata-generation-failed
[!]
[!] Encountered error while generating package metadata.
[!]
[!] See above for output.
[!]
[!] note: This is an issue with the package mentioned above, not pip.
[!] hint: See above for details.
[SKIP] Downgrading pip package isn't allowed: inference-cli (cur=0.18.1)
             Collecting rich<=13.5.2 (from inference-gpu>=0.13.0->inference-gpu[yolo-world]>=0.13.0)
   Using cached rich-13.5.2-py3-none-any.whl.metadata (18 kB)

                       Using cached rich-13.5.2-py3-none-any.whl (239 kB)
 Installing collected packages: rich
   Attempting uninstall: rich
     Found existing installation: rich 13.8.1
     Uninstalling rich-13.8.1:
       Successfully uninstalled rich-13.8.1
[!] ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
 Successfully installed rich-13.5.2
[!] flet 0.24.1 requires packaging<24.0,>=23.1, but you have packaging 24.1 which is incompatible.

[ComfyUI-Manager] Startup script completed.
#######################################################################
chflame163 commented 1 month ago

It seems occurred during the process of ComfyUI-Manager automatically detecting and installing dependency packages. Try manually upgrade the plugin and manually install dependency packages.

camoody1 commented 1 month ago

While installing requirements manually...

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
datasets 2.16.1 requires dill<0.3.8,>=0.3.0, but you have dill 0.3.8 which is incompatible.
open-clip-torch 2.12.0 requires protobuf==3.20.*, but you have protobuf 4.25.5 which is incompatible.
tensorboard 2.15.1 requires protobuf<4.24,>=3.19.6, but you have protobuf 4.25.5 which is incompatible.
torchaudio 2.4.0+cu121 requires torch==2.4.0+cu121, but you have torch 2.4.1 which is incompatible.
ltdrdata commented 1 month ago

Why am I getting an error about finding my email address when I try to update your custom node package? This feels... suspicious.

Update custom node 'ComfyUI Layer Style'
Update: ['https://github.com/chflame163/ComfyUI_LayerStyle']
Cmd('git') failed due to: exit code(128)
  cmdline: git pull -v -- origin
  stderr: 'fatal: unable to auto-detect email address (got 'Christopher@Alderaan.(none)')'
CUSTOM NODE PULL: Fail

Email is used in the git program, which manages code, to identify the code author.

In the first place, unless you're pushing to a separate forked external repository, there's no reason for your local information to go out.

However, it is strange that this happens when pulling, as it's only necessary when a new commit is created.

In any case, this has nothing to do with the custom node itself.

It's just a configuration issue with git, the source code management program. It doesn't matter if you set that email to any meaningless string.

camoody1 commented 1 month ago

@ltdrdata Thank you for the confirmation. I appreciate all of your amazing work.