You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"reflex db init" without the db extra dumps a raw click traceback instead of the guided "pip install reflex[db]" message #7259
#7083 added the guided ImportError ("pip install reflex[db]") when rx.Model is subclassed without the db extra, but the CLI path did not get it: on a bare reflex install, reflex db init exits 1 with a 35-line raw click traceback ending in the underlying ModuleNotFoundError.
To Reproduce
uv venv && uv pip install reflex # no [db] extra
reflex init --template blank
reflex db init
Observed behavior
Raw traceback, exit code 1.
Expected behavior
The same guided message the model path prints, exit code 1.
Specifics
Reflex 0.9.12a1; pre-existing, identical on 0.9.11.post1
Python 3.11.15, Linux
Additional context
0.9.12a1 pre-release QA, db_optional_imports cluster, anomaly A2, confirmed by an adversarial verifier (LOW). Evidence: db_optional_imports/ (bareapp/, NOTES.md).
Activity
linear-code commentedon Sep 22, 2026
ENG-12653
Add news fragment for reflex-dev#7259
Point reflex db commands at the db extra instead of dumping a traceba…
fix: show the db extra hint for reflex db commands (#7322)