Skip to content

Autocomplete not working in 1.50.0-1.51.1 #1531

@helgelol

Description

@helgelol

Edit: Just updated to 1.51.1, and error is still present there.

I upgraded my applications through homebrew yesterday, and among them was mycli from what I can tell from this:

/opt/homebrew/Cellar/mycli/1.50.0 (4,167 files, 38.7MB) *
  Poured from bottle using the formulae.brew.sh API on 2026-02-09 at 00:16:51

And now I get this error when I connect to a database: (I can just press ctrl+c, and the application works, but autocomplete to chose table etc, does not work.)

Exception in thread completion_refresh:
Traceback (most recent call last):
  File "/opt/homebrew/Cellar/python@3.14/3.14.3_1/Frameworks/Python.framework/Versions/3.14/lib/python3.14/threading.py", line 1082, in _bootstrap_inner
    self._context.run(self.run)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/opt/homebrew/Cellar/python@3.14/3.14.3_1/Frameworks/Python.framework/Versions/3.14/lib/python3.14/threading.py", line 1024, in run
    self._target(*self._args, **self._kwargs)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^te suggestion     Refreshing completions...
  File "/opt/homebrew/Cellar/mycli/1.50.0/libexec/lib/python3.14/site-packages/mycli/completion_refresher.py", line 84, in _bg_refresh
    refresher(completer, executor)
    ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/mycli/1.50.0/libexec/lib/python3.14/site-packages/mycli/completion_refresher.py", line 160, in refresh_procedures
    completer.extend_procedures(executor.procedures())
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/mycli/1.50.0/libexec/lib/python3.14/site-packages/mycli/sqlcompleter.py", line 941, in extend_procedures
    for elt in procedure_data:
               ^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/mycli/1.50.0/libexec/lib/python3.14/site-packages/mycli/sqlexecute.py", line 464, in procedures
    cur.execute(self.procedures_query % self.dbname)
    ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/mycli/1.50.0/libexec/lib/python3.14/site-packages/pymysql/cursors.py", line 153, in execute
    result = self._query(query)
  File "/opt/homebrew/Cellar/mycli/1.50.0/libexec/lib/python3.14/site-packages/pymysql/cursors.py", line 322, in _query
    conn.query(q)
    ~~~~~~~~~~^^^
  File "/opt/homebrew/Cellar/mycli/1.50.0/libexec/lib/python3.14/site-packages/pymysql/connections.py", line 575, in query
    self._affected_rows = self._read_query_result(unbuffered=unbuffered)
                          ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/mycli/1.50.0/libexec/lib/python3.14/site-packages/pymysql/connections.py", line 826, in _read_query_result
    result.read()
    ~~~~~~~~~~~^^
  File "/opt/homebrew/Cellar/mycli/1.50.0/libexec/lib/python3.14/site-packages/pymysql/connections.py", line 1203, in read
    first_packet = self.connection._read_packet()
  File "/opt/homebrew/Cellar/mycli/1.50.0/libexec/lib/python3.14/site-packages/pymysql/connections.py", line 782, in _read_packet
    packet.raise_for_error()
    ~~~~~~~~~~~~~~~~~~~~~~^^
  File "/opt/homebrew/Cellar/mycli/1.50.0/libexec/lib/python3.14/site-packages/pymysql/protocol.py", line 219, in raise_for_error
    err.raise_mysql_exception(self._data)
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/mycli/1.50.0/libexec/lib/python3.14/site-packages/pymysql/err.py", line 150, in raise_mysql_exception
    raise errorclass(errno, errval)
pymysql.err.OperationalError: (1054, "Unknown column 'PROCEDURE' in 'WHERE'")

I run Apple M4 Pro on Tahoe 26.2 if that's relevant.

Is there anything else I can provide that would help in this matter?

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