skip to Main Content

My Gemini Code Assistant in VSCode used to suggest code, even if it wasn’t always helpful. But a few days ago, it stopped working entirely. Clicking the start button brings up a chat window, but nothing happens when I type anything in it.

After investigating in ‘Tasks’ output I notice that error is:
mainThreadExtensionService.ts:81 [googlecloudtools.cloudcode]The "this" argument must be an instance of Performance. Received [Object]

Somehow it complains about this argument and it seems to be main reason why it is stop working..

After I try to restart/update/install/uninstall the extension now it could not even ‘Login to Google Cloud’ as in this screenshot with the same error.

enter image description here

May be someone knows a workaround ? I already update Nodejs to the latest. I am running on Windows 11. Visual Studio Code Insiders version is:

Version: 1.90.0-insider (user setup)
Commit: 5e68ffd760038bb156894a87f896910be510accd
Date: 2024-05-15T08:29:12.858Z (11 hrs ago)
Electron: 29.3.1
ElectronBuildId: 9464424
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.22631

2

Answers


  1. thanks for reporting this bug, this issue should now be fixed on 2.11.3.

    Login or Signup to reply.
  2. I am trying to update 2.11.3 Gemini Code Assist Its failing and log output ia as below

    2024-06-08 23:01:39.545 [error] Error: EPERM: operation not permitted, rename ‘c:UsersdellAppDataRoamingCodeCachedExtensionVSIXs.742bf56c-cc9e-41a3-890e-af7de4fa2ce3’ -> ‘c:UsersdellAppDataRoamingCodeCachedExtensionVSIXsgooglecloudtools.cloudcode-2.11.3’
    2024-06-08 23:01:40.246 [error] EPERM: operation not permitted, rename ‘c:UsersdellAppDataRoamingCodeCachedExtensionVSIXs.742bf56c-cc9e-41a3-890e-af7de4fa2ce3’ -> ‘c:UsersdellAppDataRoamingCodeCachedExtensionVSIXsgooglecloudtools.cloudcode-2.11.3’: Error: EPERM: operation not permitted, rename ‘c:UsersdellAppDataRoamingCodeCachedExtensionVSIXs.742bf56c-cc9e-41a3-890e-af7de4fa2ce3’ -> ‘c:UsersdellAppDataRoamingCodeCachedExtensionVSIXsgooglecloudtools.cloudcode-2.11.3’
    2024-06-08 23:12:07.356 [error] Error: EPERM: operation not permitted, rename ‘c:UsersdellAppDataRoamingCodeCachedExtensionVSIXs.51e813a0-5484-4917-ad5c-1fbf17666eb5’ -> ‘c:UsersdellAppDataRoamingCodeCachedExtensionVSIXsgooglecloudtools.cloudcode-2.11.3’
    2024-06-08 23:12:07.384 [error] EPERM: operation not permitted, rename ‘c:UsersdellAppDataRoamingCodeCachedExtensionVSIXs.51e813a0-5484-4917-ad5c-1fbf17666eb5’ -> ‘c:UsersdellAppDataRoamingCodeCachedExtensionVSIXsgooglecloudtools.cloudcode-2.11.3’: Error: EPERM: operation not permitted, rename ‘c:UsersdellAppDataRoamingCodeCachedExtensionVSIXs.51e813a0-5484-4917-ad5c-1fbf17666eb5’ -> ‘c:UsersdellAppDataRoamingCodeCachedExtensionVSIXsgooglecloudtools.cloudcode-2.11.3’
    2024-06-08 23:18:35.133 [error] There are no commenting ranges at the current position (with range).: Error: There are no commenting ranges at the current position (with range).
    at K.addCommentAtLine (vscode-file://vscode-app/d:/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:2115:2642)

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search