vscode-codeql: AST Viewing unable to use extracted database bundle's src.zip

Describe the bug When I try to open a large database.zip bundle, I get:

The "start" argument must be of type number. Received type object

Full log:

Starting CodeQL extension
Checking CodeQL version using CodeQL CLI: /home/dave/.config/Code - Insiders/User/globalStorage/github.vscode-codeql/distribution7/codeql/codeql version -v --log-to-stderr --format=terse...
[2020-12-06 16:43:52] This is codeql version -v --log-to-stderr --format=terse
[2020-12-06 16:43:52] Terminating normally.

CLI command succeeded.
Didn't perform CodeQL CLI update check since a check was already performed within the previous 86400 seconds.
Checking CodeQL version using CodeQL CLI: /home/dave/.config/Code - Insiders/User/globalStorage/github.vscode-codeql/distribution7/codeql/codeql version -v --log-to-stderr --format=terse...
[2020-12-06 16:43:53] This is codeql version -v --log-to-stderr --format=terse
[2020-12-06 16:43:53] Terminating normally.

CLI command succeeded.
Found compatible version of CodeQL CLI (version 2.4.0)
Initializing configuration listener...
Initializing CodeQL cli server...
Initializing query server client.
Starting CodeQL CLI Server using CodeQL CLI: /home/dave/.config/Code - Insiders/User/globalStorage/github.vscode-codeql/distribution7/codeql/codeql execute cli-server -v --log-to-stderr
CodeQL CLI Server started on PID: 15256
Resolving RAM settings using CodeQL CLI: resolve ram -v --log-to-stderr --format json...
CLI command succeeded.
[2020-12-06 16:43:54] This is codeql execute cli-server -v --log-to-stderr

Initializing database manager.
Initializing database panel.
Registering database panel commands.
Initializing query history manager.
Registering query history panel commands.
Initializing results panel interface.
Initializing compare panel interface.
Initializing source archive filesystem provider.
Initializing CodeQL language server.
Initializing QLTest interface.
Resolving tests using CodeQL CLI: resolve tests --strict-test-discovery -v --log-to-stderr --format json /mnt/space/mono/master/src...
Registering CodeQL test panel commands.
Registering top-level command palette commands.
Starting language server.
Registering jump-to-definition handlers.
Removing orphaned databases from workspace storage.
Successfully finished extension initialization.
No orphaned databases found.
CLI command succeeded.

The "start" argument must be of type number. Received type object

Additional context

Version: 1.52.0-insider
Commit: 5e350b1b79675cecdff224eb00f7bf62ae8789fc
Date: 2020-12-04T10:15:13.654Z
Electron: 9.3.5
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Linux x64 5.4.0-52-generic

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

Thanks for reporting. It’s certainly possible that #621 is related.

Are you able to work around this by unzip manually and importing the folder?

Also, would you be willing to share the database, so I can try this?