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

Improve error report when opening weird files #265

Open
squalou opened this issue May 7, 2024 · 0 comments
Open

Improve error report when opening weird files #265

squalou opened this issue May 7, 2024 · 0 comments

Comments

@squalou
Copy link

squalou commented May 7, 2024

Hi,

first thank you a lot for this tool, I've bee using it with a fairly big file without issue.

The other day I had to open a file that was badly encoded, easy to fix provided the error is displayed.

As of today, TAD doesn't say anything when it happens.

Error is hidden in console, here's what it looks like :

  errno: -1,
  code: 'DUCKDB_NODEJS_ERROR',
  errorType: 'Invalid Input'
} Error: Invalid Input Error: Error in file "/home/xxxx/123456.csv" at line 0: Invalid unicode (byte sequence mismatch) detected in CSV file. Parser options:
  file=/home/xxxx/123456.csv
  

Clearly the file is at fault and I would never ask for a support for it,
all I would like is an error popup in such situations, that would be a great improvement.

Thx again !

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

1 participant