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

Invalid column type Null at index: 5, name: handle_id #148

Closed
jrollinson opened this issue Aug 2, 2023 · 1 comment · Fixed by #149
Closed

Invalid column type Null at index: 5, name: handle_id #148

jrollinson opened this issue Aug 2, 2023 · 1 comment · Fixed by #149
Assignees
Labels
bug Something isn't working crate: database Related to the database crate table Related to table data

Comments

@jrollinson
Copy link

Hello,

When exporting from two separate iOS backups of different phones (but with some shared history), I receive the following error:

Unable to start: Failed to parse row: Invalid column type Null at index: 5, name: handle_id

This causes the job to die.

@ReagentX ReagentX self-assigned this Aug 3, 2023
@ReagentX ReagentX added bug Something isn't working crate: database Related to the database crate labels Aug 3, 2023
@ReagentX ReagentX moved this to Todo in 1.6: Checker Mallow Aug 3, 2023
@ReagentX ReagentX added the table Related to table data label Aug 3, 2023
@ReagentX
Copy link
Owner

ReagentX commented Aug 3, 2023

Right now that column is not considered optional, hence the crash:

The column is INTEGER | DEFAULT 0 so I am surprised it can be NULL. The fix is to give this a default:

handle_id: row.get("handle_id")?,

ReagentX added a commit that referenced this issue Aug 4, 2023
@ReagentX ReagentX moved this from Todo to In Progress in 1.6: Checker Mallow Aug 4, 2023
@github-project-automation github-project-automation bot moved this from In Progress to Done in 1.6: Checker Mallow Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working crate: database Related to the database crate table Related to table data
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants