Skip to content

problem #4354

@sepehrdp

Description

@sepehrdp

when i was running this code with python 3.13.0 for a little testing an error apeared

import sqlite3
conn = sqlite3.connect("database.db")
cur = conn.cursor()
cur.execute('''
CREATE TABLE IF NOT EXISTS traces (
user_id TEXT,
book_id TEXT,
method TEXT
)
''')
cur.execute('''
CREATE TABLE IF NOT EXISTS users (
user_id TEXT,
name TEXT,
code INTEGER
)
''')
cur.execute('''
CREATE TABLE IF NOT EXISTS books (
book_id TEXT,
name TEXT
)
''')
cur.execute('''
INSERT INTO traces (user_id,book_id,method)
VALUES (?,?,?)
''',("user1","book1","get1"))

Error:

Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Last 8 Keys:
& Space C : / U s e

Exception:
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: left
at Microsoft.PowerShell.Internal.VirtualTerminal.set_CursorLeft(Int32 value)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

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