Skip to content
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

arbtt-stats gives invalid Unicode error #159

Open
phma opened this issue Jul 29, 2022 · 1 comment
Open

arbtt-stats gives invalid Unicode error #159

phma opened this issue Jul 29, 2022 · 1 comment

Comments

@phma
Copy link

phma commented Jul 29, 2022

I run arbtt-stats on my laptop, which has been sitting idle for weeks, and get this:

arbtt-stats: Data.Binary.Get.runGetState at position 4321: Not a valid Unicode code point!
CallStack (from HasCallStack):
  error, called at libraries/binary/src/Data/Binary/Get.hs:312:5 in binary-0.8.6.0:Data.Binary.Get
arbtt-stats: Data.Binary.Get.runGetState at position 4321: Not a valid Unicode code point!
CallStack (from HasCallStack):
  error, called at libraries/binary/src/Data/Binary/Get.hs:312:5 in binary-0.8.6.0:Data.Binary.Get

If I run arbtt-dump, I get the same error, but it dumps records until it hits the error, so I can see the date of the record with the error, which is last month. Is there a way I can find the record, so that 1) I can post just the bad record here, without 760 MB of irrelevant data, and 2) I can fix the file so that I can get my stats again?

Arbtt version is 0.10.2, installed from the Ubuntu repo.

@nomeata
Copy link
Owner

nomeata commented Jul 29, 2022

For 2), try arbtt-recover. I expect optimistically that it will recover from this problem as well. The question will be whether it’s just a few samples that are affected, or if big parts of the file are affected, and why.

For 1), it says “at position 4321”, so maybe something like dd can be used to extract a portion of the file from that point on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants