-
Hi all - I think i have a an environment issue but I was able to find much on the error. When i run my tasks (through CLI or the UI) they seem to complete successfully but they never report a success because it is throwing this exception when trying to write to the db. I just have a vanilla installation and a simple DAG to run (prints out the date). Any help would be appreciated. Thanks! CLI
Packages
DAG
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I think it might be due to some old sqlite3 version you have installed. Can you please upgrade it to the latest and see if it continue to happen ? |
Beta Was this translation helpful? Give feedback.
-
This is the version:
I tried to manually run the query in my sqlite and I did not get syntax error, so i think it is indeed the version problem. you can try it yourself:
Above should drop you to the interactive sqlite3 connected to your database. Then copy&paste this query:
In my case it just run (not deleting anything but there was no syntax error). I guess you will get syntax error when you try it yourself. Your version is REALLY OLD (7 years). : https://sqlite.org/changes.html
So I am pretty sure that's the problem. |
Beta Was this translation helpful? Give feedback.
-
Yup you were right. I was able to get an upgrade to RHEL8 with sqlite 3.26.0 (welcome to 2018 me!) and it works perfectly fine now! Thanks again. |
Beta Was this translation helpful? Give feedback.
This is the version:
I tried to manually run the query in my sqlite and I did not get syntax error, so i think it is indeed the version problem. you can try it yourself:
Above should drop you to the interactive sqlite3 connected to your database.
Then copy&paste this query: