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

Drag and drop example error with PSD file #66

Open
jakeleventhal opened this issue Sep 25, 2024 · 2 comments
Open

Drag and drop example error with PSD file #66

jakeleventhal opened this issue Sep 25, 2024 · 2 comments

Comments

@jakeleventhal
Copy link

When I drag in my PSD file, I get this error:

[Error] RuntimeError: Unreachable code should not be executed (evaluating 'wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h0464633ff841b041(arg0, arg1, addHeapObject(arg2))')
	<?>.wasm-function[307] (drag_drop_browser.js:197:135)
	<?>.wasm-function[442]
	<?>.wasm-function[480]
	<?>.wasm-function[359]
	<?>.wasm-function[172]
	<?>.wasm-function[510]
	__wbg_adapter_18 (drag_drop_browser.js:197:135)
	real (drag_drop_browser.js:187)
@chinedufn
Copy link
Owner

What happens if you use the psd crate to deserialize the bytes?

As in, what happens when you call this method on your PSD https://docs.rs/psd/0.3.5/psd/struct.Psd.html#method.from_bytes ?

This will help us rule out whether it's an issue with the demo or an issue with the parser.

@jakeleventhal
Copy link
Author

builderr.txt
Frankly, I was never able to get this build so I am not sure (build logs^)

▶ rustc --version
rustc 1.79.0 (129f3b996 2024-06-10) (Homebrew)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants