-
Notifications
You must be signed in to change notification settings - Fork 1
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
Script Error :0:0 #7
Comments
Does it always occur to you, or only sometimes? It has never happend during testing of this version of my code on many panoramas. Today I get it about once in 20 times opening the image, it is totally indeterministic. It is likely an error thrown in an asynchronous operation in one of the used libraries (maybe also a timing issue), unfortunately asynchronous errors totally lack info about the location in the code. |
Always. I'm yet to get a single photosphere/panorama photo to load. |
A possibility for such an error to occur always is when WebGL was not available (for whatever reason). I added a (slow) fallback to canvas rendering. Can you check if that solves the issue on your side as well? |
That's a follow-up error. I had tested booting from a fresh 16.10 live system (with only the gir1.2-gexiv2 package added) and it worked without error, so there seem not to be any dependencies missing. However when I now tested in VirtualBox, I get two different situations:
I believe that this could mean VirtualBox's 3D acceleration is still not stable. Were you doing your test in a virtual machine? |
I have the same problem on Ubuntu 16.10 (not a virtual machine). |
I have the same issue too. Not using a virtual machine. I'm on a Intel Mobile 4 Series Chipset Integrated Graphics, with drivers from 01.org, on Ubuntu 16.10 x64.
|
charlesmillet and Depaulicious, thanks for confirming. Unfortunately I cannot reproduce it. I notice you have slightly older OpenGL version support (2.1 and GLSL 1.20, I have 3.0 and GLSL 1.30). I don't know if I can somehow set my computer to use (or emulate) an older version for testing. As a sidenote, although plugins are disabled in this webview, Webkit outputs "Error loading module". I had this once after upgrading to 64bit while still having 32bit binary plugins in my user profile's ~/.mozilla folder. |
@Aerilius is there a way I can try it on a web browser? Just to see if a browser is able to render it. |
I'm affected with this bug too. Just adding myself to discussion. Maybe I can help ... |
I added changes to the htm file for debugging (in the new branch issue7). I would be interested in two tests: A) Does it work in a browser? (WebKit2 in Gtk is not very unstable, so results may be different in a browser).
B) All JavaScripts are now embedded in one file so that error messages are not anymore censored by cross-origin policy.
Thank you very much for testing! I cannot promise I can find and solve the problem but I hope so. Also WebKitGTK sometimes crashes, and maybe it would be it is rather worth the extra effort to integrate a panorama viewer from some other GTK-based opensource project. |
Hello,
Test B:
And panorama in EOG worked! 👍 |
Hi, thanks! A) I have never seen "texImage2D: Conversion requires pixel reformatting", it is in three.js and seems to be an internal error in Firefox. B) The script error is gone. The terminal logs only other GTK/EOG warnings. I still have no idea what caused the script error and whether it is "fixed" or just does not occur anymore. Could you test again with the eog_panorama.htm file from the master branch to see if that still causes an error? |
Offcourse, here are your test results: Test A: Test B:
And we thank you for repair panoramas. Because anything you have done was repair it :-) |
I can also repeatedly confirm the same error on master, but branch issue7 is working. |
Hello everyone, I hope someone is still reading. I installed the plug-in today (2020-05-09) with eog 3.28.1 under ubuntu 18.04.4 LTS (Bionic), cloning the latest version from github. Works like a charm for some images. Not at all for others. For those images where it works I see the following warning in the console yet panorama is nicely displayed: For those images where it does not work I get the error message reported by others before: No other error message is being displayed. Original image, dimensions: 9278x3813, size: 11.6 MB -> error message Could it be the problem is memory/image size related? I have 16GB RAM installed. So I think that physical memory is not the limitation. Yet there could be some limit anywhere in the code? |
hi all same here on debian 11 |
Opening a compatible Photo Sphere with eog 3.20.2 on Ubuntu 16.10 I get
"webview error: script error.: :0:0
"I have all listed dependencies installed, including python3-magic (not listed by required), and the image lists seems like it should work:
The text was updated successfully, but these errors were encountered: