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.Dismiss alert
Getting an error saying "IndexError: list index out of range" when I run the python application in Visual Studio 2019. Following is the stack trace:
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.1520.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.1520.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "c:\program files (x86)\microsoft visual studio\2019\professional\common7\ide\extensions\microsoft\python\core\debugpy\__main__.py", line 45, in <module>
cli.main()
File "c:\program files (x86)\microsoft visual studio\2019\professional\common7\ide\extensions\microsoft\python\core\debugpy/..\debugpy\server\cli.py", line 430, in main
run()
File "c:\program files (x86)\microsoft visual studio\2019\professional\common7\ide\extensions\microsoft\python\core\debugpy/..\debugpy\server\cli.py", line 267, in run_file
runpy.run_path(options.target, run_name=compat.force_str("__main__"))
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.1520.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 265, in run_path
return _run_module_code(code, init_globals, run_name,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.1520.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 97, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.8_3.8.1520.0_x64__qbz5n2kfra8p0\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "C:\Users\nalumr01\Documents\Git\ORWatch\server.py", line 2, in <module>
from bottle import route, template, static_file, default_app, request, response, run, redirect, error
File "C:\Users\nalumr01\Documents\Git\ORWatch\bottle.py", line 3958, in <module>
if __name__ == '__main__':
File "_pydevd_bundle/pydevd_cython.pyx", line 1260, in _pydevd_bundle.pydevd_cython.SafeCallWrapper.__call__
File "_pydevd_bundle/pydevd_cython.pyx", line 344, in _pydevd_bundle.pydevd_cython.PyDBFrame.trace_exception
File "_pydevd_bundle/pydevd_cython.pyx", line 231, in _pydevd_bundle.pydevd_cython.is_unhandled_exception
File "c:\program files (x86)\microsoft visual studio\2019\professional\common7\ide\extensions\microsoft\python\core\debugpy\_vendored\pydevd\_pydevd_bundle\pydevd_collect_bytecode_info.py", line 167, in collect_try_except_info
def collect_try_except_info(co, use_func_first_line=False):
IndexError: list index out of range
Please help me to resolve it. Thanks.
The text was updated successfully, but these errors were encountered:
Getting an error saying "IndexError: list index out of range" when I run the python application in Visual Studio 2019. Following is the stack trace:
Please help me to resolve it. Thanks.
The text was updated successfully, but these errors were encountered: