--sd-webui-ar-plus icon indicating copy to clipboard operation
--sd-webui-ar-plus copied to clipboard

ValueError: not enough values to unpack (expected 3, got 1)

Open shaun-ba opened this issue 1 year ago • 1 comments

I simply changed the 2048 res for 896 but now I'm getting this error? Of course I have 3 values here as the rest of the lines!

 line 263, in read_resolutions
        self.res_labels, res, self.res_comments = parse_resolutions_file("resolutions.txt")
                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/home/extensions/--sd-webui-ar-plusplus/scripts/sd-webui-ar-plusplus.py", line 200, in parse_resolutions_file
        label, width, height = line.strip().split(",")
        ^^^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 3, got 1)

shaun-ba avatar Nov 16 '24 09:11 shaun-ba

Show your full config, please

LEv145 avatar Nov 19 '24 14:11 LEv145