wrong-type-argument sequencep 114
Hi, I'm getting this error with the following config:
(dap-register-debug-template "Python :: Flask"
(list :type "python"
:env '(("FLASK_APP" . "app/application.py") ("FLASK_ENV" . "development") ("FLASK_DEBUG" . "0"))
:args "run --no-debugger --no-reload"
:cwd nil
:target-module nil
:module "flask"
:jinja t
:request "launch"
:name "Python :: Flask"))
I tried to get the stack trace for it, but I get the following error with debug-on-error enabled instead!:
`Symbol's function definition is void: nil`
with that much info it is hard to tell. Can you provide a sample application and steps to reproduce?
most likely it is duplicate of https://github.com/emacs-lsp/dap-mode/issues/483
Here's my launch script for vscode for my flask app:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Python: Flask",
"type": "python",
"request": "launch",
"module": "flask",
"env": {
"FLASK_APP": "app/application.py",
"FLASK_ENV": "development",
},
"args": ["run", "--no-debugger"],
"jinja": true
}
]
}
Steps to reproduce:
- Open emacs
- Run projectile-switch-project and go to root of flask app
- Run dap-debug with my flask config
What I expected to happen:
- The app to run
What happened:
wrong-type-argument sequencep 114
can you provide a python project to use that with? (note that lsp-mode/dap-mode support a lot of languages and maintainers might have zero knowledge for that particular language)
Oh okay, I hear ya on that! I set up this project here as a simple flask app example if this is helpful! link
I tested it and everything seems to be working fine with the latest version of the packages:

I seem to get the same type of error as soon as I provide non empty "args" to dap-register-debug-template. Everything will work fine until I try to add arguments. As soon as I try to run the debug then it tells me "shell-quote-argument: Wrong type argument: sequencep, 45".