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
I encountered a weird issue with pyArango.collection.Collection delete() function
First I need to check if the collection exists in the database. Then if it exists, delete it. And finally create the collection.
This following piece of code runs fine in Debug mode using PyCharm, meaning it deletes the collection from my localhost arangodb in MacOS. But when I run the code in terminal using python main.py it yields this error. The same error when I run main.py in PyCharm:
pyArango.theExceptions.CreationError: Database _system already has a collection named nodes_2020_09_21_FY20Q4. Errors: {}
Can you check and let me know what's the issue?
Here is main.py (the Connection arguments and node_nm are populated in actual file)
I encountered a weird issue with pyArango.collection.Collection delete() function
First I need to check if the collection exists in the database. Then if it exists, delete it. And finally create the collection.
This following piece of code runs fine in Debug mode using PyCharm, meaning it deletes the collection from my localhost arangodb in MacOS. But when I run the code in terminal using
python main.py
it yields this error. The same error when I run main.py in PyCharm:pyArango.theExceptions.CreationError: Database _system already has a collection named nodes_2020_09_21_FY20Q4. Errors: {}
Can you check and let me know what's the issue?
Here is main.py (the Connection arguments and node_nm are populated in actual file)
The text was updated successfully, but these errors were encountered: