Skip to content

Error #4042

@Tadeo3003

Description

@Tadeo3003

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues, especially the pinned issues.

Exception report

Últimas 200 claves:
 . v s c o d e Ctrl+Alt+\ e x t e n s i o n s Ctrl+Alt+\ m s - p y t h o n . d e b u g p y - 2 0 2 4 . 6 . 0 - w i n 3 2 - x 6 4 Ctrl+Alt+\ b u n d l 
e d Ctrl+Alt+\ l i b s Ctrl+Alt+\ d e b u g p y Ctrl+Alt+\ a d a p t e r / . . / . . Ctrl+Alt+\ d e 
b u g p y Ctrl+Alt+\ l a u n c h e r ' Space ' 5 2 5 4 7 ' Space ' - - ' Space ' C : Ctrl+Alt+\ U s 
e r s Ctrl+Alt+\ x x _ l e Ctrl+Alt+\ O n e D r i 
v e Ctrl+Alt+\ E s c r i t o r i o Ctrl+Alt+\ C u 
r s o Space d e Space P y t h o n Ctrl+Alt+\ B u c l e s Ctrl+Alt+\ I t e r a r _ l i s t a s . p y 
' Space Enter


Excepción:
System.ArgumentOutOfRangeException: El valor debe 
ser mayor que o igual a cero y menor que el tamaño de búfer de consola en dicha dimensión.
Nombre del parámetro: top
Valor actual -1.
   en System.Console.SetCursorPosition(Int32 left, Int32 top)
   en Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
   en Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
   en Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
   en Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg)
   en Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)      
   en Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
   en Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

Screenshot

Error

Environment data

PS Version: 5.1.19041.4522
PS HostName: ConsoleHost
PSReadLine Version: 2.0.0-beta2
PSReadLine EditMode: Windows
OS: 10.0.19041.1 (WinBuild.160101.0800)
BufferWidth: 131
BufferHeight: 29

Steps to reproduce

Primero escribo mi código, luego lo ejecuto con el F5 o con el Run Python File, Finalmente corre el código pero marca ese error

Expected behavior

El código que escribo:
animales = ["gato","perro","loro","cocodrilo"]

for animal in animales:
print(animal)

PS C:\Users\xx_le\OneDrive\Escritorio\Curso de Python> & 'c:\Users\xx_le\OneDrive\Escritorio\Curso
de Python.venv\Scripts\python.exe' 'c:\Users\xx_le.vscode\extensions\ms-python.debugpy-2024.6.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpyscritorio\Curso de Python\Bucles\Iterar_listas.py'

gato
perro
loro
cocodrilo
PS C:\Users\xx_le\OneDrive\Escritorio\Curso de Python>

Lo que debería esperar es que me de el bucle del código

Actual behavior

Lo que ocurre es que recibo el bucle pero recibo también en la terminal todo el código anterior.
PS C:\Users\xx_le\OneDrive\Escritorio\Curso de Pytho> & 'c:\Users\xx_le\OneDrive\Escritorio\Curso de Python.venv\Scripts\python.exe' 'c:\Users\xx_le.vscode\extensions\ms-python.debugpy-2024.6.0-win32-x64\bundled\libs\debugpy\adapter/../..\d
Se produjo un error. Informa de este error indicando los detalles que tienes a continuación.
Informe de GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Últimas 200 claves:
. v s c o d e Ctrl+Alt+\ e x t e n s i o n s Ctrl+Alt+\ m s - p y t h o n . d e b u g p y - 2 0 2 4 . 6 . 0 - w i n 3 2 - x 6 4 Ctrl+Alt+\ b u n d l
e d Ctrl+Alt+\ l i b s Ctrl+Alt+\ d e b u g p y Ctrl+Alt+\ a d a p t e r / . . / . . Ctrl+Alt+\ d e
b u g p y Ctrl+Alt+\ l a u n c h e r ' Space ' 5 2 5 4 7 ' Space ' - - ' Space ' C : Ctrl+Alt+\ U s
e r s Ctrl+Alt+\ x x _ l e Ctrl+Alt+\ O n e D r i
v e Ctrl+Alt+\ E s c r i t o r i o Ctrl+Alt+\ C u
r s o Space d e Space P y t h o n Ctrl+Alt+\ B u c l e s Ctrl+Alt+\ I t e r a r _ l i s t a s . p y
' Space Enter

Excepción:
System.ArgumentOutOfRangeException: El valor debe
ser mayor que o igual a cero y menor que el tamaño de búfer de consola en dicha dimensión.
Nombre del parámetro: top
Valor actual -1.
en System.Console.SetCursorPosition(Int32 left, Int32 top)
en Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
en Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
en Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
en Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) en Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
en Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
en Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

PS C:\Users\xx_le\OneDrive\Escritorio\Curso de Python> & 'c:\Users\xx_le\OneDrive\Escritorio\Curso
de Python.venv\Scripts\python.exe' 'c:\Users\xx_le.vscode\extensions\ms-python.debugpy-2024.6.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy\launcher' '52547' '--' 'C:\Users\xx_le\OneDrive\Escritorio\Curso de Python\Bucles\Iterar_li
Se produjo un error. Informa de este error indicando los detalles que tienes a continuación.
Informe de GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Últimas 200 claves:
. v s c o d e Ctrl+Alt+\ e x t e n s i o n s Ctrl+Alt+\ m s - p y t h o n . d e b u g p y - 2 0 2 4 . 6 . 0 - w i n 3 2 - x 6 4 Ctrl+Alt+\ b u n d l
e d Ctrl+Alt+\ l i b s Ctrl+Alt+\ d e b u g p y Ctrl+Alt+\ a d a p t e r / . . / . . Ctrl+Alt+\ d e
b u g p y Ctrl+Alt+\ l a u n c h e r ' Space ' 5 2 5 4 7 ' Space ' - - ' Space ' C : Ctrl+Alt+\ U s
e r s Ctrl+Alt+\ x x _ l e Ctrl+Alt+\ O n e D r i
v e Ctrl+Alt+\ E s c r i t o r i o Ctrl+Alt+\ C u
r s o Space d e Space P y t h o n Ctrl+Alt+\ B u c l e s Ctrl+Alt+\ I t e r a r _ l i s t a s . p y
' Space Enter

Excepción:
System.ArgumentOutOfRangeException: El valor debe
ser mayor que o igual a cero y menor que el tamao
de búfer de consola en dicha dimensión.
Nombre del parámetro: top
Valor actual -3.
en System.Console.SetCursorPosition(Int32 left, Int32 top)
en Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
en Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
en Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
en Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) en Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
en Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
en Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

PS C:\Users\xx_le\OneDrive\Escritorio\Curso de Python> & 'c:\Users\xx_le\OneDrive\Escritorio\Curso
de Python.venv\Scripts\python.exe' 'c:\Users\xx_le.vscode\extensions\ms-python.debugpy-2024.6.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy\launcher' '52547' '--' 'C:\Users\xx_le\OneDrive\Escritorio\Curso de Python\Bucles\Iterar_lis
Se produjo un error. Informa de este error indicando los detalles que tienes a continuación.
Informe de GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Últimas 200 claves:
. v s c o d e Ctrl+Alt+\ e x t e n s i o n s Ctrl+Alt+\ m s - p y t h o n . d e b u g p y - 2 0 2 4 . 6 . 0 - w i n 3 2 - x 6 4 Ctrl+Alt+\ b u n d l
e d Ctrl+Alt+\ l i b s Ctrl+Alt+\ d e b u g p y Ctrl+Alt+\ a d a p t e r / . . / . . Ctrl+Alt+\ d e
b u g p y Ctrl+Alt+\ l a u n c h e r ' Space ' 5 2 5 4 7 ' Space ' - - ' Space ' C : Ctrl+Alt+\ U s
e r s Ctrl+Alt+\ x x _ l e Ctrl+Alt+\ O n e D r i
v e Ctrl+Alt+\ E s c r i t o r i o Ctrl+Alt+\ C u
r s o Space d e Space P y t h o n Ctrl+Alt+\ B u c l e s Ctrl+Alt+\ I t e r a r _ l i s t a s . p y
' Space Enter

Excepción:
System.ArgumentOutOfRangeException: El valor debe
ser mayor que o igual a cero y menor que el tamaño de búfer de consola en dicha dimensión.
Nombre del parámetro: top
Valor actual -3.
en System.Console.SetCursorPosition(Int32 left, Int32 top)
en Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
en Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
en Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
en Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) en Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
en Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
en Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

PS C:\Users\xx_le\OneDrive\Escritorio\Curso de Python> & 'c:\Users\xx_le\OneDrive\Escritorio\Curso
de Python.venv\Scripts\python.exe' 'c:\Users\xx_le.vscode\extensions\ms-python.debugpy-2024.6.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy\launcher' '52547' '--' 'C:\Users\xx_le\OneDrive\Escritorio\Curso de Python\Bucles\Iterar_list
Se produjo un error. Informa de este error indicando los detalles que tienes a continuación.
Informe de GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Últimas 200 claves:
. v s c o d e Ctrl+Alt+\ e x t e n s i o n s Ctrl+Alt+\ m s - p y t h o n . d e b u g p y - 2 0 2 4 . 6 . 0 - w i n 3 2 - x 6 4 Ctrl+Alt+\ b u n d l
e d Ctrl+Alt+\ l i b s Ctrl+Alt+\ d e b u g p y Ctrl+Alt+\ a d a p t e r / . . / . . Ctrl+Alt+\ d e
b u g p y Ctrl+Alt+\ l a u n c h e r ' Space ' 5 2 5 4 7 ' Space ' - - ' Space ' C : Ctrl+Alt+\ U s
e r s Ctrl+Alt+\ x x _ l e Ctrl+Alt+\ O n e D r i
v e Ctrl+Alt+\ E s c r i t o r i o Ctrl+Alt+\ C u
r s o Space d e Space P y t h o n Ctrl+Alt+\ B u c l e s Ctrl+Alt+\ I t e r a r _ l i s t a s . p y
' Space Enter

Excepción:
System.ArgumentOutOfRangeException: El valor debe
ser mayor que o igual a cero y menor que el tamaño de búfer de consola en dicha dimensión.
Nombre del parámetro: top
Valor actual -3.
en System.Console.SetCursorPosition(Int32 left, Int32 top)
en Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
en Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
en Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
en Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) en Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
en Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
en Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

PS C:\Users\xx_le\OneDrive\Escritorio\Curso de Python> & 'c:\Users\xx_le\OneDrive\Escritorio\Curso
de Python.venv\Scripts\python.exe' 'c:\Users\xx_le.vscode\extensions\ms-python.debugpy-2024.6.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy\launcher' '52547' '--' 'C:\Users\xx_le\OneDrive\Escritorio\Curso de Python\Bucles\Iterar_lista
Se produjo un error. Informa de este error indicando los detalles que tienes a continuación.
Informe de GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Últimas 200 claves:
. v s c o d e Ctrl+Alt+\ e x t e n s i o n s Ctrl+Alt+\ m s - p y t h o n . d e b u g p y - 2 0 2 4 . 6 . 0 - w i n 3 2 - x 6 4 Ctrl+Alt+\ b u n d l
e d Ctrl+Alt+\ l i b s Ctrl+Alt+\ d e b u g p y Ctrl+Alt+\ a d a p t e r / . . / . . Ctrl+Alt+\ d e
b u g p y Ctrl+Alt+\ l a u n c h e r ' Space ' 5 2 5 4 7 ' Space ' - - ' Space ' C : Ctrl+Alt+\ U s
e r s Ctrl+Alt+\ x x _ l e Ctrl+Alt+\ O n e D r i
v e Ctrl+Alt+\ E s c r i t o r i o Ctrl+Alt+\ C u
r s o Space d e Space P y t h o n Ctrl+Alt+\ B u c l e s Ctrl+Alt+\ I t e r a r _ l i s t a s . p y
' Space Enter

Excepción:
System.ArgumentOutOfRangeException: El valor debe
ser mayor que o igual a cero y menor que el tamao
de búfer de consola en dicha dimensión.
Nombre del parámetro: top
Valor actual -3.
en System.Console.SetCursorPosition(Int32 left, Int32 top)
en Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
en Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
en Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
en Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) en Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
en Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
en Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

PS C:\Users\xx_le\OneDrive\Escritorio\Curso de Python> & 'c:\Users\xx_le\OneDrive\Escritorio\Curso
de Python.venv\Scripts\python.exe' 'c:\Users\xx_le.vscode\extensions\ms-python.debugpy-2024.6.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy\launcher' '52547' '--' 'C:\Users\xx_le\OneDrive\Escritorio\Curso de Python\Bucles\Iterar_listas
Se produjo un error. Informa de este error indicando los detalles que tienes a continuación.
Informe de GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Últimas 200 claves:
. v s c o d e Ctrl+Alt+\ e x t e n s i o n s Ctrl+Alt+\ m s - p y t h o n . d e b u g p y - 2 0 2 4 . 6 . 0 - w i n 3 2 - x 6 4 Ctrl+Alt+\ b u n d l
e d Ctrl+Alt+\ l i b s Ctrl+Alt+\ d e b u g p y Ctrl+Alt+\ a d a p t e r / . . / . . Ctrl+Alt+\ d e
b u g p y Ctrl+Alt+\ l a u n c h e r ' Space ' 5 2 5 4 7 ' Space ' - - ' Space ' C : Ctrl+Alt+\ U s
e r s Ctrl+Alt+\ x x _ l e Ctrl+Alt+\ O n e D r i
v e Ctrl+Alt+\ E s c r i t o r i o Ctrl+Alt+\ C u
r s o Space d e Space P y t h o n Ctrl+Alt+\ B u c l e s Ctrl+Alt+\ I t e r a r _ l i s t a s . p y
' Space Enter

Excepción:
System.ArgumentOutOfRangeException: El valor debe
ser mayor que o igual a cero y menor que el tamaño de búfer de consola en dicha dimensión.
Nombre del parámetro: top
Valor actual -3.
en System.Console.SetCursorPosition(Int32 left, Int32 top)
en Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
en Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
en Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
en Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) en Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
en Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
en Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

PS C:\Users\xx_le\OneDrive\Escritorio\Curso de Python> & 'c:\Users\xx_le\OneDrive\Escritorio\Curso
de Python.venv\Scripts\python.exe' 'c:\Users\xx_le.vscode\extensions\ms-python.debugpy-2024.6.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy\launcher' '52547' '--' 'C:\Users\xx_le\OneDrive\Escritorio\Curso de Python\Bucles\Iterar_listas.
Se produjo un error. Informa de este error indicando los detalles que tienes a continuación.
Informe de GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Últimas 200 claves:
. v s c o d e Ctrl+Alt+\ e x t e n s i o n s Ctrl+Alt+\ m s - p y t h o n . d e b u g p y - 2 0 2 4 . 6 . 0 - w i n 3 2 - x 6 4 Ctrl+Alt+\ b u n d l
e d Ctrl+Alt+\ l i b s Ctrl+Alt+\ d e b u g p y Ctrl+Alt+\ a d a p t e r / . . / . . Ctrl+Alt+\ d e
b u g p y Ctrl+Alt+\ l a u n c h e r ' Space ' 5 2 5 4 7 ' Space ' - - ' Space ' C : Ctrl+Alt+\ U s
e r s Ctrl+Alt+\ x x _ l e Ctrl+Alt+\ O n e D r i
v e Ctrl+Alt+\ E s c r i t o r i o Ctrl+Alt+\ C u
r s o Space d e Space P y t h o n Ctrl+Alt+\ B u c l e s Ctrl+Alt+\ I t e r a r _ l i s t a s . p y
' Space Enter

Excepción:
System.ArgumentOutOfRangeException: El valor debe
ser mayor que o igual a cero y menor que el tamaño de búfer de consola en dicha dimensión.
Nombre del parámetro: top
Valor actual -3.
en System.Console.SetCursorPosition(Int32 left, Int32 top)
en Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
en Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
en Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
en Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) en Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
en Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
en Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

PS C:\Users\xx_le\OneDrive\Escritorio\Curso de Python> & 'c:\Users\xx_le\OneDrive\Escritorio\Curso
de Python.venv\Scripts\python.exe' 'c:\Users\xx_le.vscode\extensions\ms-python.debugpy-2024.6.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy\launcher' '52547' '--' 'C:\Users\xx_le\OneDrive\Escritorio\Curso de Python\Bucles\Iterar_listas.p
Se produjo un error. Informa de este error indicando los detalles que tienes a continuación.
Informe de GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Últimas 200 claves:
. v s c o d e Ctrl+Alt+\ e x t e n s i o n s Ctrl+Alt+\ m s - p y t h o n . d e b u g p y - 2 0 2 4 . 6 . 0 - w i n 3 2 - x 6 4 Ctrl+Alt+\ b u n d l
e d Ctrl+Alt+\ l i b s Ctrl+Alt+\ d e b u g p y Ctrl+Alt+\ a d a p t e r / . . / . . Ctrl+Alt+\ d e
b u g p y Ctrl+Alt+\ l a u n c h e r ' Space ' 5 2 5 4 7 ' Space ' - - ' Space ' C : Ctrl+Alt+\ U s
e r s Ctrl+Alt+\ x x _ l e Ctrl+Alt+\ O n e D r i
v e Ctrl+Alt+\ E s c r i t o r i o Ctrl+Alt+\ C u
r s o Space d e Space P y t h o n Ctrl+Alt+\ B u c l e s Ctrl+Alt+\ I t e r a r _ l i s t a s . p y
' Space Enter

Excepción:
System.ArgumentOutOfRangeException: El valor debe
ser mayor que o igual a cero y menor que el tamao
de búfer de consola en dicha dimensión.
Nombre del parámetro: top
Valor actual -3.
en System.Console.SetCursorPosition(Int32 left, Int32 top)
en Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
en Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
en Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
en Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) en Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
en Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
en Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

PS C:\Users\xx_le\OneDrive\Escritorio\Curso de Python> & 'c:\Users\xx_le\OneDrive\Escritorio\Curso
de Python.venv\Scripts\python.exe' 'c:\Users\xx_le.vscode\extensions\ms-python.debugpy-2024.6.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpy\launcher' '52547' '--' 'C:\Users\xx_le\OneDrive\Escritorio\Curso de Python\Bucles\Iterar_listas.py
Se produjo un error. Informa de este error indicando los detalles que tienes a continuación.
Informe de GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Últimas 200 claves:
. v s c o d e Ctrl+Alt+\ e x t e n s i o n s Ctrl+Alt+\ m s - p y t h o n . d e b u g p y - 2 0 2 4 . 6 . 0 - w i n 3 2 - x 6 4 Ctrl+Alt+\ b u n d l
e d Ctrl+Alt+\ l i b s Ctrl+Alt+\ d e b u g p y Ctrl+Alt+\ a d a p t e r / . . / . . Ctrl+Alt+\ d e
b u g p y Ctrl+Alt+\ l a u n c h e r ' Space ' 5 2 5 4 7 ' Space ' - - ' Space ' C : Ctrl+Alt+\ U s
e r s Ctrl+Alt+\ x x _ l e Ctrl+Alt+\ O n e D r i
v e Ctrl+Alt+\ E s c r i t o r i o Ctrl+Alt+\ C u
r s o Space d e Space P y t h o n Ctrl+Alt+\ B u c l e s Ctrl+Alt+\ I t e r a r _ l i s t a s . p y
' Space Enter

Excepción:
System.ArgumentOutOfRangeException: El valor debe
ser mayor que o igual a cero y menor que el tamao
de búfer de consola en dicha dimensión.
Nombre del parámetro: top
Valor actual -3.
en System.Console.SetCursorPosition(Int32 left, Int32 top)
en Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
en Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
en Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
en Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) en Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
en Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
en Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

PS C:\Users\xx_le\OneDrive\Escritorio\Curso de Python> & 'c:\Users\xx_le\OneDrive\Escritorio\Curso
de Python.venv\Scripts\python.exe' 'c:\Users\xx_le.vscode\extensions\ms-python.debugpy-2024.6.0-wi\launcher' '52547' '--' 'C:\Users\xx_le\OneDrive\Escritorio\Curso de Python\Bucles\Iterar_listas.py'

Se produjo un error. Informa de este error indicando los detalles que tienes a continuación.
Informe de GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Últimas 200 claves:
. v s c o d e Ctrl+Alt+\ e x t e n s i o n s Ctrl+Alt+\ m s - p y t h o n . d e b u g p y - 2 0 2 4 . 6 . 0 - w i n 3 2 - x 6 4 Ctrl+Alt+\ b u n d l
e d Ctrl+Alt+\ l i b s Ctrl+Alt+\ d e b u g p y Ctrl+Alt+\ a d a p t e r / . . / . . Ctrl+Alt+\ d e
b u g p y Ctrl+Alt+\ l a u n c h e r ' Space ' 5 2 5 4 7 ' Space ' - - ' Space ' C : Ctrl+Alt+\ U s
e r s Ctrl+Alt+\ x x _ l e Ctrl+Alt+\ O n e D r i
v e Ctrl+Alt+\ E s c r i t o r i o Ctrl+Alt+\ C u
r s o Space d e Space P y t h o n Ctrl+Alt+\ B u c l e s Ctrl+Alt+\ I t e r a r _ l i s t a s . p y
' Space Enter

Excepción:
System.ArgumentOutOfRangeException: El valor debe
ser mayor que o igual a cero y menor que el tamaño de búfer de consola en dicha dimensión.
Nombre del parámetro: top
Valor actual -4.
en System.Console.SetCursorPosition(Int32 left, Int32 top)
en Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
en Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
en Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
en Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable1 key, Object arg) en Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
en Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
en Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)

PS C:\Users\xx_le\OneDrive\Escritorio\Curso de Python> & 'c:\Users\xx_le\OneDrive\Escritorio\Curso
de Python.venv\Scripts\python.exe' 'c:\Users\xx_le.vscode\extensions\ms-python.debugpy-2024.6.0-win32-x64\bundled\libs\debugpy\adapter/../..\debugpyscritorio\Curso de Python\Bucles\Iterar_listas.py'

gato
perro
loro
cocodrilo

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