Skip to content

progress_bar/status NameError in error path of _run_analysis #8

Description

@AshayK003

Problem

In main.py:330-331, the except block calls progress_bar.empty() and status.update(...). If the exception occurs before these are created, this causes a NameError.

Solution

Initialize progress_bar = None and status = None before the try block, and guard the except cleanup.

Acceptance Criteria

  • Error messages are always visible to the user, even for early failures

Difficulty: Easy

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingerror-handlingError handling

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions