Android-Usagestats-XML-Protobuf icon indicating copy to clipboard operation
Android-Usagestats-XML-Protobuf copied to clipboard

google/protobuf/descriptor.proto error invalid epoch times

Open codeghost1931 opened this issue 4 years ago • 1 comments

Evening! I'm running into an issue that appears to be related to an issue that was raised for the related ALEAPP scripts in December at https://github.com/abrignoni/ALEAPP/issues/79. Original error was:

"TypeError: Conflict register for file "google/protobuf/descriptor.proto": google.protobuf.FieldDescriptorProto.Type is already defined in file "descriptor.proto". Please fix the conflict by adding package name on the proto file, or use different name for the duplication."

I changed the import line and dependencies per @ydkhatri here https://github.com/abrignoni/ALEAPP/issues/79#issuecomment-742898904.

This allowed the script to run successfully and it generated the expected db and html report. However, the lasttime column doesn't appear to have valid epoch times. It has values like:

519836 39647333 39645751 403957 487890 39635693 29797582 29801116 29795577 29797236 29802283 29802282 31690 26069 27655 29795571 29795904 26260

I'm on Windows 10 using Python 3.9.1.

Any ideas? Thanks so much!

codeghost1931 avatar Jan 16 '21 22:01 codeghost1931

Evening! I'm running into an issue that appears to be related to an issue that was raised for the related ALEAPP scripts in December at abrignoni/ALEAPP#79. Original error was:

"TypeError: Conflict register for file "google/protobuf/descriptor.proto": google.protobuf.FieldDescriptorProto.Type is already defined in file "descriptor.proto". Please fix the conflict by adding package name on the proto file, or use different name for the duplication."

I changed the import line and dependencies per @ydkhatri here abrignoni/ALEAPP#79 (comment).

This allowed the script to run successfully and it generated the expected db and html report. However, the lasttime column doesn't appear to have valid epoch times. It has values like:

519836 39647333 39645751 403957 487890 39635693 29797582 29801116 29795577 29797236 29802283 29802282 31690 26069 27655 29795571 29795904 26260

I'm on Windows 10 using Python 3.9.1.

Any ideas? Thanks so much!

FWIW - I just ran the script in Ubuntu 20.04.1 with Python 3.8.5 and got the same results in the lasttime column.

codeghost1931 avatar Jan 17 '21 00:01 codeghost1931