Skip to content

Crash complaining of tabulate() and preserve_whitespace #1699

@mytskine

Description

@mytskine

Every command crashes with the message tabulate() got an unexpected keyword argument 'preserve_whitespace'.

Here is a session, with added blank lines to increase readability.

❯ mycli -u u -p p --myclirc /usr/lib/python3/dist-packages/mycli/myclirc db
Connecting to socket /var/run/mysqld/mysqld.sock, owned by user mysql
MariaDB 11.8.6
mycli 1.55.0
Home: http://mycli.net
Bug tracker: https://github.com/dbcli/mycli/issues
Tip — customize colors using the "[colors]" section in ~/.myclirc!

MariaDB u@localhost:db> select unix_timestamp('2047-02-01');
tabulate() got an unexpected keyword argument 'preserve_whitespace'

MariaDB mirabel@localhost:mirabel2> show tables;
tabulate() got an unexpected keyword argument 'preserve_whitespace'

MariaDB u@localhost:db> 

System

  • I had just installed mycli with apt (Debian testing).
  • My first session used an old custom myclirc, but nothing changed when I switched to the default config (which the command above uses).
  • Launching with --checkup says everything is alright, except that fzf is not installed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions