You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
clamclient.create() crashes when trying to create a project which contains a - character:
Generated projectname: clariah-conversion2546116374648037985
Traceback (most recent call last):
File "./01-doc-to-folia.py", line 32, in <module>
pier.create(project)
File "/home/jong/.local/lib/python3.7/site-packages/clam/common/client.py", line 228, in create
return self.request(project + '/', 'PUT')
File "/home/jong/.local/lib/python3.7/site-packages/clam/common/client.py", line 164, in request
if data.errors:
AttributeError: 'bool' object has no attribute 'errors'
Expected behaviour: either - is allowed and the project is succesfully created, or a message explaning what was wrong with project is displayed / returned.
The exception AttributeError: 'bool' object has no attribute 'errors' was not helpful.
The text was updated successfully, but these errors were encountered:
clamclient.create()
crashes when trying to create a project which contains a-
character:Expected behaviour: either
-
is allowed and the project is succesfully created, or a message explaning what was wrong withproject
is displayed / returned.The exception
AttributeError: 'bool' object has no attribute 'errors'
was not helpful.The text was updated successfully, but these errors were encountered: