You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having some trouble getting it installed. I originally tried pip install dex but it didn't end up in my path afterwards. And running it from build/dex/bin/dex gave a permission denied.
dex is now in my path but I'm guessing it didn't install correctly. When I try to run it I get errors:
$ dex -p mongodb://USERNAME:PASSWORD@mydburl.mongolab.com:12345/my_db
Traceback (most recent call last):
File "/usr/local/bin/dex", line 184, in <module>
main(sys.argv[1:])
File "/usr/local/bin/dex", line 160, in main
return md.analyze_profile()
File "/Library/Python/2.7/site-packages/dex/dex.py", line 135, in analyze_profile
connection = pymongo.Connection(self._db_uri,document_class=OrderedDict)
File "/Library/Python/2.7/site-packages/pymongo/connection.py", line 180, in __init__
max_pool_size, document_class, tz_aware, _connect, **kwargs)
File "/Library/Python/2.7/site-packages/pymongo/mongo_client.py", line 278, in __init__
raise ConfigurationError("authentication failed")
ConfigurationError: authentication failed
$
Any ideas? This is on max os. I have the default install python 2.7.2 which is prob a bit old. A homebrew install would make things easier, but just one idea.
Try to connect to a local mongod without authentication, the traceback looks like an authentication error.
Do you have Xcode Command-Line Tools installed? Also I advise you to try this in virtualenv.
Activity
eguven commentedon Mar 21, 2013
Try to connect to a local
mongodwithout authentication, the traceback looks like an authentication error.Do you have Xcode Command-Line Tools installed? Also I advise you to try this in
virtualenv.