You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know if this helps but I get the same error message from my app on an iPad (iPadOS v14.2) through a Safari console attached to my iPad. The complete message is:
"webgl setup failed possibly due to enabling preserveDrawingBuffer config. The device may not be supported by is-mobile module! Inverting preserveDrawingBuffer option in second attempt to create webgl scene."
After the "second attempt" the 3D view is rendered perfectly. To test, the app is free on the Apple App Store under the name "StochasticS" and there are several places where 3D plots are made. The message above came from Laboratory Exercise 10.6 but the same message on the console can be found in exercises 8.1, 10.5, and 10.7.
With the latest Plotly.js commit in master (997946b) I get this error when using scatter 3d (the code I work on is here and the package.json is accessible in the same project):
The props of the PlotlyComponent:
The code loads a partial bundle (a correct one, I verified) and the same chart data works in react-chart-editor, in the same web page.
If I go to https://get.webgl.org/ I get the green message: "Your browser supports WebGL" and a spinning cube.
@archmoj Chromium Versiunea 87.0.4280.88 (Versiune oficială) Arch Linux (64 de biți) on Manjaro Linux latest stable version at the moment I am writing this.
@archmoj I get an empty canvas and no errors, until I resize the viewport, when I get this console output for almost each resize event. If I change the type of the chart from Scatter 3D to Line 2D in the react-chart-editor I get a working plot, when I switch back to 3D scatter, the canvas is empty. In the preview of react-chart-editor the 3D plot is correctly shown. Thanks!
Activity
archmoj commentedon Oct 26, 2020
Addressed in #5233.
handeer commentedon Oct 26, 2020
sorry, bug yet not resolve
archmoj commentedon Oct 27, 2020
@handeer could you tell us which error you would get in the console when using
alexcjohnson commentedon Oct 27, 2020
@handeer note the issue closed when the PR that fixed it was merged, but this fix hasn't yet been released in a published version.
handeer commentedon Oct 27, 2020
yes, i got it.
import Plotly from "plotly.js/lib/index"; error
import Plotly from "plotly.js/dist/plotly"; ok
ityoung2016 commentedon Nov 19, 2020
I don't know if this helps but I get the same error message from my app on an iPad (iPadOS v14.2) through a Safari console attached to my iPad. The complete message is:
"webgl setup failed possibly due to enabling preserveDrawingBuffer config. The device may not be supported by is-mobile module! Inverting preserveDrawingBuffer option in second attempt to create webgl scene."
After the "second attempt" the 3D view is rendered perfectly. To test, the app is free on the Apple App Store under the name "StochasticS" and there are several places where 3D plots are made. The message above came from Laboratory Exercise 10.6 but the same message on the console can be found in exercises 8.1, 10.5, and 10.7.
silviubogan commentedon Jan 15, 2021
With the latest Plotly.js commit in master (997946b) I get this error when using scatter 3d (the code I work on is here and the package.json is accessible in the same project):
The props of the PlotlyComponent:
The code loads a partial bundle (a correct one, I verified) and the same chart data works in react-chart-editor, in the same web page.
If I go to https://get.webgl.org/ I get the green message: "Your browser supports WebGL" and a spinning cube.
In the DevTools console I get this:
archmoj commentedon Jan 15, 2021
@silviubogan thanks for the report.
Could you please let us know about the OS and browser you are on?
silviubogan commentedon Jan 15, 2021
@archmoj Chromium
Versiunea 87.0.4280.88 (Versiune oficială) Arch Linux (64 de biți)
on Manjaro Linux latest stable version at the moment I am writing this.archmoj commentedon Jan 15, 2021
@silviubogan now could you please test this branch and report the error messages you get?
silviubogan commentedon Jan 18, 2021
@archmoj I get an empty canvas and no errors, until I resize the viewport, when I get this console output for almost each resize event. If I change the type of the chart from Scatter 3D to Line 2D in the react-chart-editor I get a working plot, when I switch back to 3D scatter, the canvas is empty. In the preview of react-chart-editor the 3D plot is correctly shown. Thanks!
archmoj commentedon Jan 18, 2021
@silviubogan could you expand and paste
longMessage
regarding the shader error please?silviubogan commentedon Jan 18, 2021
@archmoj
silviubogan commentedon Jan 18, 2021
@archmoj
A screenshot, HTH.
JakenHerman commentedon Jan 21, 2021
The above happens on Windows 10/MS Edge and Windows 10/Mozilla Firefox as well.