Skip to content

Streamlit not working correctly after completion of init phase #23

@sramazzina

Description

@sramazzina

I carefully followed the instructions specified in README.md, but at the end of the uv run task init command I got an error that prevented streamlit to start properly

2025-03-21 10:36:10.385 Uncaught app execution
Traceback (most recent call last):
File "/home/sramazzina/Development/other/adventure-works/.venv/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 121, in exec_func_with_error_handling
result = func()
^^^^^^
File "/home/sramazzina/Development/other/adventure-works/.venv/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 591, in code_to_exec
exec(code, module.dict)
File "/home/sramazzina/Development/other/adventure-works/streamlit/dashboard.py", line 87, in
get_latest_metadata(f"{dar_path}/_bridge__as_of")
File "/home/sramazzina/Development/other/adventure-works/streamlit/dashboard.py", line 18, in get_latest_metadata
raise FileNotFoundError(f"No JSON metadata files found in {metadata_dir}")
FileNotFoundError: No JSON metadata files found in ./lakehouse/dar/_bridge__as_of/metadata

and the browser showed what in the image below instead of the dashboard

Image

Thanks for you kind support in solving the problem and having your interesting example working

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions