Giter VIP home page Giter VIP logo

Comments (8)

DawidIzydor avatar DawidIzydor commented on June 15, 2024

Getting the same error

Error occurred when executing SeargeImageSave:

'Namespace' object has no attribute 'disable_metadata'

  File "D:\Source\superstable-diffusion\ComfyUI_windows_portable\ComfyUI\execution.py", line 144, in recursive_execute
    output_data, output_ui = get_output_data(obj, input_data_all)
  File "D:\Source\superstable-diffusion\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in get_output_data
    return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
  File "D:\Source\superstable-diffusion\ComfyUI_windows_portable\ComfyUI\execution.py", line 67, in map_node_over_list
    results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
  File "D:\Source\superstable-diffusion\ComfyUI_windows_portable\ComfyUI\custom_nodes\SeargeSDXL\searge_sdxl_sampler_node.py", line 640, in save_images
    if not args.disable_metadata:

from seargesdxl.

DawidIzydor avatar DawidIzydor commented on June 15, 2024

Commenting out the line containing disable_metadata and modyfing the intendation seems to be a dirty fix

            #if not args.disable_metadata:
            metadata = PngInfo()
            if prompt is not None:
                metadata.add_text("prompt", json.dumps(prompt))
            if extra_pnginfo is not None:
                for x in extra_pnginfo:
                    metadata.add_text(x, json.dumps(extra_pnginfo[x]))

from seargesdxl.

SeargeDP avatar SeargeDP commented on June 15, 2024

please let me know if this is still an issue in version 3.1 (just released)

from seargesdxl.

SeargeDP avatar SeargeDP commented on June 15, 2024

Also, are you using the latest version of ComfyUI?

from seargesdxl.

suteerth avatar suteerth commented on June 15, 2024

Working after the latest fix, closing this issue

from seargesdxl.

w0nche0l avatar w0nche0l commented on June 15, 2024

weird, i'm still getting this error on the latest version of SeargeSDXL.:
Does anyone know how to check the version of ComfyUI / update to the latest?

Traceback (most recent call last):
File "C:\Users\wonje\Downloads\ComfyUI_windows_portable_nvidia_cu118_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 145, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "C:\Users\wonje\Downloads\ComfyUI_windows_portable_nvidia_cu118_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 75, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "C:\Users\wonje\Downloads\ComfyUI_windows_portable_nvidia_cu118_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 68, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "C:\Users\wonje\Downloads\ComfyUI_windows_portable_nvidia_cu118_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\SeargeSDXL\searge_sdxl_sampler_node.py", line 361, in save_images
if args.disable_metadata is None or not args.disable_metadata:
AttributeError: 'Namespace' object has no attribute 'disable_metadata'

from seargesdxl.

DawidIzydor avatar DawidIzydor commented on June 15, 2024

Still getting the same issue on 3.4

  File "D:\Source\superstable-diffusion\ComfyUI_windows_portable\ComfyUI\execution.py", line 144, in recursive_execute
    output_data, output_ui = get_output_data(obj, input_data_all)
  File "D:\Source\superstable-diffusion\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in get_output_data
    return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
  File "D:\Source\superstable-diffusion\ComfyUI_windows_portable\ComfyUI\execution.py", line 67, in map_node_over_list
    results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
  File "D:\Source\superstable-diffusion\ComfyUI_windows_portable\ComfyUI\custom_nodes\SeargeSDXL\searge_sdxl_sampler_node.py", line 361, in save_images
    if args.disable_metadata is None or not args.disable_metadata:
AttributeError: 'Namespace' object has no attribute 'disable_metadata'

from seargesdxl.

SeargeDP avatar SeargeDP commented on June 15, 2024

You need to update ComfyUI to the latest version

from seargesdxl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.