Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
neuschaefer opened this issue Nov 7, 2015 · 0 comments · May be fixed by #1617
Open

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

neuschaefer opened this issue Nov 7, 2015 · 0 comments · May be fixed by #1617

Comments

@neuschaefer
Copy link

$ 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").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants