Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

KeyError: 'collections'

See original GitHub issue

Hello, I use ArangoDB 3.0.0 [linux] 64bit. And it is first day.

When I tried it, I have a error ‘KeyError’.

a = Arango(host="localhost", port=8529, username='root', password='password') a.create_database("test") my_db = a.db("test") my_db.collections /lib/python2.7/site-packages/arango/database.pyc in collections(self) 232 user_collections = [] 233 system_collections = [] –> 234 for collection in res.body[“collections”]: 235 if collection[“isSystem”]: 236 system_collections.append(collection[“name”])

KeyError: ‘collections’

Do you have any idea?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5

github_iconTop GitHub Comments

joowanicommented, Jul 3, 2016

Hi koorukuroo,

It is because the driver is not compatible with ArangoDB 3.0.0. I’m working very hard to release python-arango 3.0.0 which will be compatible with the latest version of ArangoDB. Thanks for the patience!

joowanicommented, Aug 17, 2016

Hi Brian,

There’s been a quite a delay but python-arango 3 is finally released! Please try it out and let me know how it is. I’ve also included the link to the full documentation in the README.rst.


Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix KeyError Exceptions in Python - Rollbar
The Python KeyError is an exception that occurs when an attempt is made to access an item in a dictionary that does not...
Read more >
KeyError: 'collections' - ArangoDB-Community/python-arango
Hello, everytime i try to use collection i get the error "KeyError: 'collections'" i.e: delete a collection Traceback (most recent call ...
Read more >
Key Error in accessing collections from MongoDB (PyMongo)
KeyError generally means the key doesn't exist in the dictionary collection. For example : >>> mydoc1=dict(url='', location='oregon') ...
Read more >
Python KeyError Exceptions and How to Handle Them
In this tutorial, you'll learn how to handle Python KeyError exceptions. They are often caused by a bad key lookup in a dictionary,...
Read more >
KeyError : 'the label [ANGI V1OBWK1IM6HX] is not in the [index]'
I am getting this error when I backtest:Runtime Error: Trying to retrieve an element from a collection using a key that does not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found