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

Opened projects are empty #7284

Closed
2 tasks done
MichaelMauderer opened this issue Jul 13, 2023 · 6 comments · Fixed by #7285 or #7350
Closed
2 tasks done

Opened projects are empty #7284

MichaelMauderer opened this issue Jul 13, 2023 · 6 comments · Fixed by #7285 or #7350
Assignees
Labels
--bug Type: bug --regression Important: regression g-electron GUI: electron application specific p-highest Should be completed ASAP

Comments

@MichaelMauderer
Copy link
Contributor

Discord username

No response

What type of issue is this?

Permanent – Occurring repeatably

Is this issue blocking you from using Enso?

  • Yes, I can't use Enso because of this issue.

Is this a regression?

  • Yes, previous version of Enso did not have this issue.

What issue are you facing?

When opening a project (new or old does not matter), the IDE stays blank.

Expected behaviour

The project should open.

How we can reproduce it?

Run IDE with ./run ide watch --skip-wasm-opt --ide-option -debug.dev-tools=true --ide-option -debug --backend-source release --backend-release latest --ide-option
Create a new project
Open the project

Screenshots or screencasts

No response

Logs

There are many errors about the shader compilation in the developer console:
image

Enso Version

develop

Browser or standalone distribution

Standalone distribution (local project)

Browser Version or standalone distribution

standalone

Operating System

Linux

Operating System Version

Manjaro

Hardware you are using

No response

@MichaelMauderer MichaelMauderer added p-highest Should be completed ASAP --bug Type: bug -gui --regression Important: regression triage g-electron GUI: electron application specific labels Jul 13, 2023
@MichaelMauderer
Copy link
Contributor Author

I will be opening a PR to fix this in a few minutes. It seems this is fixed by a bump of the electron version.

@Akirathan
Copy link
Member

Reopening the issue, since I can still reproduce it on all the nightly AppImages that I have locally (on the screenshot):
image

And also on my local build run ide build from 07-21.

Running the AppImage with -window=false and attaching with my browser works as expected. My once I try to open or create any project in the electron app, I just have a blank screen with the same errors on the console mentioned in the issue description.

My Specs:

Fedora 38
Kernel 6.4.6-200
Thinkpad P1 Gen 4
CPU:  Intel i7-11800H 11th Gen
GPU:  NVIDIA Quadro RTX A2000 4GB VRAM

@farmaazon
Copy link
Contributor

Another bump is required. I've already done it in #7350 .

@farmaazon farmaazon linked a pull request Jul 31, 2023 that will close this issue
5 tasks
@mergify mergify bot closed this as completed in #7350 Jul 31, 2023
@kazcw
Copy link
Contributor

kazcw commented Jul 31, 2023

This problem presented a bit differently on my machine (Linux); I'll note it here in case something like this happens again:

  • The Electron IDE opens blank. Devtools can be opened (either with the shortcut or the CLI option), but the devtools window is also blank.
  • The problem started occurring for all new builds, even of old versions. Old builds of old versions still work.
  • The problem is fixed by the electron version bump in Fix Component Browser Preview #7441.

@somebody1234
Copy link
Contributor

Oh, so this is what I ran into last week (the shader issue mentioned in the OP, also Linux).
For some reason, the next day it was working fine again.

(For posterity: the error message in the screenshot is "Unable to compile shader program".)

@enso-bot
Copy link

enso-bot bot commented Aug 1, 2023

Keziah Wesley reports a new STANDUP for the last Friday (2023-07-28):

Progress: Spent most of the time debugging why I couldn't build a working IDE anymore; it turned out to be a different presentation of the time-traveling Electron bug. It should be finished by 2023-07-28.

Next Day: Next day I will be working on the #7197 task. Enso font.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
--bug Type: bug --regression Important: regression g-electron GUI: electron application specific p-highest Should be completed ASAP
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants