failed to wait for sqlite3 dump command: exit status 1 #1098
-
Hi, I have been following the instructions (README.md), and I have got as far as the models being created. However, when I run
I receive the following error:
I have created a Okay, so tables_schema.sql has nothing to do with the issue. I have checked the sqlite3_main_test.go the following: dumpCmd := exec.Command("sqlite3", "-cmd", ".dump", s.dbName) I have tested on the command line (use Windows): sqlite3 -cmd .dump ./db/data.db and it works just fine? I am new to Go and sqlboiler. Any help appreciated :-) Further update: I moved the database to the root of my app and things progressed further. Now I have the following similar issue:
Again, tried the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The auto-generated tests have been a little bit neglected for a while now. It is a bit difficult to generate given how varied the database structures could be and right now. We may consider removing it altogether in the near future. I am not quite sure what is causing your specific issue, but I am hesitant to debug this myself. While not a solution, perhaps you can just generate your models with the |
Beta Was this translation helpful? Give feedback.
The auto-generated tests have been a little bit neglected for a while now. It is a bit difficult to generate given how varied the database structures could be and right now. We may consider removing it altogether in the near future.
I am not quite sure what is causing your specific issue, but I am hesitant to debug this myself.
While not a solution, perhaps you can just generate your models with the
--no-tests
flag, and generally test the rest of your code that the models are working as expected.