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

\d <table> fails #57

Closed
pythonhacker opened this issue Jan 7, 2015 · 4 comments
Closed

\d <table> fails #57

pythonhacker opened this issue Jan 7, 2015 · 4 comments

Comments

@pythonhacker
Copy link

searchdb> \d cacheaddresslookup
coercing to Unicode: need string or buffer, int found

This is clearly coming from Python, when you are trying to convert a int to a string without a proper cast or format.

@amjith
Copy link
Member

amjith commented Jan 7, 2015

If you're using 0.10.0 of pgcli, can you try updating it. I just released 0.10.1 that fixes a bug related to unicode.

If that doesn't fix it, can you send me the output of pip freeze? Also is this error only happening on that particular table or is it happening for all the tables?

@macobo
Copy link
Contributor

macobo commented Jan 7, 2015

In case this is about the latest version:

You can also look at ~/.pgcli.log and copy the output of traceback, which should be one of the last lines in the file.

@amjith
Copy link
Member

amjith commented Jan 14, 2015

@pythonhacker Can you please confirm if you're still seeing the issue on the latest version?

@amjith
Copy link
Member

amjith commented Jan 31, 2015

Version 0.14.0 released to PyPI.

Multiple fixes to unicode handling in this release.

pip install -U pgcli

@amjith amjith closed this as completed Jan 31, 2015
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

3 participants