Skip to content

[BUG] CSV import errors are confusing #834

@drzraf

Description

@drzraf

Describe the bug
I experience an import error:

RangeError (length): Invalid value: Not in inclusive range 0..16:-1

but it's without knowing the row and columns, it's near to impossible to identify what's wrong.
(Iterating to fixing the input file format may take way longer than necessary)

To Reproduce
Try to import the below CSV format using OpenReads CSV format.

title,subtitle,author,description,status,favourite,deleted,rating,pages,publication_year,isbn,olid,tags,my_review,notes,book_format,readings
"El mundo emocional del niño: Comprender su lenguaje, sus risas y sus penas",,"FILLIOZAT, ISABELLE",,planned,false,false,0.0,224,,9788497545532,,Autres|1. Mes livres,,,paperback,

Expected behavior
A clear error message showing the column in error and the row affected.

Screenshots

Image

Additional info:

  • App version: 2.11.0
  • App source F-Droid
  • Device manufacturer and model:
  • Device OS and version:

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions