#5111 (docs/dev/polls/index.rst fails with " No such file or directory: '.../migrations')
by Luc Saffre · in Developers · assigned to Sharif Mehedi
Kokkuvõte
Children
Kommentaarid
- 3 aastat, 1 kuu ago by Luc Saffre about #5111 (docs/dev/polls/index.rst fails with " No such file or directory: '.../migrations') : Now I think I got it done. But still fiddling with getting the doctests pass.
- 3 aastat, 1 kuu ago by Luc Saffre about #5111 (docs/dev/polls/index.rst fails with " No such file or directory: '.../migrations') : Test results showed that it's not trivial. Giving up for today.
- 3 aastat, 1 kuu ago by Luc Saffre about #5111 (docs/dev/polls/index.rst fails with " No such file or directory: '.../migrations') : As a temporary workaround I plan to change initdb so that it does the additional makemigrations() and removemigrations() only for postgresql, as it was in January. Waiting for test results before committing this.
- 3 aastat, 1 kuu ago by Luc Saffre about #5111 (docs/dev/polls/index.rst fails with " No such file or directory: '.../migrations') : I think that #5109 has the same reason as #5111 and that we should dive into why postgresql requires us to migrate before creating the tables. I saw [url gitlab.com/lino-framework/lino/-/commit/c322f3578aa834753afce63bf1e080d69a15b1e4#cba2f827e8c9cfa7fc4870714b6cf764546bea10_279_236 here this commen...
- 3 aastat, 1 kuu ago by Luc Saffre about #5111 (docs/dev/polls/index.rst fails with " No such file or directory: '.../migrations') : How could we test this in an automatic test case?
- 3 aastat, 1 kuu ago by Luc Saffre about #5111 (docs/dev/polls/index.rst fails with " No such file or directory: '.../migrations') : I found the commit when Sharif added it [url gitlab.com/lino-framework/lino/-/commit/3055f1c07f2bf626bb2fb12d25b5e3f525855dd6 in January 2023].
- 3 aastat, 1 kuu ago by Luc Saffre about #5111 (docs/dev/polls/index.rst fails with " No such file or directory: '.../migrations') : Why is this method necessary for postgresql?
- 3 aastat, 1 kuu ago by Luc Saffre about #5111 (docs/dev/polls/index.rst fails with " No such file or directory: '.../migrations') : doctest docs/dev/polls/index.rst is failing with "FileNotFoundError: [Errno 2] No such file or directory: '/home/luc/work/book/lino_book/projects/polls/polls/migrations', and I don't understand why the Command.makemigrations() method exists.
- 3 aastat, 1 kuu ago by Luc Saffre about #5111 (docs/dev/polls/index.rst fails with " No such file or directory: '.../migrations') : Created new Ticket #5111 (docs/dev/polls/index.rst fails with " No such file or directory: '.../migrations').