Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install failed #10

Open
barmstrong opened this issue Mar 21, 2013 · 1 comment
Open

Install failed #10

barmstrong opened this issue Mar 21, 2013 · 1 comment

Comments

@barmstrong
Copy link

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.

I then tried sudo pip install dex and got this with errors: https://gist.github.com/barmstrong/5a67ac1417fed7488b82

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.

@eguven
Copy link

eguven commented Mar 21, 2013

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.

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

No branches or pull requests

2 participants