Comments (5)
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.
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.
Works fine with 1.8. This is a confirmed 1.9 bug.
from request-log-analyzer.
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.
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)
- Suggestions for Rails 4 logging improvement?
- "Argument list too long" for too many log files HOT 4
- undefined method `to_d' HOT 10
- sample output wiki page is empty HOT 2
- Don't use eval to convert dictionary values
- unable to parse oink files HOT 1
- SyntaxError isn't caught when parsing parameter hashes (via eval) HOT 1
- Exception on ActionDispatch::Http::UploadedFile log? HOT 3
- Breaks when used with dragonfly HOT 2
- Dealing with timezones? HOT 7
- Teaser check failed HOT 2
- Aggregate the same controller#action with different content types
- Changing mail sender HOT 2
- Add AWS Cloudfront Support HOT 1
- Regexp doesn't work HOT 1
- Table columns for line numbers in the source table are defaulting to limit: 4 instead of limit: 8
- request_log_analyzer/controller.rb:277:in `handle_progress': undefined method `set' for nil:NilClass (NoMethodError)
- wiki/In-depth-analysis is outdated HOT 1
- change column width HOT 1
- Remove `bin/console` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from request-log-analyzer.