stanislavvv / fb2_srv_pg

fb2 opds server/postgres
The Unlicense
0 stars 0 forks source link

Error update base #1

Closed PalachMB closed 1 year ago

PalachMB commented 1 year ago

Error with add archive list fb2-166043-168102.zip.list (flibusta)

palachmb@library:~/server/fb2_srv_pg$ ./datachew.py new_lists ... 2023-10-27 22:24:50,746 -- data/fb2-166043-168102.zip/168101.fb2
2023-10-27 22:24:50,837 -- data/fb2-166043-168102.zip/168102.fb2
2023-10-27 22:24:51,044 -- [2] data/fb2-168103-172702.zip 2023-10-27 22:24:51,044 -- [end]

palachmb@library:~/server/fb2_srv_pg$ ./datachew.py fillonly 2023-10-27 22:26:38,141 -- connected to db 2023-10-27 22:26:38,142 -- genres data loaded to vars 2023-10-27 22:26:38,142 -- creating tables... 2023-10-27 22:26:38,148 -- [0] data/fb2-166043-168102.zip.list 2023-10-27 22:26:38,162 -- 660 2023-10-27 22:26:38,165 -- unknown genre 'comp_soft' replaced to 'other' for fb2-166043-168102.zip/166145.fb2 2023-10-27 22:26:38,176 -- unknown genre 'comp_soft' replaced to 'other' for fb2-166043-168102.zip/166496.fb2 2023-10-27 22:26:38,180 -- unknown genre 'comp_soft' replaced to 'other' for fb2-166043-168102.zip/166625.fb2 2023-10-27 22:26:38,235 -- 1408 2023-10-27 22:26:38,242 -- unknown genre 'comp_soft' replaced to 'other' for fb2-166043-168102.zip/167052.fb2 2023-10-27 22:26:38,247 -- unknown genre 'comp_soft' replaced to 'other' for fb2-166043-168102.zip/167222.fb2 2023-10-27 22:26:38,247 -- unknown genre 'comp_soft' replaced to 'other' for fb2-166043-168102.zip/167223.fb2 2023-10-27 22:26:38,253 -- unknown genre 'comp_soft' replaced to 'other' for fb2-166043-168102.zip/167430.fb2 2023-10-27 22:26:38,261 -- unknown genre 'comp_soft' replaced to 'other' for fb2-166043-168102.zip/167498.fb2 2023-10-27 22:26:38,814 -- ОШИБКА: повторяющееся значение ключа нарушает ограничение уникальности "books_authors_author_id_book_id_key" DETAIL: Ключ "(author_id, book_id)=(e58333fa1a1f076b2d13348f190c02b3, 5373d72423fdc8f42a23e8ddfa9a40ed)" уже существует.

stanislavvv commented 1 year ago

git pull and try with actual version — i'm forgot to push into github, work in private repo

PalachMB commented 1 year ago

Yeah, it work!

stanislavvv commented 1 year ago

Ok, close