question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

unknown error: call function result missing int 'status'

See original GitHub issue

Context

I’m trying to launch a VS Code window using Spectron. Here’s the setup:

  app = new Application({
    path: vscodeExecutablePath,
    args: [
      "--no-sandbox",
      "--disable-updates",
      "--skip-welcome",
      "--skip-release-notes",
      "--disable-workspace-trust",
      `--extensionDevelopmentPath=${extensionPath}`,
    ],
    requireName: "nodeRequire",
  });

The VS Code version I’m launching is 1.66.2 with the following environment:

ersion: 1.66.2 (Universal)
Commit: dfd34e8260c270da74b5c2d86d61aee4b6d56977
Date: 2022-04-11T07:49:20.994Z (1 wk ago)
Electron: 17.2.0
Chromium: 98.0.4758.109
Node.js: 16.13.0
V8: 9.8.177.11-electron.0
OS: Darwin arm64 21.2.0

I confirm that vscodeExecutablePath is correct as I see the window launching. Yet the app.start() throws the following error:

    [0   chromedriver                        0x0000000100cb8954 chromedriver + 4196692
    1   chromedriver                        0x0000000100c4bf64 chromedriver + 3751780
    2   chromedriver                        0x00000001008da894 chromedriver + 141460
    3   chromedriver                        0x00000001008dd230 chromedriver + 152112
    4   chromedriver                        0x00000001008dd0d8 chromedriver + 151768
    5   chromedriver                        0x00000001008dd948 chromedriver + 153928
    6   chromedriver                        0x000000010092cc78 chromedriver + 478328
    7   chromedriver                        0x000000010092c40c chromedriver + 476172
    8   chromedriver                        0x00000001008fd990 chromedriver + 285072
    9   chromedriver                        0x00000001008fe430 chromedriver + 287792
    10  chromedriver                        0x0000000100c78b40 chromedriver + 3935040
    11  chromedriver                        0x0000000100c91320 chromedriver + 4035360
    12  chromedriver                        0x0000000100c9601c chromedriver + 4055068
    13  chromedriver                        0x0000000100c91b68 chromedriver + 4037480
    14  chromedriver                        0x0000000100c6e7d8 chromedriver + 3893208
    15  chromedriver                        0x0000000100caada4 chromedriver + 4140452
    16  chromedriver                        0x0000000100caaf18 chromedriver + 4140824
    17  chromedriver                        0x0000000100cbf1a8 chromedriver + 4223400
    18  libsystem_pthread.dylib             0x0000000181cbd240 _pthread_start + 148
    19  libsystem_pthread.dylib             0x0000000181cb8024 thread_start + 8
    ] {
      name: 'unknown error'
    } unknown error: call function result missing int 'status'
      (Session info: chrome=98.0.4758.109)

Dependencies

{
  "spectron": "19.0.0"
}

Transient dependencies:

  └─┬ spectron@19.0.0
    └── webdriverio@7.16.13

  └─┬ spectron@19.0.0
    └── electron-chromedriver@17.0.0

Things I’ve tried

  • Ensured I’m using the correct Spectron version in regards to the Electron version I’m trying to render.
  • Ensured I’m using the correct chromedriver (you can see in the error trace that the version of the chromedriver and the Chromium version used by VS Code are the same).

Expected behavior

I can launch the given VS Code executable without issues.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
arossettercommented, May 24, 2022

@kettanaito we’re not likely to get replies from the maintainers as Spectron is deprecated (https://github.com/electron-userland/spectron/issues/1045) but I’ll definitely return here if I figure something out on my end.

0reactions
kettanaitocommented, May 24, 2022

Hey, @arossetter. Alas, I’m stuck on this as well. Sadly, there’s been no replies from the project’s maintainers. I’d really love to hear some suggestions on how to debug this at least. Same here: if you find anything that moves you forward please let me know!

Read more comments on GitHub >

github_iconTop Results From Across the Web

unknown error: call function result missing 'value' - Stack ...
It turns out I had an old chromedriver installed. Specifically, I was using chrome=65.0.3325.51 with chromedriver=2.29.461585 . Running npm ...
Read more >
"unknown error: call function result missing 'value'" · Issue #2631
The problem At my work, we use webdriverio with chrome. It appears that the chromedriver may be sending responses back that webdriverio ...
Read more >
unknown error call function result missing value for Selenium ...
I am getting the below error while sending keys. Result Message: System.InvalidOperationException : unknown ... code search for 2.33?
Read more >
unknown error: call function result missing 'value' for Selenium ...
Download the latest version of the ChromeDriver, as per 2019 the ChromeDriver's latest version is either 76.0.3809.25 or 76.0.3809.12.
Read more >
Message: unknown error: call function result missing 'value ...
Best coding solution for query WebDriverException: Message: unknown error: call function result missing 'value' -- after running send_keys and updating ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found