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
500 error caused by faceting if a column called n
exists
#1228
Comments
It looks to me like something is causing the faceting query here to return a string when it was expected to return a number: Lines 153 to 170 in 3296301
I can't think of any way that a |
... unless your data had a column called |
n
exists
Demo: https://latest.datasette.io/fixtures/facetable - which now has a column called |
Exactly, that's highly likely even though I can't double check from this computer just now. Thanks! |
I recently discovered
datasette
thanks to your great talk at FOSDEM and would like to use it for some projects. However, when trying to use it on databases created from some csv ot tsv files, I am sometimes getting this issue when going to http://127.0.0.1:8001/databasetest/databasetest and I don't exactly understand what it refers to.So far, I couldn't find anything relevant when reviewing the raw text files that could explain this issue, nor could I find something obvious between the files that generate this issue and those that don't. Does the error ring a bell and, if so, could you please point me to the right direction?
Note that there is no error if I go to http://127.0.0.1:8001/databasetest and then click on
Run SQL
.The text was updated successfully, but these errors were encountered: