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

Syntax Error #10

Closed
eliransapir opened this issue Aug 16, 2021 · 3 comments
Closed

Syntax Error #10

eliransapir opened this issue Aug 16, 2021 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@eliransapir
Copy link

I'm getting this error:

sql: Scan error on column index 0, name "ZDATE": converting driver.Value type time.Time ("1990-07-23 01:31:02 +0000 UTC") to a float64: invalid syntax

The script runs and exports until it hits this row and then terminates without skipping or continuing.

@rusq
Copy link
Owner

rusq commented Sep 1, 2021

@eliransapir it looks like the date in your database in some funky format, I'm unable to reproduce with my history. Do you mind sharing the file CallHistory.storedata with me?

Drop it over here if so: https://www.dropbox.com/request/02OI8zhYOoUOlyerDlek

@rusq rusq self-assigned this Sep 1, 2021
@rusq rusq added the bug Something isn't working label Sep 1, 2021
@eliransapir
Copy link
Author

my brother was able to fix his fix is available here: https://github.com/hensapir/osx-callhistory-decryptor

@rusq
Copy link
Owner

rusq commented Sep 2, 2021

@eliransapir that's great! Would he mind submitting a PR for the change to be merged?

rusq added a commit that referenced this issue Sep 20, 2021
Fix for #10: syntax error while parsing formatted dates from source.
@rusq rusq closed this as completed Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants