-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Bad rows, regex fails to parse user-agent. #576
Comments
Super-weird, scheduling... @yalisassoon have you ever seen this before? |
Two things I can think:
|
I can't ever remember seeing that error... On Thu, Mar 20, 2014 at 9:17 AM, Alexander Dean notifications@github.comwrote:
Co-founder |
Agree |
OK so it turns out this was browser useragent utils failing to recognize IE 11's useragent. I first took a stab at #62 but the deltas between ua_parser and the existing library are pretty significant. ua_parser doesn't report as many fields so the clientattributes would have to be paired down to case class ClientAttributes(
// Browser
- browserName: String,
browserFamily: String,
- browserVersion: Option[String],
- browserType: String,
- browserRenderEngine: String,
+ browserVersion: String,
// OS the browser is running on
- osName: String,
osFamily: String,
- osManufacturer: String,
// Hardware the OS is running on
deviceType: String,
deviceIsMobile: Boolean) not sure if worth doing but in my case losing the convenience of Will open a PR that addresses this ticket. |
Thanks Phil - we expected there would be a mismatch between the two UA parsers - bit of a shame though that ua-parser loses the convenient browserType field. Will add a comment to #62 |
Cleared milestone too |
I am seeing about 5% of my records marked as bad because the user agent parsing fails. Example:
The text was updated successfully, but these errors were encountered: