Giter VIP home page Giter VIP logo

Comments (5)

wvanbergen avatar wvanbergen commented on August 20, 2024

This probably is hard to debug without the line in the log file causing this. Are you able to pinpoint the line in your log files that triggers this exception?

Moreover, I see that you are using Ruby 1.9. Can you test the same file under Ruby 1.8, and see if the same exception occurs?

from request-log-analyzer.

 avatar commented on August 20, 2024

I am currently testing it with 1.8 and will let you know how it goes, although I'm pretty certain it's a 1.9 bug. It's going to take a day to run.

I don't know what line caused this error. I will try to find it and if I do I'll put it in the comments.

from request-log-analyzer.

 avatar commented on August 20, 2024

Works fine with 1.8. This is a confirmed 1.9 bug.

from request-log-analyzer.

wvanbergen avatar wvanbergen commented on August 20, 2024

Are you by any chance writing binary data to your log? This may cause the troubles you are experiencing.

Anyway, I think I may be able to solve this issue by always reading files with a forced binary/ascii encoding. Let me see if a can cook up a quick fix.

from request-log-analyzer.

wvanbergen avatar wvanbergen commented on August 20, 2024

I have released 1.6.2 with a patch that (hopefully) fixes this issue by reading files as binary data streams, and rescuing the exception you are experiencing.

Note that r-l-a runs faster on Ruby 1.8 than on 1.9, because of this string encoding / transcoding performance hit.

from request-log-analyzer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.