DHARPA-Project / lumy

Modular research platform for digital humanities.
0 stars 0 forks source link

Data registry item upload #192

Open dandybytes opened 3 years ago

dandybytes commented 3 years ago

There seems to be a problem with data registry item upload in Lumy release 0.1.1-2021-11-02 (using Kiara v0.1.0).

According to the kernel context logs, the upload is successful. However, the items do not show up in the list. Also, command kiara data list doesn't yield any results, unlike kiara data list --all, which does list all the entries. It is, therefore, likely that the newly added items do not set an alias with Kiara or set it incorrectly.

Every time an item is added, a new directory named value_* is created in ~/Library/Application Support/kiara/data-store/default/ (on Mac). Each such directory contains a JSON metadata file as well as a data directory containing the uploaded file. This leads to the idea that the files are successfully uploaded but possibly improperly registered/indexed.

Executing a file upload via Kiara CLI (kiara run --save value_item=my_first_file file.import_from.local.file_path source=examples/data/journals/JournalNodes1902.csv) successfully adds the item and renders it visible in Lumy afterwards, while all the items uploaded directly via Lumy are still invisible.

More details available in the following Slack discussion in the dharpa-dev channel: https://c2dh.slack.com/archives/C01G1SDAUVA/p1635942891016000