question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CSV import error: File is not a database

See original GitHub issue

I have a sample CSV file:

name, points
Gryffindor, 100
Hufflepuff, 90
Ravenclaw, 95
Slytherin, 80

When I try to import the file I receive the error “File is not a database”. I’ve tried with and without headers. Quotes and no quotes.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
lana-kcommented, May 17, 2021

@ulve thanks for letting me know about the issue with Safari. It is related to regular expressions in the code. I created the dedicated bug for that. It will be fixed in the next release of sqliteviz, which is coming soon.

0reactions
ulvecommented, May 17, 2021

Great! That seems to be the problem. I was running Firefox (and also tried edge) on windows 10. Just tried it on my mac and it works works in Firefox, safari just spins on loading (invalid regular expression: invalid group specifier name). Works in Firefox on my Linux machine as well. CR/ CRLF seems to work fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

6 Common CSV Import Errors and How to Fix Them - Flatfile
One of the most common CSV import errors is that the file is simply too large. That can be caused by too many...
Read more >
Error importing .csv file - Microsoft Community Hub
I am trying to import a .csv file to access that is ~800 MB and I am getting an error stating the following:...
Read more >
Dealing with the common problems with CSV files - CSV Loader
An overview of the most common issues that arise during the opening and import of data from CSV files, along with some advice...
Read more >
MySql Workbench csv data import error - DBA Stack Exchange
Can't analyze file. Please, try to change encoding type. If that doesn't help, maybe the file is not: csv, or the file is...
Read more >
MySQL problem on importing CSV file - doesnt show errors ...
Your CSV file inner data structure does not match importing specification. Table structure which you want to use as destination (11 columns):
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found