Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

`no result from server` message

Open
#895 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
typescript, vscode

Research direction

Reproduce the quick query using quick-query.ql and inspect the CodeQL CLI resolve-tests output alongside the query server log. Done means the quick query completes without “No result from server” and returns its result.

Written by the indexing model from the issue text.

Description

bug VSCode

Describe the bug

Received message no result from server on running a quick query.

Immediately preceding extension log:

[2021-07-01 08:29:46] [DETAILS] resolve qlpacks> Scanning for qlpack.yml from /Users/chris/vscode-codeql-starter/codeql-custom-queries-cpp/
[2021-07-01 08:29:46] [DETAILS] resolve qlpacks> Scanning for qlpack.yml from /Users/chris/vscode-codeql-starter/codeql-custom-queries-csharp/
[2021-07-01 08:29:46] [DETAILS] resolve qlpacks> Scanning for qlpack.yml from /Users/chris/vscode-codeql-starter/codeql-custom-queries-go/
[2021-07-01 08:29:46] [DETAILS] resolve qlpacks> Scanning for qlpack.yml from /Users/chris/vscode-codeql-starter/codeql-custom-queries-java/
[2021-07-01 08:29:46] [DETAILS] resolve qlpacks> Scanning for qlpack.yml from /Users/chris/vscode-codeql-starter/codeql-custom-queries-javascript/
[2021-07-01 08:29:46] [DETAILS] resolve qlpacks> Scanning for qlpack.yml from /Users/chris/vscode-codeql-starter/codeql-custom-queries-python/
[2021-07-01 08:29:46] [DETAILS] resolve qlpacks> Scanning for qlpack.yml from /Users/chris/codeql-home/codeql-go/.codeqlmanifest.json
[2021-07-01 08:29:46] [DETAILS] resolve qlpacks> Scanning for qlpack.yml from /Users/chris/codeql-home/codeql-other-languages/.codeqlmanifest.json
[2021-07-01 08:29:46] [DETAILS] resolve qlpacks> Scanning for qlpack.yml from /Users/chris/Library/Application Support/Code/User/workspaceStorage/8b2016577f9fd01e087415729b1db3e6/GitHub.vscode-codeql/quick-queries/
[2021-07-01 08:29:46] [DETAILS] resolve qlpacks> Not scanning from /Users/chris/codeql-home/codeql-go which is already done.
[2021-07-01 08:29:46] [DETAILS] resolve qlpacks> Scanning for qlpack.yml from /Users/chris/codeql-home/codeql/.codeqlmanifest.json
[2021-07-01 08:29:46] [DETAILS] resolve qlpacks> Scanning for qlpack.yml from /Users/chris/codeql-home/
[2021-07-01 08:29:46] [DETAILS] resolve qlpacks> Not scanning from /Users/chris/codeql-home/codeql-other-languages which is already done.
[2021-07-01 08:29:46] [DETAILS] resolve qlpacks> Scanning for qlpack.yml from /Users/chris/codeql-home/codeql.old/.codeqlmanifest.json
[2021-07-01 08:29:46] [DETAILS] resolve qlpacks> Not scanning from /Users/chris/codeql-home/codeql which is already done.
[2021-07-01 08:29:46] [DETAILS] resolve qlpacks> Not scanning from /Users/chris/codeql-home/codeql-go which is already done.

Resolving tests using CodeQL CLI: resolve tests --strict-test-discovery -v --log-to-stderr --format json /Users/chris/Library/Application Support/Code/User/workspaceStorage/8b2016577f9fd01e087415729b1db3e6/GitHub.vscode-codeql/quick-queries...
CLI command succeeded.

Resolving tests using CodeQL CLI: resolve tests --strict-test-discovery -v --log-to-stderr --format json /Users/chris/Library/Application Support/Code/User/workspaceStorage/8b2016577f9fd01e087415729b1db3e6/GitHub.vscode-codeql/quick-queries...
CLI command succeeded.

Resolving tests using CodeQL CLI: resolve tests --strict-test-discovery -v --log-to-stderr --format json /Users/chris/Library/Application Support/Code/User/workspaceStorage/8b2016577f9fd01e087415729b1db3e6/GitHub.vscode-codeql/quick-queries...
CLI command succeeded.

Resolving tests using CodeQL CLI: resolve tests --strict-test-discovery -v --log-to-stderr --format json /Users/chris/Library/Application Support/Code/User/workspaceStorage/8b2016577f9fd01e087415729b1db3e6/GitHub.vscode-codeql/quick-queries...
CLI command succeeded.

Resolving tests using CodeQL CLI: resolve tests --strict-test-discovery -v --log-to-stderr --format json /Users/chris/Library/Application Support/Code/User/workspaceStorage/8b2016577f9fd01e087415729b1db3e6/GitHub.vscode-codeql/quick-queries...
CLI command succeeded.

Resolving tests using CodeQL CLI: resolve tests --strict-test-discovery -v --log-to-stderr --format json /Users/chris/Library/Application Support/Code/User/workspaceStorage/8b2016577f9fd01e087415729b1db3e6/GitHub.vscode-codeql/quick-queries...
CLI command succeeded.

Resolving tests using CodeQL CLI: resolve tests --strict-test-discovery -v --log-to-stderr --format json /Users/chris/Library/Application Support/Code/User/workspaceStorage/8b2016577f9fd01e087415729b1db3e6/GitHub.vscode-codeql/quick-queries...
CLI command succeeded.

Resolving tests using CodeQL CLI: resolve tests --strict-test-discovery -v --log-to-stderr --format json /Users/chris/Library/Application Support/Code/User/workspaceStorage/8b2016577f9fd01e087415729b1db3e6/GitHub.vscode-codeql/quick-queries...
CLI command succeeded.

Resolving tests using CodeQL CLI: resolve tests --strict-test-discovery -v --log-to-stderr --format json /Users/chris/Library/Application Support/Code/User/workspaceStorage/8b2016577f9fd01e087415729b1db3e6/GitHub.vscode-codeql/quick-queries...
CLI command succeeded.

Resolving tests using CodeQL CLI: resolve tests --strict-test-discovery -v --log-to-stderr --format json /Users/chris/Library/Application Support/Code/User/workspaceStorage/8b2016577f9fd01e087415729b1db3e6/GitHub.vscode-codeql/quick-queries...
CLI command succeeded.

Resolving library paths using CodeQL CLI: resolve library-path -v --log-to-stderr --format json --query /Users/chris/Library/Application Support/Code/User/workspaceStorage/8b2016577f9fd01e087415729b1db3e6/GitHub.vscode-codeql/quick-queries/quick-query.ql --additional-packs /Users/chris/vscode-codeql-starter/codeql-custom-queries-cpp:/Users/chris/vscode-codeql-starter/codeql-custom-queries-csharp:/Users/chris/vscode-codeql-starter/codeql-custom-queries-go:/Users/chris/vscode-codeql-starter/codeql-custom-queries-java:/Users/chris/vscode-codeql-starter/codeql-custom-queries-javascript:/Users/chris/vscode-codeql-starter/codeql-custom-queries-python:/Users/chris/codeql-home/codeql-go:/Users/chris/codeql-home/codeql-other-languages:/Users/chris/Library/Application Support/Code/User/workspaceStorage/8b2016577f9fd01e087415729b1db3e6/GitHub.vscode-codeql/quick-queries...
CLI command succeeded.
[2021-07-01 08:30:12] [DETAILS] resolve library-path> Resolving query at normalized path /Users/chris/Library/Application Support/Code/User/workspaceStorage/8b2016577f9fd01e087415729b1db3e6/GitHub.vscode-codeql/quick-queries/quick-query.ql.
[2021-07-01 08:30:12] [DETAILS] resolve library-path> Found enclosing pack 'quick-query' at /Users/chris/Library/Application Support/Code/User/workspaceStorage/8b2016577f9fd01e087415729b1db3e6/GitHub.vscode-codeql/quick-queries.
[2021-07-01 08:30:12] [DETAILS] resolve library-path> Adding compilation cache at /Users/chris/Library/Application Support/Code/User/workspaceStorage/8b2016577f9fd01e087415729b1db3e6/GitHub.vscode-codeql/quick-queries/.cache.
[2021-07-01 08:30:12] [DETAILS] resolve library-path> Resolving library dependencies from /Users/chris/Library/Application Support/Code/User/workspaceStorage/8b2016577f9fd01e087415729b1db3e6/GitHub.vscode-codeql/quick-queries/qlpack.yml.
[2021-07-01 08:30:12] [DETAILS] resolve library-path> QL pack dependencies for /Users/chris/Library/Application Support/Code/User/workspaceStorage/8b2016577f9fd01e087415729b1db3e6/GitHub.vscode-codeql/quick-queries resolved OK.
[2021-07-01 08:30:12] [DETAILS] resolve library-path> Found dbscheme through QL packs: /Users/chris/codeql-home/codeql-other-languages/javascript/ql/src/semmlecode.javascript.dbscheme.

Resolving query metadata using CodeQL CLI: resolve metadata -v --log-to-stderr --format json /Users/chris/Library/Application Support/Code/User/workspaceStorage/8b2016577f9fd01e087415729b1db3e6/GitHub.vscode-codeql/quick-queries/quick-query.ql...
CLI command succeeded.

Resolving database upgrade scripts using CodeQL CLI: resolve upgrades -v --log-to-stderr --format json --additional-packs /Users/chris/vscode-codeql-starter/codeql-custom-queries-cpp:/Users/chris/vscode-codeql-starter/codeql-custom-queries-csharp:/Users/chris/vscode-codeql-starter/codeql-custom-queries-go:/Users/chris/vscode-codeql-starter/codeql-custom-queries-java:/Users/chris/vscode-codeql-starter/codeql-custom-queries-javascript:/Users/chris/vscode-codeql-starter/codeql-custom-queries-python:/Users/chris/codeql-home/codeql-go:/Users/chris/codeql-home/codeql-other-languages:/Users/chris/Library/Application Support/Code/User/workspaceStorage/8b2016577f9fd01e087415729b1db3e6/GitHub.vscode-codeql/quick-queries --dbscheme /private/tmp/x/db/db-javascript/semmlecode.javascript.dbscheme --target-dbscheme /Users/chris/codeql-home/codeql-other-languages/javascript/ql/src/semmlecode.javascript.dbscheme --allow-downgrades...
CLI command succeeded.
[2021-07-01 08:30:12] [DETAILS] resolve upgrades> Searching for upgrades that apply to fbd45f6b3c6f79d732d0e30a92ea5cee438a1a3e.
[2021-07-01 08:30:12] [DETAILS] resolve upgrades> Will look for upgrades in /Users/chris/codeql-home/codeql-go/upgrades
[2021-07-01 08:30:12] [DETAILS] resolve upgrades> Will look for upgrades in /Users/chris/codeql-home/codeql-other-languages/python/upgrades
[2021-07-01 08:30:12] [DETAILS] resolve upgrades> Will look for upgrades in /Users/chris/codeql-home/codeql-other-languages/java/upgrades
[2021-07-01 08:30:12] [DETAILS] resolve upgrades> Will look for upgrades in /Users/chris/codeql-home/codeql-other-languages/cpp/upgrades
[2021-07-01 08:30:12] [DETAILS] resolve upgrades> Will look for upgrades in /Users/chris/codeql-home/codeql-other-languages/csharp/upgrades
[2021-07-01 08:30:12] [DETAILS] resolve upgrades> Will look for upgrades in /Users/chris/codeql-home/codeql-other-languages/javascript/upgrades
[2021-07-01 08:30:12] [DETAILS] resolve upgrades> Will look for upgrades in /Users/chris/codeql-home/codeql/legacy-upgrades/upgrades

Resolving tests using CodeQL CLI: resolve tests --strict-test-discovery -v --log-to-stderr --format json /Users/chris/Library/Application Support/Code/User/workspaceStorage/8b2016577f9fd01e087415729b1db3e6/GitHub.vscode-codeql/quick-queries...
CLI command succeeded.

Resolving tests using CodeQL CLI: resolve tests --strict-test-discovery -v --log-to-stderr --format json /Users/chris/Library/Application Support/Code/User/workspaceStorage/8b2016577f9fd01e087415729b1db3e6/GitHub.vscode-codeql/quick-queries...
CLI command succeeded.

Resolving tests using CodeQL CLI: resolve tests --strict-test-discovery -v --log-to-stderr --format json /Users/chris/Library/Application Support/Code/User/workspaceStorage/8b2016577f9fd01e087415729b1db3e6/GitHub.vscode-codeql/quick-queries...
CLI command succeeded.

Resolving tests using CodeQL CLI: resolve tests --strict-test-discovery -v --log-to-stderr --format json /Users/chris/Library/Application Support/Code/User/workspaceStorage/8b2016577f9fd01e087415729b1db3e6/GitHub.vscode-codeql/quick-queries...
CLI command succeeded.

Resolving tests using CodeQL CLI: resolve tests --strict-test-discovery -v --log-to-stderr --format json /Users/chris/Library/Application Support/Code/User/workspaceStorage/8b2016577f9fd01e087415729b1db3e6/GitHub.vscode-codeql/quick-queries...
CLI command succeeded.

Resolving tests using CodeQL CLI: resolve tests --strict-test-discovery -v --log-to-stderr --format json /Users/chris/Library/Application Support/Code/User/workspaceStorage/8b2016577f9fd01e087415729b1db3e6/GitHub.vscode-codeql/quick-queries...
No result from server
No result from server

Query server log:

#select#query#fffffff(/* DataFlow::DataFlow::Node */ cached TNode n,
                      string n#toString, string n#file_name, int n#start_line,
                      int n#start_col, int n#end_line, int n#end_col)
:-
  exists(/* Variables::VarAccess */ cached entity va |
    @varaccess#f(va),
    exists(cached string arg0, cached dontcare string _ |
      arg0 = "foo", literals(arg0, _, va)
    ),
    DataFlowNode::TValueNode(va, n)
  ),
  (
    DataFlow::DataFlow::Node::toString_dispred(n, n#toString);
    (
      not(project#DataFlow::DataFlow::Node::toString_dispred(n)),
      n#toString = "(no string representation)"
    )
  ),
  (
    DataFlow::DataFlow::Node::hasLocationInfo_dispred(n, n#file_name,
                                                      n#start_line, n#start_col,
                                                      n#end_line, n#end_col);
    (
      not(project#DataFlow::DataFlow::Node::hasLocationInfo_dispred(n)),
      n#file_name = "",
      n#start_line = 0,
      n#start_col = 0,
      n#end_line = 0,
      n#end_col = 0
    )
  )
.

query #select = #select#query#fffffff/7 .
[2021-07-01 08:30:35] Stored compiled program for 1bf7f4baf680ab75c37bb2c29dd7fa8d294c7d6b.
[2021-07-01 08:30:35] CSV_COMPILATION: NONE,MISC,RA_TRANSLATION,OPTIMISATIONS
[2021-07-01 08:30:35] CSV_COMPILATION: 643,492,4232,9093
 - - - COMPILATION DONE - - - 

Version
CLI v2.5.5
Extension v1.5.1
VSCode v1.57.1
Platform: OSX Big Sur (11.4)

Dominant language
TypeScript
Stars
539
Forks
240
Avg merge
2d 18h
Merged PRs (30d)
37

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/vscode-codeql

All issues in github/vscode-codeql

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.