Open pulimento opened 9 years ago
I don't see the problematic line in the log you included. However, a bug was fixed with the kwl line parsing. Please update/download by running "go get -u -d github.com/google/battery-historian/..." and try again.
Same issue here:
Example data:
9,0,l,kwl,smdcntl4 ,0,0
9,0,l,kwl,ipc00000129_sensors.qcom,0,0
9,0,l,kwl,ipc0000012f_sensors.qcom,0,0
9,0,l,kwl,ipc00000092_sensors.qcom,0,0
9,0,l,kwl,fd440000.qcom,qcrypto1,0,0
Looks like parseLine() from checkinparse/checkin_parse.go can't handle the different number of fields. I'm using full disk encryption on my phone. (Fairphone 2)
The work-around is to to remove the extra fiels with sed/vi: s/,qcrypto1,/,/g
and s/,qcrypto,/,/g
The line is misformatted. Some Android devices aren't printing out the lines correctly. In this case, fd440000.qcom,qcrypto1 should be surrounded by quotes. For example:
9,0,l,kwl,"fd440000.qcom,qcrypto1",0,0
Hey,
At a quick look, seems that Battery Historian didn't like my bugreport. I've deployed the app correctly, take the bugreport with adb bugreport > output.txt, and the error I'm showing is the following:
My computer is a Mac Mini with Yosemite, and Go freshly installed, with path variables correctly setted. My Android device is LG G2 (D802) with Lollipop 5.0 stock and rooted.
Here are few lines of my bugreport, think that error comes for the kwl lines.
FYI, I have a warning installing the battery historian project. As I have no Go background, I have no idea at all. Seems that it isn't compiling, I've tried twice with no luck.
Thanks in advance