Skip to content

rr ps prints misleading error message when ~/.rr doesn't exist #1583

Open
@neuschaefer

Description

@neuschaefer
$ rr ps

rr: error: Version file for recorded trace `/home/user/.rr/latest-trace/version' not found.  Did you record
           `/home/user/.rr/latest-trace/version' with an older version of rr?  If so, you'll need to replay
           `/home/user/.rr/latest-trace/version' with that older version.  Otherwise, your trace is
           likely corrupted.

To avoid confused first-time users, it should probably detect this case and print a more useful error message (something along the lines of "No traces have been recorded yet").

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions