dbcli / mycli

A Terminal Client for MySQL with AutoCompletion and Syntax Highlighting.
http://mycli.net
Other
11.45k stars 662 forks source link

'module' object has no attribute 'truncate_string' #729

Open AndyFWealthfront opened 5 years ago

AndyFWealthfront commented 5 years ago

mycli used to work fine, but recently gives me this error:

db> SELECT 1; 'module' object has no attribute 'truncate_string' db>

I am running CentOS 7, and installed mycli with pip. My environment:

$ mycli --version Version: 1.19.0 $ python --version Python 2.7.5

Unfortunately this is a shared machine and I wasn't able to figure out what could have changed recently.

How can I get mycli to show a traceback so that I can find the cause of the problem?

AndyFWealthfront commented 5 years ago

This is possibly related to cli_helpers 1.2.0, which was just released. When I downgrade to 1.1.0 the problem seems to be resolved.

j-bennet commented 5 years ago

@meeuw Can you take a look at this as part of bumping cli_helpers?