OpenPecha / prodigy-tools

Tools for OpenPecha's use of Prodigy
MIT License
0 stars 1 forks source link

annotations cannot be saved red box #3

Closed eroux closed 1 year ago

eroux commented 1 year ago

This appears after some annotations:

redbox

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

ta4tsering commented 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 Screenshot 2023-01-16 at 4 39 06 PM

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.

eroux commented 1 year ago

thanks, that's good progress!

That's a bit strange... I wonder where Prodigy created the sqlite file...

ta4tsering commented 1 year ago

I will do more search or investigations, it should be somewhere on the server I think.

eroux commented 1 year ago

it seems that this is fixed, closing