ErrLookup › sqlalchemy/alembic

sqlalchemy/alembic

A database migrations tool for SQLAlchemy. · Python · 82 source files

Analyzed at 5551b5d35f on 2026-08-11. 54 documented errors.

Code / MessageTypeSeverityTags
Constraint must have a name
exception error alembic, batch-mode, constraints, database-migration
Script supports at least python
exception error alembic, build-tooling, python-version, dev-contrib, runtimeerror
Template rendering failed; see
exception error alembic, mako, templates, init, command-error
Can't invoke function
exception error alembic, proxy, lazy-init, migration-scripts, nameerror
Revision is not an ancestor of revision
exception error alembic, migrations, downgrade, revision-map, ancestor
No such constraint
exception error alembic, batch-mode, constraints, database-migration
Can't drop table in batch mode
exception error alembic, batch-mode, database-migration, python
Dependency cycle is detected in revisions
exception critical alembic, revisions, cycle, depends-on, migration-graph
missing required positional argument
exception error alembic, legacy-api, arguments, proxy, typeerror
The method does not apply to a batch table alter operation.
exception error batch-mode, operations, not-supported, ddl
Cycle is detected in revisions
exception critical alembic, revisions, cycle, migration-graph
can't return inspector as this AutogenContext has no…
exception error autogenerate, connection, offline-mode, configuration
Individual alter column constructs not supported by MySQL
exception error mysql, mariadb, alter-column, ddl, dialect
Not a valid downgrade target from current heads
exception error alembic, migrations, branch-labels, downgrade, revision-map
Can't find Python file
exception error alembic, file-not-found, config, env-py, importerror
constraint cannot be produced; original constraint is not…
exception error alembic, constraints, operations-api, database-migration
Can't change down_revision on a refresh operation.
exception error alembic, testing, test-helper, migration-scripts, validation
This MigrationScript instance has a multiple-entry list for…
exception error alembic, autogenerate, multidb, operations-api
Error executing editor
exception error alembic, editor, subprocess, environment, command-error
Can not set dispatch function for object
exception error alembic, dispatcher, registration, plugins, valueerror
Invalid plugin expression
validation error alembic, plugins, configuration, validation
no dispatch function for object
exception error alembic, dispatcher, plugins, autogenerate, valueerror
String or text() construct expected
exception error alembic, sqlalchemy, index, type-validation, valueerror
No generic 'DROP CONSTRAINT' in MySQL - please specify…
exception error mysql, mariadb, drop-constraint, ddl, dialect
TODO
exception error alembic, batch-mode, ddl, database-migration
SQLAlchemy 2.0 required
exception error alembic, sqlalchemy-version, constraints, compatibility
No context has been configured yet.
exception error alembic, environment, configuration, database-migration
is not in the same subtree as
validation error alembic, path-handling, filesystem, compatibility, windows
No suitable editor found. Please set the "EDITOR" or…
exception error alembic, editor, environment, missing-dependency, oserror
Character(s) ' ' not allowed in revision identifier
validation error alembic, migrations, revision-id, validation, syntax
A plugin named is already registered
validation error alembic, plugins, entry-points, configuration
operation is not reversible; original column is not present
exception error alembic, columns, operations-api, database-migration
Connection, url, or dialect_name is required.
exception error alembic, configuration, migration-context, database-migration
Dependency self-loop is detected in revisions
exception error alembic, migrations, revision-graph, dependency-cycle, validation
recreate may be one of 'auto', 'always', or 'never'.
exception error batch-mode, recreate, configuration, ddl
This MigrationScript instance has a multiple-entry list for…
exception error alembic, autogenerate, multidb, operations-api
Don't know how to comma-format %r
exception error alembic, formatting, type-error, revision-metadata, valueerror
Autogenerate rendering of SQL Expression language…
exception error autogenerate, op-execute, rendering, sql-expression
Can only return single object for UpgradeOps traverse
exception error rewriter, autogenerate, upgrade-ops, directive
'type' can be one of
validation error alembic, constraints, validation, database-migration
Duplicate table keys across multiple MetaData objects
exception error autogenerate, metadata, duplicate-keys, configuration
No support for ALTER of constraints in SQLite dialect…
exception error sqlite, add-constraint, batch-mode, ddl, dialect
Can only return single object for DowngradeOps traverse
exception error rewriter, autogenerate, downgrade-ops, directive
Self-loop is detected in revisions
exception error alembic, migrations, revision-graph, cycle, validation
No such index
exception error alembic, batch-mode, indexes, database-migration
Can't create table in batch mode
exception error batch-mode, create-table, not-supported, ddl
Cannot call run_async with a sync engine
exception error run-async, async, engine, dialect
' ' is not a valid value for ; expected 'space', 'newline'…
exception error config, alembic-ini, path-separator, configuration
SQLAlchemy 1.4.18+ required
exception error run-async, version, sqlalchemy, async
Can't send params and multiparams at the same time
exception error ddl, execution, sql-params, impl
SQL parameters not allowed with as_sql
exception error offline-mode, as-sql, sql-params, ddl
Cannot call run_async in SQL mode
exception error run-async, offline-mode, as-sql, async
List of dictionaries expected
exception error bulk-insert, ddl, type-error, data-migration
List expected
exception error bulk-insert, ddl, type-error, data-migration