You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Migrated issue, originally created by Mickey (@mickey)
This issue only exists if you're running alembic from the commandline in a pseudo-terminal, such as Emacs's shell.
File util.py line 23 calls fcntl.ioctl which unpacks the number 0 into TERMWIDTH, but that is invalid according to the textwrap module, resulting in the aforementioned exception.
The fix is to assign None to TERMWIDTH (if 0) or replace the if check on line 182.
The text was updated successfully, but these errors were encountered:
Migrated issue, originally created by Mickey (@mickey)
This issue only exists if you're running alembic from the commandline in a pseudo-terminal, such as Emacs's
shell
.File
util.py
line23
callsfcntl.ioctl
which unpacks the number 0 into TERMWIDTH, but that is invalid according to thetextwrap
module, resulting in the aforementioned exception.The fix is to assign
None
to TERMWIDTH (if 0) or replace the if check on line182
.The text was updated successfully, but these errors were encountered: