Skip to content

fix various bugs and robustness issues across core modules#17370

Open
Mana20211 wants to merge 1 commit intoAUTOMATIC1111:masterfrom
Mana20211:claude/peaceful-mahavira
Open

fix various bugs and robustness issues across core modules#17370
Mana20211 wants to merge 1 commit intoAUTOMATIC1111:masterfrom
Mana20211:claude/peaceful-mahavira

Conversation

@Mana20211
Copy link
Copy Markdown

@Mana20211 Mana20211 commented Apr 13, 2026

  • errors.py: fix inverted args in errors.run() (display(task,e) -> display(e,task))
  • initialize_util.py: guard re.search() result before .group(0) to prevent startup crash
  • initialize.py: fix duplicate startup_timer label for pytorch_lightning import
  • launch_utils.py: add f-prefix to error string in git_clone so {name}/{commithash} interpolate
  • launch_utils.py: add Python 3.11/3.12 to supported versions on all platforms
  • launch_utils.py: update stale Python 3.10.6 download URL to 3.10.16
  • launch_utils.py: add timeout=10 to version_check requests.get call
  • launch_utils.py: fix requirements regex to allow inline comments
  • launch_utils.py: ensure tmp/ dir exists before os.replace() on corrupted config
  • launch_utils.py: fix git_pull_recursive to use encoding param, avoiding UnicodeDecodeError
  • launch_utils.py: fix typo "clone repositores" -> "clone repositories"
  • modelloader.py: replace bare except:pass with errors.report() so scan failures are visible
  • options.py: ensure tmp/ dir exists before os.replace() on corrupted config
  • sd_models.py: fix unclosed file handle when loading safetensors with disable_mmap
  • sd_models.py: fix unclosed parenthesis in --ckpt not found error message
  • config_states.py: fix missing space + add exc_info=True on restore failure
  • hypernetworks/hypernetwork.py: replace bare except: with except Exception: in rollback
  • textual_inversion/textual_inversion.py: replace bare except: with except Exception: in rollback

Description

  • a simple description of what you're trying to accomplish
  • a summary of changes in code
  • which issues it fixes, if any

Screenshots/videos:

Checklist:

- errors.py: fix inverted args in errors.run() (display(task,e) -> display(e,task))
- initialize_util.py: guard re.search() result before .group(0) to prevent startup crash
- initialize.py: fix duplicate startup_timer label for pytorch_lightning import
- launch_utils.py: add f-prefix to error string in git_clone so {name}/{commithash} interpolate
- launch_utils.py: add Python 3.11/3.12 to supported versions on all platforms
- launch_utils.py: update stale Python 3.10.6 download URL to 3.10.16
- launch_utils.py: add timeout=10 to version_check requests.get call
- launch_utils.py: fix requirements regex to allow inline comments
- launch_utils.py: ensure tmp/ dir exists before os.replace() on corrupted config
- launch_utils.py: fix git_pull_recursive to use encoding param, avoiding UnicodeDecodeError
- launch_utils.py: fix typo "clone repositores" -> "clone repositories"
- modelloader.py: replace bare except:pass with errors.report() so scan failures are visible
- options.py: ensure tmp/ dir exists before os.replace() on corrupted config
- sd_models.py: fix unclosed file handle when loading safetensors with disable_mmap
- sd_models.py: fix unclosed parenthesis in --ckpt not found error message
- config_states.py: fix missing space + add exc_info=True on restore failure
- hypernetworks/hypernetwork.py: replace bare except: with except Exception: in rollback
- textual_inversion/textual_inversion.py: replace bare except: with except Exception: in rollback

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant