Closed abiUni closed 2 years ago
@zxenia do you have time to look into this issue or should I?
@csae8092 Hi, yes I have time, I will look into it.
Hi @abiUni
I was wondering if you could share your .csv
(or parts of it) you are using to batch create concepts. Because we'd like to provide some "create concepts from csv" or "upload your csv" feature anyways, but were too lazy to think about how the source-csv could/should look like.
Hello @csae8092, apologies for the late response, I should clarify I don't have a .csv where all SKOS fields are prefilled. Instead I have a list of keywords with definitions, which I would like to add to my vocabulary and automatically link them to external vocabularies that I query with rdflib using a python script.
ok, now I have to apologize for the very very late response. Thanks for the explanation. I'll close this issue as I think @zxenia fixed the broken code. But please reopen it or create another issue if the problem still exits
Hi, Thank you for the quick response on my last issue! I am trying to batch-create concepts in python from a .csv file into an existing ConceptScheme using the API. As an authenticated admin user, I can GET data through the API but I am unable to POST anything due to an internal server error 500.
The error stack seems to point to the django function get_identity(identity), which is called in vocabs->models.py when setting permissions. I would be very grateful if you can point me to a solution/workaround as the manual creation of the concepts is not a feasible option. Thank you!