Skip to content
TheChatArchiveThe Chat Archive
gpt-4o-2024-08-06· OpenAIAi2 WildChat-4.8M (AI2)

please go through the below log and help me with a solution. Requested to load…

  1. User

    please go through the below log and help me with a solution.

    Requested to load AutoencodingEngine Loading 1 new model loaded completely 0.0 159.87335777282715 True !!! Exception during processing !!! [Errno 13] Permission denied: 'C:\Users\CapsA01\ComfyUI_windows_portable\ComfyUI\models\mediapipe\selfie_multiclass_256x256.tflite' Traceback (most recent call last): File "C:\Users\CapsA01\ComfyUI_windows_portable\ComfyUI\execution.py", line 317, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\CapsA01\ComfyUI_windows_portable\ComfyUI\execution.py", line 192, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\CapsA01\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "C:\Users\CapsA01\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\CapsA01\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\person_mask_ultra_v2.py", line 74, in person_mask_ultra_v2 with open(a_person_mask_generator_model_path, "rb") as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PermissionError: [Errno 13] Permission denied: 'C:\Users\CapsA01\ComfyUI_windows_portable\ComfyUI\models\mediapipe\selfie_multiclass_256x256.tflite'

  2. Assistant

    The log you've provided indicates a PermissionError, specifically an [Errno 13], which means that the process attempted to access a file without sufficient permissions. This error is occurring in the script located at C:\Users\CapsA01\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_LayerStyle\py\person_mask_ultra_v2.py, on the line where it tries to open the file C:\Users\CapsA01\ComfyUI_windows_portable\ComfyUI\models\mediapipe\selfie_multiclass_256x256.tflite.

    Here are some steps you can take to try to resolve this issue:

    1. Check File Permissions:

      • Navigate to C:\Users\CapsA01\ComfyUI_windows_portable\ComfyUI\models\mediapipe\ in Windows Explorer.
      • Right-click on selfie_multiclass_256x256.tflite and select "Properties."
      • Go to the "Security" tab and verify that your user account has read permissions. If not, click "Edit" and adjust the permissions accordingly.
    2. Run as Administrator:

      • Sometimes, running a script or program with elevated permissions can resolve permission issues.
      • Right-click on the program or the script that launches your application and select "Run as administrator."
    3. Check Antivirus/Firewall:

      • Occasionally, security software may block access to certain files. Make sure your antivirus software or Windows Defender is not blocking access to this file. You may need to add an exception for the file or the entire ComfyUI_windows_portable directory.
    4. Check File Lock:

      • Ensure that no other program is using or locking the file. You can use tools like Process Explorer to check if another process has a handle open for this file.
    5. File Corruption:

      • Redownload or replace the .tflite file if it may be corrupted and ensure that the download or transfer process completes without issues.
    6. Check Path Length:

      • Windows can sometimes have issues with very long file paths. Try moving the ComfyUI_windows_portable folder to a shorter path, like directly under C:\.
    7. Check Python Environment Permissions:

      • Ensure that the Python environment has the appropriate permissions to access and read from the directories and files it needs.

    Once you've tried these steps, try running the program again to see if the issue has been resolved.