#๐ a small path error
22 messages ยท Page 1 of 1 (latest)
@ornate cobalt
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
your file simply does not contain that table
what does the error have to do with the string you're using to name the db file?
I think you're confusing "sqlite cannot find the database" with "sqlite cannot find the table within the database"
perhaps you have two different databases, with very similar names, and one has the table and the other doesn't.
Use a SQLite executable
your python code uses a relative path, which is always confusing
dunno what "on the repo" means here
change your python code to use an absolute path, then let's see where we are
can you check if your database contains the table
I have no idea what github has to do with your problem
that's a different table
there's no table named v1_tokens in your database
change the name then
now what
does the code run?
before moving forward, I want to ask if this is your code and if you know what you are trying to do
Your question doesn't make sense. The error isn't on opening the database, so your path is right - it's on trying to access a table in the database.
If it works locally, perhaps you didn't push the latest version of your database to github, and so the table isn't there?
!close
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.