Code Monkey home page Code Monkey logo

Comments (7)

vladmandic avatar vladmandic commented on September 27, 2024 1

that case should also be handled now.

from automatic.

Aptronymist avatar Aptronymist commented on September 27, 2024

13:03:43-765655 DEBUG Wildcards apply: wildcard="Horror\horror-master-list" choice="horror-legs" file="H:\Models\wildcards\Horror\horror-master-list.txt" choices=14
--- Logging error ---
Traceback (most recent call last):
File "H:\Python311\Lib\site-packages\rich\logging.py", line 170, in emit
self.console.print(log_renderable)
File "H:\Python311\Lib\site-packages\rich\console.py", line 1700, in print
extend(render(renderable, render_options))
File "H:\Python311\Lib\site-packages\rich\console.py", line 1332, in render
for render_output in iter_render:
File "H:\Python311\Lib\site-packages\rich\table.py", line 509, in rich_console
yield from self.render(console, render_options, widths)
File "H:\Python311\Lib\site-packages\rich\table.py", line 822, in render
lines = console.render_lines(
^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\console.py", line 1372, in render_lines
lines = list(
^^^^^
File "H:\Python311\Lib\site-packages\rich\segment.py", line 291, in split_and_crop_lines
for segment in segments:
File "H:\Python311\Lib\site-packages\rich\console.py", line 1332, in render
for render_output in iter_render:
File "H:\Python311\Lib\site-packages\rich\padding.py", line 97, in rich_console
lines = console.render_lines(
^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\console.py", line 1372, in render_lines
lines = list(
^^^^^
File "H:\Python311\Lib\site-packages\rich\segment.py", line 291, in split_and_crop_lines
for segment in segments:
File "H:\Python311\Lib\site-packages\rich\console.py", line 1336, in render
yield from self.render(render_output, options)
File "H:\Python311\Lib\site-packages\rich\console.py", line 1332, in render
for render_output in iter_render:
File "H:\Python311\Lib\site-packages\rich\text.py", line 694, in rich_console
lines = self.wrap(
^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\text.py", line 1234, in wrap
new_lines = line.divide(offsets)
^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\text.py", line 1126, in divide
new_lines = Lines(
^^^^^^
File "H:\Python311\Lib\site-packages\rich\containers.py", line 70, in init
self.lines: List["Text"] = list(lines)
^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\text.py", line 1127, in
Text(
File "H:\Python311\Lib\site-packages\rich\text.py", line 155, in init
sanitized_text = strip_control_codes(text)
^^^^^^^^^^^^^^^^^^^^^^^^^
RecursionError: maximum recursion depth exceeded
Call stack:
File "H:\Apps\SDNextCUDA\modules\styles.py", line 75, in apply_file_wildcards
prompt, replaced, not_found = apply_file_wildcards(prompt, replaced, not_found) # recursive until we get early return
File "H:\Apps\SDNextCUDA\modules\styles.py", line 75, in apply_file_wildcards
prompt, replaced, not_found = apply_file_wildcards(prompt, replaced, not_found) # recursive until we get early return
File "H:\Apps\SDNextCUDA\modules\styles.py", line 75, in apply_file_wildcards
prompt, replaced, not_found = apply_file_wildcards(prompt, replaced, not_found) # recursive until we get early return
[Previous line repeated 89 more times]
File "H:\Apps\SDNextCUDA\modules\styles.py", line 70, in apply_file_wildcards
prompt, found = check_files(prompt, m, files)
File "H:\Apps\SDNextCUDA\modules\styles.py", line 56, in check_files
shared.log.debug(f'Wildcards apply: wildcard="{wildcard}" choice="{choice}" file="{file}" choices={len(lines)}')
File "H:\Python311\Lib\logging_init
.py", line 1477, in debug
self.log(DEBUG, msg, args, **kwargs)
File "H:\Python311\Lib\logging_init
.py", line 1634, in log
self.handle(record)
File "H:\Python311\Lib\logging_init
.py", line 1644, in handle
self.callHandlers(record)
File "H:\Python311\Lib\logging_init
.py", line 1706, in callHandlers
hdlr.handle(record)
File "H:\Python311\Lib\logging_init
.py", line 978, in handle
self.emit(record)
File "H:\Python311\Lib\site-packages\rich\logging.py", line 172, in emit
self.handleError(record)
Message: 'Wildcards apply: wildcard="Horror\horror-master-list" choice="horror-skin-advanced" file="H:\Models\wildcards\Horror\horror-master-list.txt" choices=14'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "H:\Python311\Lib\site-packages\rich\logging.py", line 170, in emit
self.console.print(log_renderable)
File "H:\Python311\Lib\site-packages\rich\console.py", line 1700, in print
extend(render(renderable, render_options))
File "H:\Python311\Lib\site-packages\rich\console.py", line 1332, in render
for render_output in iter_render:
File "H:\Python311\Lib\site-packages\rich\table.py", line 509, in rich_console
yield from self.render(console, render_options, widths)
File "H:\Python311\Lib\site-packages\rich\table.py", line 822, in render
lines = console.render_lines(
^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\console.py", line 1372, in render_lines
lines = list(
^^^^^
File "H:\Python311\Lib\site-packages\rich\segment.py", line 291, in split_and_crop_lines
for segment in segments:
File "H:\Python311\Lib\site-packages\rich\segment.py", line 197, in
result_segments = (
^
File "H:\Python311\Lib\site-packages\rich\console.py", line 1332, in render
for render_output in iter_render:
File "H:\Python311\Lib\site-packages\rich\padding.py", line 97, in rich_console
lines = console.render_lines(
^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\console.py", line 1372, in render_lines
lines = list(
^^^^^
File "H:\Python311\Lib\site-packages\rich\segment.py", line 291, in split_and_crop_lines
for segment in segments:
File "H:\Python311\Lib\site-packages\rich\console.py", line 1332, in render
for render_output in iter_render:
File "H:\Python311\Lib\site-packages\rich\text.py", line 694, in rich_console
lines = self.wrap(
^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\text.py", line 1227, in wrap
for line in self.split(allow_blank=True):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\text.py", line 1080, in split
return Lines([self.copy()])
^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\text.py", line 444, in copy
copy_self = Text(
^^^^^
File "H:\Python311\Lib\site-packages\rich\text.py", line 155, in init
sanitized_text = strip_control_codes(text)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\control.py", line 198, in strip_control_codes
return text.translate(translate_table)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RecursionError: maximum recursion depth exceeded while calling a Python object
Call stack:
File "H:\Apps\SDNextCUDA\modules\styles.py", line 75, in apply_file_wildcards
prompt, replaced, not_found = apply_file_wildcards(prompt, replaced, not_found) # recursive until we get early return
File "H:\Apps\SDNextCUDA\modules\styles.py", line 75, in apply_file_wildcards
prompt, replaced, not_found = apply_file_wildcards(prompt, replaced, not_found) # recursive until we get early return
File "H:\Apps\SDNextCUDA\modules\styles.py", line 75, in apply_file_wildcards
prompt, replaced, not_found = apply_file_wildcards(prompt, replaced, not_found) # recursive until we get early return
[Previous line repeated 89 more times]
File "H:\Apps\SDNextCUDA\modules\styles.py", line 70, in apply_file_wildcards
prompt, found = check_files(prompt, m, files)
File "H:\Apps\SDNextCUDA\modules\styles.py", line 56, in check_files
shared.log.debug(f'Wildcards apply: wildcard="{wildcard}" choice="{choice}" file="{file}" choices={len(lines)}')
File "H:\Python311\Lib\logging_init
.py", line 1477, in debug
self.log(DEBUG, msg, args, **kwargs)
File "H:\Python311\Lib\logging_init
.py", line 1634, in log
self.handle(record)
File "H:\Python311\Lib\logging_init
.py", line 1644, in handle
self.callHandlers(record)
File "H:\Python311\Lib\logging_init
.py", line 1706, in callHandlers
hdlr.handle(record)
File "H:\Python311\Lib\logging_init
.py", line 978, in handle
self.emit(record)
File "H:\Python311\Lib\site-packages\rich\logging.py", line 172, in emit
self.handleError(record)
Message: 'Wildcards apply: wildcard="Horror\horror-master-list" choice="horror-eyes" file="H:\Models\wildcards\Horror\horror-master-list.txt" choices=14'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "H:\Python311\Lib\site-packages\rich\logging.py", line 170, in emit
self.console.print(log_renderable)
File "H:\Python311\Lib\site-packages\rich\console.py", line 1700, in print
extend(render(renderable, render_options))
File "H:\Python311\Lib\site-packages\rich\console.py", line 1332, in render
for render_output in iter_render:
File "H:\Python311\Lib\site-packages\rich\table.py", line 509, in rich_console
yield from self.render(console, render_options, widths)
File "H:\Python311\Lib\site-packages\rich\table.py", line 822, in render
lines = console.render_lines(
^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\console.py", line 1372, in render_lines
lines = list(
^^^^^
File "H:\Python311\Lib\site-packages\rich\segment.py", line 291, in split_and_crop_lines
for segment in segments:
File "H:\Python311\Lib\site-packages\rich\segment.py", line 197, in
result_segments = (
^
File "H:\Python311\Lib\site-packages\rich\console.py", line 1332, in render
for render_output in iter_render:
File "H:\Python311\Lib\site-packages\rich\padding.py", line 97, in rich_console
lines = console.render_lines(
^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\console.py", line 1372, in render_lines
lines = list(
^^^^^
File "H:\Python311\Lib\site-packages\rich\segment.py", line 291, in split_and_crop_lines
for segment in segments:
File "H:\Python311\Lib\site-packages\rich\console.py", line 1332, in render
for render_output in iter_render:
File "H:\Python311\Lib\site-packages\rich\text.py", line 694, in rich_console
lines = self.wrap(
^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\text.py", line 1227, in wrap
for line in self.split(allow_blank=True):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\text.py", line 1080, in split
return Lines([self.copy()])
^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\text.py", line 444, in copy
copy_self = Text(
^^^^^
File "H:\Python311\Lib\site-packages\rich\text.py", line 155, in init
sanitized_text = strip_control_codes(text)
^^^^^^^^^^^^^^^^^^^^^^^^^
RecursionError: maximum recursion depth exceeded
Call stack:
File "H:\Apps\SDNextCUDA\modules\styles.py", line 75, in apply_file_wildcards
prompt, replaced, not_found = apply_file_wildcards(prompt, replaced, not_found) # recursive until we get early return
File "H:\Apps\SDNextCUDA\modules\styles.py", line 75, in apply_file_wildcards
prompt, replaced, not_found = apply_file_wildcards(prompt, replaced, not_found) # recursive until we get early return
File "H:\Apps\SDNextCUDA\modules\styles.py", line 75, in apply_file_wildcards
prompt, replaced, not_found = apply_file_wildcards(prompt, replaced, not_found) # recursive until we get early return
[Previous line repeated 89 more times]
File "H:\Apps\SDNextCUDA\modules\styles.py", line 70, in apply_file_wildcards
prompt, found = check_files(prompt, m, files)
File "H:\Apps\SDNextCUDA\modules\styles.py", line 56, in check_files
shared.log.debug(f'Wildcards apply: wildcard="{wildcard}" choice="{choice}" file="{file}" choices={len(lines)}')
File "H:\Python311\Lib\logging_init
.py", line 1477, in debug
self.log(DEBUG, msg, args, **kwargs)
File "H:\Python311\Lib\logging_init
.py", line 1634, in log
self.handle(record)
File "H:\Python311\Lib\logging_init
.py", line 1644, in handle
self.callHandlers(record)
File "H:\Python311\Lib\logging_init
.py", line 1706, in callHandlers
hdlr.handle(record)
File "H:\Python311\Lib\logging_init
.py", line 978, in handle
self.emit(record)
File "H:\Python311\Lib\site-packages\rich\logging.py", line 172, in emit
self.handleError(record)
Message: 'Wildcards apply: wildcard="Horror\horror-master-list" choice="horror-mouth" file="H:\Models\wildcards\Horror\horror-master-list.txt" choices=14'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "H:\Python311\Lib\site-packages\rich\logging.py", line 170, in emit
self.console.print(log_renderable)
File "H:\Python311\Lib\site-packages\rich\console.py", line 1700, in print
extend(render(renderable, render_options))
File "H:\Python311\Lib\site-packages\rich\console.py", line 1332, in render
for render_output in iter_render:
File "H:\Python311\Lib\site-packages\rich\table.py", line 509, in rich_console
yield from self.render(console, render_options, widths)
File "H:\Python311\Lib\site-packages\rich\table.py", line 822, in render
lines = console.render_lines(
^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\console.py", line 1372, in render_lines
lines = list(
^^^^^
File "H:\Python311\Lib\site-packages\rich\segment.py", line 291, in split_and_crop_lines
for segment in segments:
File "H:\Python311\Lib\site-packages\rich\segment.py", line 197, in
result_segments = (
^
File "H:\Python311\Lib\site-packages\rich\console.py", line 1332, in render
for render_output in iter_render:
File "H:\Python311\Lib\site-packages\rich\padding.py", line 97, in rich_console
lines = console.render_lines(
^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\console.py", line 1372, in render_lines
lines = list(
^^^^^
File "H:\Python311\Lib\site-packages\rich\segment.py", line 291, in split_and_crop_lines
for segment in segments:
File "H:\Python311\Lib\site-packages\rich\console.py", line 1332, in render
for render_output in iter_render:
File "H:\Python311\Lib\site-packages\rich\text.py", line 694, in rich_console
lines = self.wrap(
^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\text.py", line 1227, in wrap
for line in self.split(allow_blank=True):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\text.py", line 1080, in split
return Lines([self.copy()])
^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\text.py", line 444, in copy
copy_self = Text(
^^^^^
RecursionError: maximum recursion depth exceeded
Call stack:
File "H:\Apps\SDNextCUDA\modules\styles.py", line 75, in apply_file_wildcards
prompt, replaced, not_found = apply_file_wildcards(prompt, replaced, not_found) # recursive until we get early return
File "H:\Apps\SDNextCUDA\modules\styles.py", line 75, in apply_file_wildcards
prompt, replaced, not_found = apply_file_wildcards(prompt, replaced, not_found) # recursive until we get early return
File "H:\Apps\SDNextCUDA\modules\styles.py", line 75, in apply_file_wildcards
prompt, replaced, not_found = apply_file_wildcards(prompt, replaced, not_found) # recursive until we get early return
[Previous line repeated 89 more times]
File "H:\Apps\SDNextCUDA\modules\styles.py", line 70, in apply_file_wildcards
prompt, found = check_files(prompt, m, files)
File "H:\Apps\SDNextCUDA\modules\styles.py", line 56, in check_files
shared.log.debug(f'Wildcards apply: wildcard="{wildcard}" choice="{choice}" file="{file}" choices={len(lines)}')
File "H:\Python311\Lib\logging_init
.py", line 1477, in debug
self.log(DEBUG, msg, args, **kwargs)
File "H:\Python311\Lib\logging_init
.py", line 1634, in log
self.handle(record)
File "H:\Python311\Lib\logging_init
.py", line 1644, in handle
self.callHandlers(record)
File "H:\Python311\Lib\logging_init
.py", line 1706, in callHandlers
hdlr.handle(record)
File "H:\Python311\Lib\logging_init
.py", line 978, in handle
self.emit(record)
File "H:\Python311\Lib\site-packages\rich\logging.py", line 172, in emit
self.handleError(record)
Message: 'Wildcards apply: wildcard="Horror\horror-master-list" choice="horror-musculature" file="H:\Models\wildcards\Horror\horror-master-list.txt" choices=14'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "H:\Python311\Lib\site-packages\rich\logging.py", line 170, in emit
self.console.print(log_renderable)
File "H:\Python311\Lib\site-packages\rich\console.py", line 1700, in print
extend(render(renderable, render_options))
File "H:\Python311\Lib\site-packages\rich\console.py", line 1332, in render
for render_output in iter_render:
File "H:\Python311\Lib\site-packages\rich\table.py", line 482, in rich_console
widths = self._calculate_column_widths(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\table.py", line 523, in _calculate_column_widths
width_ranges = [
^
File "H:\Python311\Lib\site-packages\rich\table.py", line 524, in
self._measure_column(console, options, column) for column in columns
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\table.py", line 727, in _measure_column
_min, _max = get_render_width(console, options, cell.renderable)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\measure.py", line 109, in get
get_console_width(console, options)
File "H:\Python311\Lib\site-packages\rich\padding.py", line 132, in rich_measure
measure_min, measure_max = Measurement.get(console, options, self.renderable)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\measure.py", line 109, in get
get_console_width(console, options)
File "H:\Python311\Lib\site-packages\rich\text.py", line 710, in rich_measure
max_text_width = max(cell_len(line) for line in lines) if lines else 0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\text.py", line 710, in
max_text_width = max(cell_len(line) for line in lines) if lines else 0
^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\cells.py", line 41, in cell_len
return cell_len(text)
^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\cells.py", line 27, in cached_cell_len
total_size = sum(get_size(character) for character in text)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\cells.py", line 27, in
total_size = sum(get_size(character) for character in text)
^^^^^^^^^^^^^^^^^^^^
RecursionError: maximum recursion depth exceeded while calling a Python object
Call stack:
File "H:\Apps\SDNextCUDA\modules\styles.py", line 75, in apply_file_wildcards
prompt, replaced, not_found = apply_file_wildcards(prompt, replaced, not_found) # recursive until we get early return
File "H:\Apps\SDNextCUDA\modules\styles.py", line 75, in apply_file_wildcards
prompt, replaced, not_found = apply_file_wildcards(prompt, replaced, not_found) # recursive until we get early return
File "H:\Apps\SDNextCUDA\modules\styles.py", line 75, in apply_file_wildcards
prompt, replaced, not_found = apply_file_wildcards(prompt, replaced, not_found) # recursive until we get early return
[Previous line repeated 89 more times]
File "H:\Apps\SDNextCUDA\modules\styles.py", line 70, in apply_file_wildcards
prompt, found = check_files(prompt, m, files)
File "H:\Apps\SDNextCUDA\modules\styles.py", line 56, in check_files
shared.log.debug(f'Wildcards apply: wildcard="{wildcard}" choice="{choice}" file="{file}" choices={len(lines)}')
File "H:\Python311\Lib\logging_init
.py", line 1477, in debug
self.log(DEBUG, msg, args, **kwargs)
File "H:\Python311\Lib\logging_init
.py", line 1634, in log
self.handle(record)
File "H:\Python311\Lib\logging_init
.py", line 1644, in handle
self.callHandlers(record)
File "H:\Python311\Lib\logging_init
.py", line 1706, in callHandlers
hdlr.handle(record)
File "H:\Python311\Lib\logging_init
.py", line 978, in handle
self.emit(record)
File "H:\Python311\Lib\site-packages\rich\logging.py", line 172, in emit
self.handleError(record)
Message: 'Wildcards apply: wildcard="Horror\horror-master-list" choice="horror-gross-extra" file="H:\Models\wildcards\Horror\horror-master-list.txt" choices=14'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "H:\Python311\Lib\site-packages\rich\logging.py", line 170, in emit
self.console.print(log_renderable)
File "H:\Python311\Lib\site-packages\rich\console.py", line 1700, in print
extend(render(renderable, render_options))
File "H:\Python311\Lib\site-packages\rich\console.py", line 1332, in render
for render_output in iter_render:
File "H:\Python311\Lib\site-packages\rich\table.py", line 482, in rich_console
widths = self._calculate_column_widths(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\table.py", line 523, in _calculate_column_widths
width_ranges = [
^
File "H:\Python311\Lib\site-packages\rich\table.py", line 524, in
self._measure_column(console, options, column) for column in columns
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\table.py", line 727, in _measure_column
_min, max = get_render_width(console, options, cell.renderable)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\measure.py", line 109, in get
get_console_width(console, options)
File "H:\Python311\Lib\site-packages\rich\padding.py", line 132, in rich_measure
measure_min, measure_max = Measurement.get(console, options, self.renderable)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\measure.py", line 109, in get
get_console_width(console, options)
File "H:\Python311\Lib\site-packages\rich\text.py", line 710, in rich_measure
max_text_width = max(cell_len(line) for line in lines) if lines else 0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\text.py", line 710, in
max_text_width = max(cell_len(line) for line in lines) if lines else 0
^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\cells.py", line 41, in cell_len
return cell_len(text)
^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\cells.py", line 27, in cached_cell_len
total_size = sum(get_size(character) for character in text)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RecursionError: maximum recursion depth exceeded
Call stack:
File "H:\Apps\SDNextCUDA\modules\styles.py", line 75, in apply_file_wildcards
prompt, replaced, not_found = apply_file_wildcards(prompt, replaced, not_found) # recursive until we get early return
File "H:\Apps\SDNextCUDA\modules\styles.py", line 75, in apply_file_wildcards
prompt, replaced, not_found = apply_file_wildcards(prompt, replaced, not_found) # recursive until we get early return
File "H:\Apps\SDNextCUDA\modules\styles.py", line 75, in apply_file_wildcards
prompt, replaced, not_found = apply_file_wildcards(prompt, replaced, not_found) # recursive until we get early return
[Previous line repeated 89 more times]
File "H:\Apps\SDNextCUDA\modules\styles.py", line 70, in apply_file_wildcards
prompt, found = check_files(prompt, m, files)
File "H:\Apps\SDNextCUDA\modules\styles.py", line 56, in check_files
shared.log.debug(f'Wildcards apply: wildcard="{wildcard}" choice="{choice}" file="{file}" choices={len(lines)}')
File "H:\Python311\Lib\logging_init
.py", line 1477, in debug
self.log(DEBUG, msg, args, **kwargs)
File "H:\Python311\Lib\logging_init
.py", line 1634, in log
self.handle(record)
File "H:\Python311\Lib\logging_init
.py", line 1644, in handle
self.callHandlers(record)
File "H:\Python311\Lib\logging_init
.py", line 1706, in callHandlers
hdlr.handle(record)
File "H:\Python311\Lib\logging_init.py", line 978, in handle
self.emit(record)
File "H:\Python311\Lib\site-packages\rich\logging.py", line 172, in emit
self.handleError(record)
Message: 'Wildcards apply: wildcard="Horror\horror-master-list" choice="horror-facial" file="H:\Models\wildcards\Horror\horror-master-list.txt" choices=14'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "H:\Python311\Lib\site-packages\rich\logging.py", line 170, in emit
self.console.print(log_renderable)
File "H:\Python311\Lib\site-packages\rich\console.py", line 1700, in print
extend(render(renderable, render_options))
File "H:\Python311\Lib\site-packages\rich\console.py", line 1332, in render
for render_output in iter_render:
File "H:\Python311\Lib\site-packages\rich\table.py", line 482, in rich_console
widths = self._calculate_column_widths(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\table.py", line 523, in _calculate_column_widths
width_ranges = [
^
File "H:\Python311\Lib\site-packages\rich\table.py", line 524, in
self._measure_column(console, options, column) for column in columns
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\table.py", line 727, in _measure_column
min, max = get_render_width(console, options, cell.renderable)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\measure.py", line 109, in get
get_console_width(console, options)
File "H:\Python311\Lib\site-packages\rich\padding.py", line 132, in rich_measure
measure_min, measure_max = Measurement.get(console, options, self.renderable)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\measure.py", line 109, in get
get_console_width(console, options)
File "H:\Python311\Lib\site-packages\rich\text.py", line 710, in rich_measure
max_text_width = max(cell_len(line) for line in lines) if lines else 0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\text.py", line 710, in
max_text_width = max(cell_len(line) for line in lines) if lines else 0
^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\cells.py", line 41, in cell_len
return cell_len(text)
^^^^^^^^^^^^^^^
RecursionError: maximum recursion depth exceeded
Call stack:
File "H:\Apps\SDNextCUDA\modules\styles.py", line 75, in apply_file_wildcards
prompt, replaced, not_found = apply_file_wildcards(prompt, replaced, not_found) # recursive until we get early return
File "H:\Apps\SDNextCUDA\modules\styles.py", line 75, in apply_file_wildcards
prompt, replaced, not_found = apply_file_wildcards(prompt, replaced, not_found) # recursive until we get early return
File "H:\Apps\SDNextCUDA\modules\styles.py", line 75, in apply_file_wildcards
prompt, replaced, not_found = apply_file_wildcards(prompt, replaced, not_found) # recursive until we get early return
[Previous line repeated 89 more times]
File "H:\Apps\SDNextCUDA\modules\styles.py", line 70, in apply_file_wildcards
prompt, found = check_files(prompt, m, files)
File "H:\Apps\SDNextCUDA\modules\styles.py", line 56, in check_files
shared.log.debug(f'Wildcards apply: wildcard="{wildcard}" choice="{choice}" file="{file}" choices={len(lines)}')
File "H:\Python311\Lib\logging_init
.py", line 1477, in debug
self.log(DEBUG, msg, args, **kwargs)
File "H:\Python311\Lib\logging_init
.py", line 1634, in log
self.handle(record)
File "H:\Python311\Lib\logging_init
.py", line 1644, in handle
self.callHandlers(record)
File "H:\Python311\Lib\logging_init
.py", line 1706, in callHandlers
hdlr.handle(record)
File "H:\Python311\Lib\logging_init
.py", line 978, in handle
self.emit(record)
File "H:\Python311\Lib\site-packages\rich\logging.py", line 172, in emit
self.handleError(record)
Message: 'Wildcards apply: wildcard="Horror\horror-master-list" choice="horror-skin-covering" file="H:\Models\wildcards\Horror\horror-master-list.txt" choices=14'
Arguments: ()
--- Logging error ---
Traceback (most recent call last):
File "H:\Python311\Lib\site-packages\rich\logging.py", line 170, in emit
self.console.print(log_renderable)
File "H:\Python311\Lib\site-packages\rich\console.py", line 1700, in print
extend(render(renderable, render_options))
File "H:\Python311\Lib\site-packages\rich\console.py", line 1332, in render
for render_output in iter_render:
File "H:\Python311\Lib\site-packages\rich\table.py", line 482, in rich_console
widths = self._calculate_column_widths(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\table.py", line 523, in _calculate_column_widths
width_ranges = [
^
File "H:\Python311\Lib\site-packages\rich\table.py", line 524, in
self._measure_column(console, options, column) for column in columns
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\table.py", line 726, in _measure_column
for cell in self._get_cells(console, column._index, column):
File "H:\Python311\Lib\site-packages\rich\table.py", line 682, in _get_cells
_Padding(renderable, get_padding(first, last)),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\padding.py", line 42, in init
self.top, self.right, self.bottom, self.left = self.unpack(pad)
^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\rich\padding.py", line 72, in unpack
top, right, bottom, left = cast(Tuple[int, int, int, int], pad)
~~~~~^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\typing.py", line 376, in inner
return cached(*args, **kwds)
^^^^^^^^^^^^^^^^^^^^^
RecursionError: maximum recursion depth exceeded in comparison

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "H:\Python311\Lib\site-packages\gradio\queueing.py", line 388, in call_prediction
output = await route_utils.call_process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\gradio\route_utils.py", line 219, in call_process_api
output = await app.get_blocks().process_api(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\gradio\blocks.py", line 1437, in process_api
result = await self.call_function(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\gradio\blocks.py", line 1109, in call_function
prediction = await anyio.to_thread.run_sync(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\anyio\to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\anyio_backends_asyncio.py", line 2144, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\anyio_backends_asyncio.py", line 851, in run
result = context.run(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Python311\Lib\site-packages\gradio\utils.py", line 641, in wrapper
response = f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File "H:\Apps\SDNextCUDA\modules\ui_sections.py", line 8, in apply_styles
prompt = shared.prompt_styles.apply_styles_to_prompt(prompt, styles)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Apps\SDNextCUDA\modules\styles.py", line 262, in apply_styles_to_prompt
prompt = apply_wildcards_to_prompt(prompt, [self.find_style(x).wildcards for x in styles])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Apps\SDNextCUDA\modules\styles.py", line 96, in apply_wildcards_to_prompt
prompt, replaced_file, not_found = apply_file_wildcards(prompt, [], [])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Apps\SDNextCUDA\modules\styles.py", line 75, in apply_file_wildcards
prompt, replaced, not_found = apply_file_wildcards(prompt, replaced, not_found) # recursive until we get early return
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Apps\SDNextCUDA\modules\styles.py", line 75, in apply_file_wildcards
prompt, replaced, not_found = apply_file_wildcards(prompt, replaced, not_found) # recursive until we get early return
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "H:\Apps\SDNextCUDA\modules\styles.py", line 75, in apply_file_wildcards
prompt, replaced, not_found = apply_file_wildcards(prompt, replaced, not_found) # recursive until we get early return
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[Previous line repeated 86 more times]
RecursionError: maximum recursion depth exceeded while calling a Python object

from automatic.

Aptronymist avatar Aptronymist commented on September 27, 2024

oh, that list should show as

__horror-arms__
__horror-legs__
__horror-misplaced-parts__
__horror-lower-body__
__horror-tentacles__

from automatic.

vladmandic avatar vladmandic commented on September 27, 2024

I need EXACT prompt and actual wildcard files to try to reproduce.

from automatic.

Aptronymist avatar Aptronymist commented on September 27, 2024

I need EXACT prompt and actual wildcard files to try to reproduce.

Oh, I thought you saw it on discord. It was the presence of the folder name: __Horror/monster-master-list__ that caused the recursion errors, once I removed that it works fine, i.e. __monster-master-list__

from automatic.

vladmandic avatar vladmandic commented on September 27, 2024

is this still a problem?

from automatic.

Aptronymist avatar Aptronymist commented on September 27, 2024

is this still a problem?

Just tested again, the issue is that it recognizes __Horror\monster-master-list__, but the way that I guess autocomplete created it was instead with a /, not \. So if you make it recognize both as an indicator there won't be a problem. No error with \ in console either.

from automatic.

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.