heynemann / motorengine

Motorengine is a port of MongoEngine for Tornado.
http://motorengine.readthedocs.org
204 stars 67 forks source link

motorengine don't support the auth mechanism of mongodb connetion 'SCRAM-SHA-1'. #121

Open tangjiaxi opened 8 years ago

tangjiaxi commented 8 years ago

After motorengine was installed, motor (0.2) and pymongo (2.7) would together be installed. The auth mechanism of mongodb connetion is 'SCRAM-SHA-1'. But in order to support 'SCRAM-SHA-1', we need pymongo >= 2.8 and motor >= 0.4 When this feature will be added?

trapwalker commented 8 years ago

In my fork of this library i was just replace required versions in setup.py:

pymongo>2.7
motor>=0.6

And all right.

tangjiaxi commented 8 years ago

@sergyp Thank you very much. Would you please suggest some program which use motorengine to me?

rubenbonilla commented 8 years ago

@tangjiaxi Before continue using this library i would suggest you to not use it. It seems that there is nobody working on it and looks outdated. Also there some annoying things like it doesn't handle in right way when there isn't connection to mongodb.

So in my opinion if you are working in a serious project think about use updated repos like mongoengine, it isn't asynchronous but you won't notice that in your program. As an alternative you can try to implement threads as calls to MongoDB, but you will really have a lot of requests to need it.

I recommend you to use mongo-engine =)