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

Error on https://www.hi-pda.com/forum/post.php?action=reply&fid=2&tid=2852351&repquote=59583843&extra=page%3D1&page=1 #3013

Closed
dmumu opened this issue Feb 1, 2021 · 2 comments
Labels
canvas Issues relating to the CanvasRenderingContext2D renderer error-report Automated error reports from Ruffle web build

Comments

@dmumu
Copy link

dmumu commented Feb 1, 2021

Error Info

Error name: Error
Error message: panicked at 'called Result::unwrap() on an Err value: JsValue(InvalidStateError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0.
Error: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The image argument is a canvas element with a width or height of 0.
at :3:26367
at :3:4543
at web_sys::features::gen_CanvasRenderingContext2d::CanvasRenderingContext2d::draw_image_with_html_canvas_element::h4b3986a4e8714088 (chrome-extension://koelinbpgbklckgjonkclgbcdmlklmkf/dist/20dc23cfffed12aba637b533134b1c67.wasm:wasm-function[4458]:0x35f173)
at <ruffle_render_canvas::WebCanvasRenderBackend as ruffle_core::backend::render::RenderBackend>::pop_mask::ha6a53f4d027e5730 (chrome-extension://koelinbpgbklckgjonkclgbcdmlklmkf/dist/20dc23cfffed12aba637b533134b1c67.wasm:wasm-function[1038]:0x21f5f2)
at <ruffle_core::display_object::edit_text::EditText as ruffle_core::display_object::TDisplayObject>::render::h2c088ec369fe84f7 (chrome-extension://koelinbpgbklckgjonkclgbcdmlklmkf/dist/20dc23cfffed12aba637b533134b1c67.wasm:wasm-function[459]:0x12f024)
at <ruffle_core::display_object::DisplayObject as ruffle_core::display_object::TDisplayObject>::render::h0ed18c5ccc0f6309 (chrome-extension://koelinbpgbklckgjonkclgbcdmlklmkf/dist/20dc23cfffed12aba637b533134b1c67.wasm:wasm-function[3132]:0x32adbb)
at ruffle_core::display_object::container::TDisplayObjectContainer::render_children::h66c3972015059d5a (chrome-extension://koelinbpgbklckgjonkclgbcdmlklmkf/dist/20dc23cfffed12aba637b533134b1c67.wasm:wasm-function[1193]:0x245120)
at <ruffle_core::display_object::movie_clip::MovieClip as ruffle_core::display_object::TDisplayObject>::render::ha445c54bbaed8da6 (chrome-extension://koelinbpgbklckgjonkclgbcdmlklmkf/dist/20dc23cfffed12aba637b533134b1c67.wasm:wasm-function[3357]:0x337591)
at <ruffle_core::display_object::DisplayObject as ruffle_core::display_object::TDisplayObject>::render::h0ed18c5ccc0f6309 (chrome-extension://koelinbpgbklckgjonkclgbcdmlklmkf/dist/20dc23cfffed12aba637b533134b1c67.wasm:wasm-function[3132]:0x32ade2)
at ruffle_core::player::Player::render::hd21dc6bfd1e5addd (chrome-extension://koelinbpgbklckgjonkclgbcdmlklmkf/dist/20dc23cfffed12aba637b533134b1c67.wasm:wasm-function[833]:0x1e18b8))', render/canvas/src/lib.rs:685:14

Player Info

Allows script access: true

Page Info

Page URL: https://www.hi-pda.com/forum/post.php?action=reply&fid=2&tid=2852351&repquote=59583843&extra=page%3D1&page=1
SWF URL: https://www.hi-pda.com/forum/images/common/upload.swf?site=https://www.hi-pda.com/forum/misc.php%3Ftype=image&type=image

Browser Info

Useragent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.104 Safari/537.36
OS: Win32

Ruffle Info

Version: 0.1.0
Name: nightly 2021-01-31
Channel: nightly
Built: 2021-01-31T00:37:01.589Z
Commit: 07fbacc

@Poopooracoocoo
Copy link
Collaborator

Poopooracoocoo commented Feb 1, 2021

Note: requires login to access page

@Herschel Herschel added the error-report Automated error reports from Ruffle web build label Oct 26, 2021
@n0samu n0samu added the canvas Issues relating to the CanvasRenderingContext2D renderer label Oct 30, 2022
@relrelb
Copy link
Contributor

relrelb commented Apr 22, 2023

Fixed by #7026.

@relrelb relrelb closed this as completed Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
canvas Issues relating to the CanvasRenderingContext2D renderer error-report Automated error reports from Ruffle web build
Projects
None yet
Development

No branches or pull requests

5 participants