continue icon indicating copy to clipboard operation
continue copied to clipboard

fix: An error occurred while loading view: continue.continueGUIView

Open smmzyl opened this issue 6 months ago • 5 comments

Before Submitting


Environment

  • OS: Windows 10
  • Continue: VS Code Extension
  • VS Code Version: 1.99.2

Description

After pulling the project and building it locally, running the extension in VS Code results in the following error when loading the GUI: An error occurred while loading view: continue.continueGUIView

Root Cause

The issue is caused by the webview property not being set on the webview protocol object. This prevents communication between the extension backend and the Webview, resulting in the GUI failing to initialize and throwing the error.

Reproduction Notes

This bug occurs only the first time the view is initialized. Once the Webview communication has been successfully established, VS Code caches the state.


Suggested Fix

Ensure that the webview instance is correctly assigned to the protocol object during initialization so that communication can be established reliably on first load.

smmzyl avatar Jun 13 '25 09:06 smmzyl

Your cubic subscription is currently inactive. Please reactivate your subscription to receive AI reviews and use cubic.

cubic-dev-ai[bot] avatar Jun 13 '25 09:06 cubic-dev-ai[bot]

Deploy Preview for continuedev canceled.

Name Link
Latest commit 812a902daa0897162c80c96f95e6d3bfee3d0544
Latest deploy log https://app.netlify.com/projects/continuedev/deploys/684bf0852ffafb00080dd2c6

netlify[bot] avatar Jun 13 '25 09:06 netlify[bot]


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


yiliang.zhang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

github-actions[bot] avatar Jun 13 '25 09:06 github-actions[bot]

我已阅读 CLA 文件并在此签署 CLA

smmzyl avatar Jun 13 '25 09:06 smmzyl

✨ No issues found! Your code is sparkling clean! ✨

recurseml[bot] avatar Jun 13 '25 20:06 recurseml[bot]

@RomneyDa When can the PR be merged into the master? Thanks for your hard work.

smmzyl avatar Jun 22 '25 14:06 smmzyl

@smmzyl Thanks for the PR and for sending the CLA message. Can you send the exact message that is given please? Without this the bot won't let us merge.

You should copy and paste exactly this: "I have read the CLA Document and I hereby sign the CLA"

sestinj avatar Jul 04 '25 01:07 sestinj

@smmzyl looking to merge this but this test is failing persistently. Can you pull main and repush?

EDIT did this

RomneyDa avatar Jul 11 '25 06:07 RomneyDa

@sestinj passing to you since I now have a commit on it

RomneyDa avatar Jul 13 '25 19:07 RomneyDa

@smmzyl noticed the conversation got locked somehow, unlocked

RomneyDa avatar Jul 13 '25 19:07 RomneyDa

:tada: This PR is included in version 1.1.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

sestinj avatar Jul 22 '25 05:07 sestinj