activity-browser icon indicating copy to clipboard operation
activity-browser copied to clipboard

[MacOS] No graph view/Sankey

Open marc-vdm opened this issue 3 years ago • 5 comments

When opening graph view this error is thrown:

[5372:44807:0210/105819.518910:ERROR:gl_context_cgl.cc(136)] Error creating context.

[5372:44807:0210/105819.518945:ERROR:gles2_command_buffer_stub.cc(262)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.

MacOS version: 10.14.6 Mojave Screenshot 2021-02-10 at 11 10 14 AM Screenshot 2021-02-10 at 11 10 26 AM

marc-vdm avatar Feb 10 '21 10:02 marc-vdm

I can confirm this on a Windows PC... I think it is an old bug that came back that the graph only shows the second time you load something for the graph explorer...

bsteubing avatar Mar 04 '21 17:03 bsteubing

Should hopefully be resolved by #552.

dgdekoning avatar Mar 05 '21 11:03 dgdekoning

@dgdekoning @bsteubing I have a student who still experiences this problem. AB does not show the welcome screen, sankey diagrams or graph view. The student is using the latest version of AB (2.6.7, installed yesterday via conda) on macOS Big Sur version 11.6.

Console log:

-hiding tab: History

DevTools listening on ws://127.0.0.1:3999/devtools/browser/6382cdab-9715-4107-a1f6-249e9cc7e95f
-hiding tab: Activity Details
-hiding tab: Characterization Factors
-hiding tab: Graph Explorer
-hiding tab: LCA results
qt.qpa.drawing: Layer-backing can not be explicitly controlled on 10.14 when built against the 10.14 SDK
Reset project settings directory to: /Users/student/Library/Application Support/Brightway3/default.c21f969b5f03d33d43e04f8f136e7682
Loading user settings:
dirpath already loaded
Brightway2 data directory: /Users/student/Library/Application Support/Brightway3
Brightway2 active project: default
Qt Version: 5.12.9
Remote debugging server started successfully. Try pointing a Chromium-based browser to http://127.0.0.1:3999
[50875:84483:0112/154516.165964:ERROR:gl_context_cgl.cc(136)] Error creating context.
[50875:84483:0112/154516.166559:ERROR:gles2_command_buffer_stub.cc(262)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[50875:84483:0112/154516.175598:ERROR:gl_context_cgl.cc(136)] Error creating context.
[50875:84483:0112/154516.175646:ERROR:gles2_command_buffer_stub.cc(262)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[50875:84483:0112/154516.182426:ERROR:gl_context_cgl.cc(136)] Error creating context.
[50875:84483:0112/154516.182890:ERROR:gles2_command_buffer_stub.cc(262)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[50875:84483:0112/154516.186321:ERROR:gl_context_cgl.cc(136)] Error creating context.
[50875:84483:0112/154516.186359:ERROR:gles2_command_buffer_stub.cc(262)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[50875:84483:0112/154516.380387:ERROR:gl_context_cgl.cc(136)] Error creating context.
[50875:84483:0112/154516.380421:ERROR:gles2_command_buffer_stub.cc(262)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[50875:84483:0112/154516.566349:ERROR:gl_context_cgl.cc(136)] Error creating context.
[50875:84483:0112/154516.566421:ERROR:gles2_command_buffer_stub.cc(262)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[50875:84483:0112/154516.583511:ERROR:gl_context_cgl.cc(136)] Error creating context.
[50875:84483:0112/154516.583561:ERROR:gles2_command_buffer_stub.cc(262)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[50875:84483:0112/154516.585011:ERROR:gl_context_cgl.cc(136)] Error creating context.
[50875:84483:0112/154516.585089:ERROR:gles2_command_buffer_stub.cc(262)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[50875:84483:0112/154516.623790:ERROR:gl_context_cgl.cc(136)] Error creating context.
[50875:84483:0112/154516.623839:ERROR:gles2_command_buffer_stub.cc(262)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[50875:84483:0112/154516.625031:ERROR:gl_context_cgl.cc(136)] Error creating context.
[50875:84483:0112/154516.625075:ERROR:gles2_command_buffer_stub.cc(262)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.

BenPortner avatar Jan 12 '22 16:01 BenPortner

@BenPortner, I am guessing your student uses a macbook with the latest version of ~Big Sur~ Monterey.

The fix I mentioned earlier only checks for the earliest version of Big Sur, so it will have to be updated to include the newer version. Or resolved some other way.

(edit): Have just checked the latest version of Monterey, the AB seems to work on there...

dgdekoning avatar Feb 03 '22 15:02 dgdekoning

@dgdekoning Thank you for your answer. As written in my original comment, the problem occurs on Big Sur version 11.6. I cannot say whether it occurs on Monterey.

BenPortner avatar Feb 08 '22 08:02 BenPortner