-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metadata creation MongoDB error #64
Comments
Documentation is not up to date. It should actually be used like that: client.setCorpusMetadata(cprs._id, {'gt': 'dzq'}, path="mymtdata") That being said, I think you did discover a bug in the server. Will look into it. cc'ing @marc-j just in case you have an idea of what might happen here... |
After a full cleanup of the system and of docker images, it seems that it works again, that was maybe due to a bad database clean up. Sorry for that. |
I'd rather leave this issue open until we are really sure the bug is fixed. |
There was a problem, and I don't understand why it's fixed now (with the cleanup), because when I tested with each time a new corpus (before the full cleanup), this problem occured. But again, I just tried several times, maybe it's not fixed |
Hello,
I have an issue when it comes to create new metadata.
I ran all the basics step for a fresh install, and tried to create metadata with this python script:
But it seems that the server is throwing an error:
I tried with the JS client too, and the same error happens.
The python client is up to date (v0.8)
When I investigated the code, I found that it's maybe because
this.constructTreeSchema(metadata, upload_dir, undefined, undefined, modelName, resource);
is not doing its job and the tree tries to recreate root paths that already exist...Could you please look into that and tell me what you think about it? Maybe i'm just doing something wrong here, and if that's the case, I think the documentation is either not up to date or incomplete.
Thanks
The text was updated successfully, but these errors were encountered: