Skip to content
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

Black ChatGPT View #21

Open
Markus-Schaller opened this issue Jan 18, 2024 · 8 comments
Open

Black ChatGPT View #21

Markus-Schaller opened this issue Jan 18, 2024 · 8 comments

Comments

@Markus-Schaller
Copy link

Hi,
not sure if it is a known issue, but I have a problem with ChatGPT View.

API-key is set (works with other implementations)
Model name: gpt-4
Eclipse Version: 2023-12 (4.30.0) Build id: 20231201-2043

The ChatGPT View is black, nothing to see on it.
I have tried all features of the plugin (discuss, refactor, ....) but nothing happens (at least I cannot see anything).

BR Markus

@jukofyork
Copy link
Contributor

Hi, not sure if it is a known issue, but I have a problem with ChatGPT View.

API-key is set (works with other implementations) Model name: gpt-4 Eclipse Version: 2023-12 (4.30.0) Build id: 20231201-2043

The ChatGPT View is black, nothing to see on it. I have tried all features of the plugin (discuss, refactor, ....) but nothing happens (at least I cannot see anything).

BR Markus

Are you using Linux, and if so are all the other browser widgets also broken in your eclipse? Try opening up the welcome page and see if it's also just black/grey? If so then it's a known problem and you have to set an environment variable to turn off the Linux compositor.

@Markus-Schaller
Copy link
Author

Hi,

no I am using Win 10. I found out that i can use the prompt in the window, but it is not possible to send selected data to the prompt. I am using ABAP ADT Extensions, which connects to a SAP Backend System. The sources are not stored in a local repository. Maybe it has to do with that? But why is passing code from clipboard also not working?

@pinakipatrapro
Copy link

Hi,

no I am using Win 10. I found out that i can use the prompt in the window, but it is not possible to send selected data to the prompt. I am using ABAP ADT Extensions, which connects to a SAP Backend System. The sources are not stored in a local repository. Maybe it has to do with that? But why is passing code from clipboard also not working?

Facing the same issue here. If i try with an html file it works but not with ABAP

@jukofyork
Copy link
Contributor

Have you looked in the main eclipse log? Is it throwing an exception that has something like eclipse.e4.di in the name? If so then I think it's the same dependantcy injection problem as I had.

@Markus-Schaller
Copy link
Author

Actually it seems that literally nothing is happening. I looked the error log in the IDE and also the logfile in the eclipse-workspace, but there are no errors thrown when I mark a snippet and choose "Discuss" or "Refactr" from the context menu.

@pbtsrc
Copy link

pbtsrc commented Apr 7, 2024

For anyone who faced a similar issue in Linux.
Environment variable WEBKIT_DISABLE_DMABUF_RENDERER=1 solves the problem.

eclipse-platform/eclipse.platform.swt#843 (comment)

@jukofyork
Copy link
Contributor

jukofyork commented Apr 7, 2024

For anyone who faced a similar issue in Linux. Environment variable WEBKIT_DISABLE_DMABUF_RENDERER=1 solves the problem.

eclipse-platform/eclipse.platform.swt#843 (comment)

Yeah, either:

export WEBKIT_DISABLE_COMPOSITING_MODE=1

or:

export WEBKIT_DISABLE_DMABUF_RENDERER=1

Works to stop this.

You can tell if you are effected by this Eclipse bug as the main 'Welcome Screen' will also be blank/grey/black too.

Interestingly I've just moved to using the latest Eclipse version on XFCE in Debian 12 and this bug seems to have resolved itself for me (previously on XFCE in Debian 10 I got this for all version of Eclipse I tried).

@RemilYoucef
Copy link

RemilYoucef commented Sep 16, 2024

is there any solution for Windows ?
it pops up the error :

null
org.eclipse.e4.ui.workbench
Error
Request failed with status code: 400 and response body: {"error":{"message":"'messages.2' : for 'role:assistant' the following must be satisfied[('messages.2.content' : value must be a string)]","type":"invalid_request_error"}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants