Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Export HTML error — Gideros Forum

Export HTML error

YanYan Member
edited February 2020 in Bugs and issues
Can somebody help ? Gideros 2019.12
gidloader.js:258 Rules for selecting event targets in HTML5 API are changing: instead of using document.getElementById() that only can refer to elements by their DOM ID, new event target selection mechanism uses the more flexible function document.querySelector() that can look up element names, classes, and complex CSS selectors. Build with -s DISABLE_DEPRECATED_FIND_EVENT_TARGET_BEHAVIOR=1 to change to the new lookup rules. See <a href="https://github.com/emscripten-core/emscripten/pull/7977" rel="nofollow">https://github.com/emscripten-core/emscripten/pull/7977</a> for more details.
printErr	@	gidloader.js:258
gidloader.js:258 exception thrown: TypeError: Cannot read property 'apply' of undefined,TypeError: Cannot read property 'apply' of undefined
    at Object.Module.JSCallJS (eval at <anonymous> (<a href="http://localhost/Jumper/gidloader.js:123:5" rel="nofollow">http://localhost/Jumper/gidloader.js:123:5</a>), <anonymous>:244:33)
    at 7901 (eval at <anonymous> (<a href="http://localhost/Jumper/gidloader.js:123:5" rel="nofollow">http://localhost/Jumper/gidloader.js:123:5</a>), <anonymous>:1863:45)
    at _emscripten_asm_const_iii (eval at <anonymous> (<a href="http://localhost/Jumper/gidloader.js:123:5" rel="nofollow">http://localhost/Jumper/gidloader.js:123:5</a>), <anonymous>:1970:26)
    at wasm-function[3769]:0x84eb1
    at wasm-function[8658]:0x18e7e6
    at Module._JSCallV (eval at <anonymous> (<a href="http://localhost/Jumper/gidloader.js:123:5" rel="nofollow">http://localhost/Jumper/gidloader.js:123:5</a>), <anonymous>:18801:34)
    at obj.<computed> (eval at <anonymous> (<a href="http://localhost/Jumper/gidloader.js:123:5" rel="nofollow">http://localhost/Jumper/gidloader.js:123:5</a>), <anonymous>:897:45)
    at wasm-function[64]:0xb84
    at wasm-function[63]:0xae4
    at wasm-function[1589]:0x30881
Uncaught TypeError: Cannot read property 'apply' of undefined
    at Object.Module.JSCallJS (eval at <anonymous> (gidloader.js:123), <anonymous>:244:33)
    at 7901 (eval at <anonymous> (gidloader.js:123), <anonymous>:1863:45)
    at _emscripten_asm_const_iii (eval at <anonymous> (gidloader.js:123), <anonymous>:1970:26)
    at wasm-function[3769]:0x84eb1
    at wasm-function[8658]:0x18e7e6
    at Module._JSCallV (eval at <anonymous> (gidloader.js:123), <anonymous>:18801:34)
    at obj.<computed> (eval at <anonymous> (gidloader.js:123), <anonymous>:897:45)
    at wasm-function[64]:0xb84
    at wasm-function[63]:0xae4
    at wasm-function[1589]:0x30881<del class="Delete"></del>
Well, thats it.
vk.com/yan_alex
Tagged:

Comments

  • hgy29hgy29 Maintainer
    Accepted Answer
    It is due to some plugin (Ads or Facebook) not finding a JS function that was supposed to be declared, does that sound possible ?

    Dislikes: kinrpg

    +1 -1 (+0 / -1 )Share on Facebook
  • hgy29 said:

    It is due to some plugin (Ads or Facebook) not finding a JS function that was supposed to be declared, does that sound possible ?

    Ill try this in 5 miuntes to comment Ads plugin, Iab gives me definitive error and I just commented it.
    vk.com/yan_alex
  • hgy29 said:

    It is due to some plugin (Ads or Facebook) not finding a JS function that was supposed to be declared, does that sound possible ?

    Dude, ure awesome, but got next strange behavior
    gidloader.js:258 libpng warning: Interlace handling should be turned on when using png_read_image
    vk.com/yan_alex
  • hgy29hgy29 Maintainer
    It seems to be just a warning, but it may dismiss the canvas! Your app should still be running, but I understand this is annoying. There is a list of warning to be ignored in the exported gidloader.js, can you try to add a test matching the one you get to ignore it too ?
  • hgy29 said:

    It seems to be just a warning, but it may dismiss the canvas! Your app should still be running, but I understand this is annoying. There is a list of warning to be ignored in the exported gidloader.js, can you try to add a test matching the one you get to ignore it too ?

    Canvas disappear, only white screen and background music, how I should do test matching ?
    vk.com/yan_alex
  • hgy29hgy29 Maintainer
    edited February 2020
    open gidloader.js file and go near line 310, you'll see a bunch of "else if" lines. They check for some log patterns to ignore (non ignored logs dismiss the canvas and display the error). Just add another "else if (what.includes('stuff')) {}" line with stuff being some text appearing in your log line. For example:
        	else if (what.includes('libpng warning')) {} //Ignore (libpng)

    Likes: plicatibu

    +1 -1 (+1 / -0 )Share on Facebook
  • hgy29 said:

    open gidloader.js file and go near line 310, you'll see a bunch of "else if" lines. They check for some log patterns to ignore (non ignored logs dismiss the canvas and display the error). Just add another "else if (what.includes('stuff')) {}" line with stuff being some text appearing in your log line. For example:

        	else if (what.includes('libpng warning')) {} //Ignore (libpng)
    Well, it works ))) Nice crutch )) Thanks a lot !

    And the last question ) why keyboard event are not working ? =)
    vk.com/yan_alex
Sign In or Register to comment.