ajdavis / motor-blog

Blog based on Tornado, MongoDB, and Motor. To be used with MarsEdit.
148 stars 40 forks source link

Unknown option _pool_class #6

Closed puentesarrin closed 11 years ago

puentesarrin commented 11 years ago

I'm testing again, but raise this errors when execute:

Traceback (most recent call last):
  File "server.py", line 45, in <module>
    db = motor.MotorConnection().open_sync().motorblog
  File "/usr/local/lib/python2.7/dist-packages/motor/__init__.py", line 508, in open_sync
    raise outcome['error']
pymongo.errors.ConfigurationError: Unknown option _pool_class
ajdavis commented 11 years ago

Hi, perhaps you are using Motor with an old version of PyMongo? Could you uninstall PyMongo entirely, make sure that the folders 'pymongo' and 'gridfs' are gone from dist-pacakges. Then install Motor and its special version of pymongo.

puentesarrin commented 11 years ago

Ok, It's correct! I have 2.3 PyMongo's version, and I copied Motor module on root folder's motor_blog. Do you know if it's possible merge with pymongo?

ajdavis commented 11 years ago

Thanks. Yes, the plan is to merge Motor into PyMongo within the next few months, so there will be a PyMongo package in PyPI that includes Motor as a module. It may take a while because everyone at 10gen is very busy....