Skip to content
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

Error while creating a curation #42

Open
laleye opened this issue Feb 1, 2023 · 0 comments
Open

Error while creating a curation #42

laleye opened this issue Feb 1, 2023 · 0 comments

Comments

@laleye
Copy link

laleye commented Feb 1, 2023

I'm having a problem creating the curation of a document in inception. Here is my code and the generated error which I don't understand.

with open(filename, 'rb') as f:
      self.client.api.create_curation(3, 2781, curation_format = InceptionFormat.UIMA_CAS_XMI_XML_1_1, content =  f, document_state = DocumentState.CURATION_COMPLETE)

Error
too many values to unpack (expected 2)
I got the same error using directly swagger.

Any help ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant