Skip to content

Tachyon does not handle non-existent file/module #142591

@savannahostrowski

Description

@savannahostrowski

Bug report

Screen.Recording.2025-12-11.at.10.10.25.AM.mov

When running the profiler with a non-existent script or module, it silently launches the TUI with empty output instead of erroring early. To reproduce

./python.exe -m profiling.sampling run --live nonexistent_script.py
./python.exe -m profiling.sampling run --live -m nonexistent_module

Linked PRs

Metadata

Metadata

Labels

3.15new features, bugs and security fixesstdlibStandard Library Python modules in the Lib/ directorytopic-profilingtype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions