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
{{ message }}
Repository navigation
ERROR: Invalid data extension file: Cannot coerce empty String ("") to com.semmle.frontend.packs.extensions.AddsTo value (but could if coercion was enabled using CoercionConfig) (CodeQL-Community-Packs\python\ext\generated\flask.model.yml:2,14-14) #130
Running in vscode local with the Community repo loaded in the workspace fails when enabling model packs:
//https://codeql.github.com/docs/codeql-for-visual-studio-code/using-the-codeql-model-editor/#testing-codeql-model-packs-in-vs-code//To run queries on a CodeQL database with any model packs that are stored within the .github/codeql/extensions directory of the workspace,"codeQL.runningQueries.useExtensionPacks": "all",
Errors:
[2025-05-06 16:34:35] [ERROR] resolve extensions-by-pack> ERROR: Invalid data extension file: Cannot coerce empty String ("") to `com.semmle.frontend.packs.extensions.AddsTo` value (but could if coercion was enabled using `CoercionConfig`) (C:\repos\felickz\vscode-codeql-starter\CodeQL-Community-Packs\python\ext\generated\flask.model.yml:2,14-14)
[2025-05-06 16:34:35] [ERROR] resolve extensions-by-pack> ERROR: Invalid data extension file: Cannot coerce empty String ("") to `com.semmle.frontend.packs.extensions.AddsTo` value (but could if coercion was enabled using `CoercionConfig`) (C:\repos\felickz\vscode-codeql-starter\CodeQL-Community-Packs\python\ext\generated\ghastoolkit.model.yml:2,14-14)
[2025-05-06 16:34:35] [ERROR] resolve extensions-by-pack> ERROR: Invalid data extension file: Cannot coerce empty String ("") to `com.semmle.frontend.packs.extensions.AddsTo` value (but could if coercion was enabled using `CoercionConfig`) (C:\repos\felickz\vscode-codeql-starter\CodeQL-Community-Packs\python\ext\generated\itsdangerous.model.yml:2,14-14)
[2025-05-06 16:34:35] [ERROR] resolve extensions-by-pack> ERROR: Invalid data extension file: Cannot coerce empty String ("") to `com.semmle.frontend.packs.extensions.AddsTo` value (but could if coercion was enabled using `CoercionConfig`) (C:\repos\felickz\vscode-codeql-starter\CodeQL-Community-Packs\python\ext\generated\openai.model.yml:2,14-14)
[2025-05-06 16:34:35] [ERROR] resolve extensions-by-pack> ERROR: Invalid data extension file: Cannot coerce empty String ("") to `com.semmle.frontend.packs.extensions.AddsTo` value (but could if coercion was enabled using `CoercionConfig`) (C:\repos\felickz\vscode-codeql-starter\CodeQL-Community-Packs\python\ext\generated\pymysql.model.yml:2,14-14)
[2025-05-06 16:34:35] [ERROR] resolve extensions-by-pack> ERROR: Invalid data extension file: Cannot coerce empty String ("") to `com.semmle.frontend.packs.extensions.AddsTo` value (but could if coercion was enabled using `CoercionConfig`) (C:\repos\felickz\vscode-codeql-starter\CodeQL-Community-Packs\python\ext\generated\urllib3.model.yml:2,14-14)
[2025-05-06 16:34:35] [ERROR] resolve extensions-by-pack> ERROR: Invalid data extension file: Cannot coerce empty String ("") to `com.semmle.frontend.packs.extensions.AddsTo` value (but could if coercion was enabled using `CoercionConfig`)
Activity
Hug0Vincent commentedon Mar 31, 2026
I have the same error, did you manage to fix it ?
felickz commentedon Apr 7, 2026
i have this repo cloned as a submodule - I just merged #146 to fix it up after grabbing latest codeql cli .. i no longer see this error
https://github.com/GitHubSecurityLab/CodeQL-Community-Packs/pull/146/changes#diff-543e45feda974ddc5b59eecba11fb336647c130767c9329dba7d602109cf4d70
Hug0Vincent commentedon Apr 8, 2026
Thank you