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

vrpipe assumes any file with binary data in it is gzip compressed #22

Open
jrandall opened this issue Aug 7, 2015 · 0 comments
Open

Comments

@jrandall
Copy link

jrandall commented Aug 7, 2015

we had an issue wherein our logs contained some null characters. vrpipe-submissions refused to display them (after 59 retries) because it apparently thinks that anything that file -bi says is 'application/octet-stream' is in fact a gzip compressed file. These logs are not gzip compressed, so that didn't work, and we got an error that looks like some kind of filesystem error.

See:

if ($magic eq 'application/octet-stream' || $path =~ /\.gz$/) {

FWIW, that should be changed to: 'application/x-gzip' and all should be fine.

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

No branches or pull requests

1 participant