Skip to content

KeyError: 'collections' #14

@koorukuroo

Description

@koorukuroo

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions