-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Continue tab is blank (IDEA 2023.2 Win 10) #649
Comments
@schiebelp sorry to see this, could you share what the tab looked like when empty? Also one thing to be sure of, did you check the box in settings for "Manually Running Server" when you were running it yourself? |
@schiebelp This is now solved for good in the latest JetBrains extension. We no longer use the separate Python server, which means that whatever connection / download issue was happening here is no longer possible. Can you confirm that the tab is no longer blank? |
Getting this with the Intellij IDE as well... Edit/correction: i get this when i build the plugin myself so i need to look into my environment... |
@elabbarw Could you share what version of the extension you're running, and which IDE you have? I'm wondering whether this might be separate, especially possibly related to Android Studio |
I tried with the downloads that you already have compiled and they work fine, so it must be something related to how I'm building the plugin myself. Update: Sorted out my JDK, and now I can successfully build and run the plugin without encountering any problems. |
@Rybo-W We now have version 0.0.27 available with a number of fixes since 0.0.25—are you still experiencing this error? If so we're working toward a number of large improvements in 0.0.28, and I'd love to get more info here so I can make sure it gets solved |
@sestinj Thanks for responding. Unfortunately, I experience the exact same problem with version 0.0.26 and 0.0.27.
|
@sestinj thanks for that update! ^^ I just wanted to share, after update. The tab still empty. However! On my work win 10 laptop, it works! |
@schiebelp @Rybo-W thanks for trying. It would be incredibly helpful if you had the chance to check the logs (Help -> Open Logs in Editor) for anything related to Continue, but otherwise will do the best I can to find a similar environment in which to reproduce ![]() |
@sestinj this is all I see in idea.log from PyCharm related to the continue plugin. Installing the continue plugin.
Disabling the continue plugin.
Enabling continue plugin.
|
same here, and here is a error message i found in logs:
EDIT: |
@skydiablo the error you see here has been sometimes solved by changing the JDK used to load the IDE. More info here (what I said about telling the user immediately I think ended up not happening obviously) |
@sestinj thx, you did it! 👍 |
Changing the boot runtime did not solved my issues so I searched for more broad jcef / browser issues and found this and it solved it. flutter/flutter-intellij#7000 (comment)
If it does not work an another person found this:
|
Still getting blank tab with the latest Continue version. I upgraded to 2024.1 PyCharm and now it works! |
I was hit by that bug on Intellij, I found that the 0.0.52 has this issue, while 0.0.50 works fine. Is there any culprit commit? |
OK, So at the time of this happening (blank UI) it looks like Continue.dev is trying to index large files. There is also some decompression going on. I am including 3 files. DefaultDispatcher-worker-2.txt this is a thread stack that has just read some input. DefaultDispatcher-worker-1.txt |
@blinkus2000 thanks for the detail here! Seems like it should let me pretty easily reproduce, and then what we'll probably want to do is just ignore such large files, as they would never be relevant for @ codebase anyway. I'll let you know once I've gotten the chance to try |
Just an aside. If there is file compression going on, you can really spike the cpu if the file is big and the data is not compressible. I am not familiar enough with the com.intellij.util.io.LZ4 stuff to know if you have a way to test for compressibility, but it might be worth looking into. |
In case I missed something in my heap analysis, here is the full thread dump. The only other ... oddity in the heap I could find is in the GlobalMenuLinux loop the runMainLoop function is using default US-ASCII encoding but the options are set to UTF-8, most likely a red herring, but still worth mentioning. |
java.lang.ClassCastException: class com.github.continuedev.continueintellijextension.autocomplete.AutocompleteService cannot be cast to class com.github.continuedev.continueintellijextension.autocomplete.AutocompleteService (com.github.continuedev.continueintellijextension.autocomplete.AutocompleteService is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @340e53c8; com.github.continuedev.continueintellijextension.autocomplete.AutocompleteService is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @27b5a07d) |
Before submitting your bug report
Relevant environment info
Description
I was unable to use it. The Plugin tab is visible but nothing in it.
I noticed in idea.log an exception:
INFO - STDOUT - Starting Continue server binary
INFO - STDERR - java.nio.file.AccessDeniedException: startProcess.vbs
...
...runBinary(ContinuePluginStartupActivity.kt:244)
Found the code 244 is this:
233: val scriptPath = Paths.get("startProcess.vbs")
244: Files.writeString(scriptPath, script)
Which is - I believe - is all about running the server_continue.exe using that vbs code.
So I went for that server and ran it myself. That unfortunatelly did not help as tab was still empty (after IDE restart).
The server communicates though, when IDEA is opened:
INFO: connection open
...appears.
So there seems to be another issue. Which is frustrating, because this would be killer app. I would love to use it with local llm.
To reproduce
Log output
The text was updated successfully, but these errors were encountered: