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

Panic when given a log file with a single line #174

Open
AndydeCleyre opened this issue Oct 21, 2024 · 1 comment
Open

Panic when given a log file with a single line #174

AndydeCleyre opened this issue Oct 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@AndydeCleyre
Copy link

$ tspin --version
tspin 4.0.0
$ uname
Linux
$ printf '%s\n' 'one line' >test.log
$ tspin test.log  # return code: 101
The application panicked (crashed).
Message:  Could not receive EOF signal from oneshot channel: RecvError(())
Location: /home/andy/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tailspin-4.0.0/src/main.rs:54

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
$ <test.log tspin
one line
$ printf '%s\n' 'two lines' >>test.log
$ tspin test.log
one line
two lines
@bensadeh
Copy link
Owner

bensadeh commented Nov 3, 2024

Thanks for reporting, as well as clear instruction on how to reproduce.

@bensadeh bensadeh added the bug Something isn't working label Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants