Closed eroux closed 1 year ago
so earlier there wasn't sqlite3 installed, so I installed it using sudo apt-get install sqlite3
and now when I restarted the server and checked the log using journalctl
it shows that sqlite is initialized as below
Jan 16 10:34:59 ip-172-31-85-61 prodigy_img[428895]: 10:34:59: DB: Initializing database SQLite
Jan 16 10:34:59 ip-172-31-85-61 prodigy_img[428895]: 10:34:59: DB: Connecting to database SQLite
Jan 16 10:34:59 ip-172-31-85-61 prodigy_img[428895]: 10:34:59: DB: Creating dataset '2023-01-16_10-34-59'
Jan 16 10:34:59 ip-172-31-85-61 prodigy_img[428895]: {'created': datetime.datetime(2022, 12, 23, 9, 5, 26)}
and I tried to annotated two pages and then clicked on the save button, it is saved as in the below image
but when I went to check inside the /usr/local/prodigy
on the server for the bdrc_crop_images.sqlite
as the path given in the configuration json file, the bdrc_crop_images.sqlite
is not found there.
thanks, that's good progress!
That's a bit strange... I wonder where Prodigy created the sqlite file...
I will do more search or investigations, it should be somewhere on the server I think.
it seems that this is fixed, closing
This appears after some annotations:
also
/usr/local/prodigy/
does not contain the sqlite database that is configured in https://github.com/OpenPecha/prodigy-tools/blob/8b881f0f8d6c51352eece0af7687b8066df0e90f/configuration/bdrc_crop_images.json#L13 , perhaps these two are related