Skip to content
This repository has been archived by the owner on Jul 14, 2020. It is now read-only.

RuntimeError: maximum recursion depth exceeded while calling a Python object #196

Open
newtechfellas opened this issue Oct 23, 2014 · 0 comments

Comments

@newtechfellas
Copy link

If a model class name and the collection name match, we see below error

...
File "/usr/local/lib/python2.7/dist-packages/bottle.py", line 1729, in wrapper
    rv = callback(*a, **ka)
RuntimeError: maximum recursion depth exceeded while calling a Python object

@connection.register
class Foo(Document):
    __database__ = 'FooDb'
    __collection__ = 'Foo'
   #my document properties go here.

I used PyMongo 2.7.2 and MongoKit 0.9.1.1

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

No branches or pull requests

1 participant