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

Visualizations close immediately on opening (Mac M1) #7574

Closed
1 of 2 tasks
GregoryTravis opened this issue Aug 11, 2023 · 11 comments
Closed
1 of 2 tasks

Visualizations close immediately on opening (Mac M1) #7574

GregoryTravis opened this issue Aug 11, 2023 · 11 comments
Assignees
Labels
--bug Type: bug

Comments

@GregoryTravis
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 I open a node's viz (with spacebar or the button), the viz window opens and immediately closes.

This happens both in my local build (5d6f902) and with 2023.2.1-nightly.2023.8.11.

Expected behaviour

I expect the viz to stay open and show a value.

How we can reproduce it?

  • Start the IDE
  • Create a new project
  • Create a node with just 12 in it
  • Open the node's visualization.

Screenshots or screencasts

Screen.Recording.2023-08-11.at.4.32.24.PM.mov

Logs

20230811-203149-618-enso-project-manager.log

Enso Version

2023.2.1-nightly.2023.8.11

Browser or standalone distribution

Standalone distribution (local project)

Browser Version or standalone distribution

standalone

Operating System

MacOS

Operating System Version

Monterey 12.6.3

Hardware you are using

MacBook Air (M1, 2020)

@hubertp
Copy link
Contributor

hubertp commented Aug 14, 2023

Is there any chance you could also get GUI console logs as well? It does not appear that backend receives a single AttachVisualization request so I suspect GUI might be at fault.

@GregoryTravis
Copy link
Contributor Author

@vitvakatu
Copy link
Contributor

Oh, that's weird, it looks like #7531, but on the video, I don't see a particularly small window.

@hubertp hubertp added the -gui label Aug 15, 2023
@GregoryTravis
Copy link
Contributor Author

Is there any more info I can provide? This is happening consistently, in my local build as well as in nightly standalone builds. I can't use the IDE at all.

@vitvakatu
Copy link
Contributor

A potential fix is here: #7594, but the real issue may differ.

@vitvakatu
Copy link
Contributor

@GregoryTravis could you check if the issue is still present on the most recent develop?

@GregoryTravis
Copy link
Contributor Author

This is still happening for me.

localhost-1692307744747.log
2023-08-17T21-27-02.489Z-ide-2023.2.1-dev.log

@vitvakatu
Copy link
Contributor

GUI logs look concerning, but it is not reproducible for me, and backtraces do not include debug information.

@GregoryTravis could you use ./run watch --skip-wasm-opt --wasm-profile=dev command for your local build, and post the console logs here? This way, we will have backtrace information. ./run watch has basically the same arguments as ./run build, but to pass additional flags to the application, you need to use the --ide-option flag. E.g. ./run ide watch --backend-source=release --backend-release="2023.2.1-nightly.2023.8.8" --skip-wasm-opt --wasm-profile=dev --ide-option -debug --ide-option -debug.dev-tools.

@GregoryTravis
Copy link
Contributor Author

@vitvakatu
Copy link
Contributor

For now, looks like the issue comes from the old engine being used. @GregoryTravis please check with the latest engine, creating a new project.

@GregoryTravis
Copy link
Contributor Author

Yes, that was the problem. I'm not sure why all new projects are created with the 5.11 engine. In this case, Normally I run the backend with built-distribution/enso-project-manager-0.0.0-dev-macos-amd64/enso/bin/project-manager -v and the frontend with dist/ide/mac-arm64/Enso.app/Contents/MacOS/Enso -engine=false.

@github-project-automation github-project-automation bot moved this from ❓New to 🟢 Accepted in Issues Board Aug 18, 2023
@vitvakatu vitvakatu removed the triage label Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
--bug Type: bug
Projects
Archived in project
Development

No branches or pull requests

3 participants