-
Notifications
You must be signed in to change notification settings - Fork 546
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
Getting an error trying to run #26
Comments
I get a slightly different error on OSX 10.10, using Python 2.7 and Postgresql 9.2.4.
|
@rpoole Can you tell me how you're launching pgcli? What are the command line params? It looks like the database connection is failing. I should report a more sensible error message for that. |
@sillypog Your error message is because Can you tell me how you installed pgcli? |
Hi @amjith, thanks a lot for this project!
It seems that Thanks in advance. |
@sillypog @thiagophx Let's track this issue on #27. The original issue reported by @rpoole seems unrelated to the ones you guys are facing. |
@rpoole Which psycopg version you're using? Context Manager support in cursor was added in 2.5 http://pythonhosted.org//psycopg2/news.html#what-s-new-in-psycopg-2-5 |
@cezio that was it! I had an old version of psycopg2 (2.4.5). Thanks for the help and the hard work on the tool - it looks great! |
Version 0.10.1 released to PyPI. https://pypi.python.org/pypi/pgcli/0.10.1 |
Whenever I try to use the program I get a python error:
Using python 2.7 and psql 9.3.5 on Ubuntu 14.04.
The text was updated successfully, but these errors were encountered: