#[AppleScript; 2.0.0-rc.0] An error of type -10810 has occurred

12 messages · Page 1 of 1 (latest)

unique ferry
#

I can run cargo tauri dev without errors, but cargo tauri build produces the error attached.

I used the migration tool because I updated to Ubuntu 20.04 and it isn't supported by Tauri v1.

capabilities/migrated.json was causing errors, so I deleted capabilities/ and added permissions/ with config files there.
I tried slowly deleting lines until the first errors went away, then I continued deleting hoping the new errors would go away.

Notes

  • I am not running out of memory.
  • I am running the process via ssh.

Info

$ cargo tauri info
WARNING: no lock files found, defaulting to npm

[✔] Environment
    - OS: Mac OS 14.5.0 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.80.0 (051478957 2024-07-21)
    ✔ cargo: 1.80.0 (376290515 2024-07-16)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (environment override by RUSTUP_TOOLCHAIN)

[-] Packages
    - tauri [RUST]: 2.0.0-rc.0
    - tauri-build [RUST]: 2.0.0-rc.0
    - wry [RUST]: 0.41.0
    - tao [RUST]: 0.28.1
    - tauri-cli [RUST]: 2.0.0-rc.1
    - @tauri-apps/api : not installed!
    - @tauri-apps/cli [NPM]: 2.0.0-rc.1

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../frontend/dist
    - devUrl: http://localhost:16982/

I just got a Mac in order to support Apple, and this is my first Tauri App, so I don't have any idea what's going on here! 🫣

unique ferry
#

I get the same (above) error when running the default Tauri Leptos app on macos.


While it builds on Ubuntu with the current latest, and runs, I get an empty window and an error:

AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer

I get the same error with the default Tauri Leptos app on Ubuntu.

Seems unrelated?

It ran well on v1 upgrade on Ubuntu 20.04

pliant kiln
#

Also, the linux error is completely unrelated. Your macos error is a build error for the .dmg bundle and the linux one a runtime error from the webkitgtk renderer. Try running it with WEBKIT_DISABLE_DMABUF_RENDERER=1

unique ferry
#

Yeah, I looked at all the errors I could find before asking here.

I have been led to believe that this command requires full disk access:

plutil -lint /Library/Preferences/com.apple.TimeMachine.plist >/dev/null

I get no errors while running that command, so I think I have full disk access?


I realized that I didn't mention that the Mac is aarch64, in case that matters at all.

pliant kiln
#

tbh no idea how to triage this any further, especially with no other mentions of this error anywhere on the internet. I know that the createdmg script isn't perfect (big thanks to apple for making .dmg file so annoying to create even if they're conceptually so simple...).

#

was the leptos project you tried v1 or v2?

#

Ohhh wait, i completely missed the "I am running the process via ssh." part... I don't know what exactly that means but with how finicky the process is things like these are risky ig

unique ferry