Fooocus mashb1t 1-Up Edition fails to load on fresh install

Author: BlackCypher-1981Created Sep 19, 2026Updated Sep 19, 2026
Labelsbug

Package

Fooocus mashb1t 1-Up Edition

When did the issue occur?

Running the Package

What GPU / hardware type are you using?

NVIDIA 4060 ti with CUDA

What happened?

Bug Description

Fresh installations of Fooocus mashb1t 1-Up Edition crash immediately upon launch with a TypeError: unhashable type: 'dict' in Jinja2 / Starlette. This happens because unpinned upstream dependencies (fastapi, starlette, pydantic, jinja2) install modern versions that are incompatible with the legacy Gradio 3 runtime.

Log Output

ERROR: Exception in ASGI application File ".../modules/ui_gradio_extensions.py", line 61, in template_response res = GradioTemplateResponseOriginal(*args, **kwargs) File ".../jinja2/utils.py", line 515, in getitem rv = self._mapping[key] TypeError: unhashable type: 'dict'

Proposed Fix

Pin the compatible legacy versions in requirements_versions.txt to prevent Python from pulling conflicting modern updates:

fastapi==0.104.1
starlette==0.27.0
pydantic==1.10.19
jinja2==3.1.3

Console output

ERROR: Exception in ASGI application File ".../modules/ui_gradio_extensions.py", line 61, in template_response res = GradioTemplateResponseOriginal(*args, **kwargs) File ".../jinja2/utils.py", line 515, in getitem rv = self._mapping[key] TypeError: unhashable type: 'dict'

Version

v2.16.4 Stable

What Operating System are you using?

Windows