Replies: 1 comment
-
Hi, firstly I guess it is not a bug of frb itself but more related to Flutter / Rust / the db crate, but I can try to do some guesses here. For example, is it possible to be permission error like file permission etc? Or, could you please show more detailed error messages and code etc to have a look, e.g. what is indeed that "operation not permitted". |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello and apologies for the 2nd question in as many days!
Migrating a project that was up and running when built on a linux or windows dev machine, now using a Mac... and causing plenty of headaches! I'm building for desktop.
I have a postgres db in a docker container. On any dev machine, I can connect to this db from rust using sqlx crate and perform queries getting data back - so i know that part is working.
On my linux machine, this code integrates fine on FRB and i can pull in row data to flutter via rust.
On my Mac, the rust code falls over when trying to connect to the db specifically when in an FRB project. Same code works fine in a standalone Rust project. The error is: Io(Os { code: 1, kind: PermissionDenied, message: "Operation not permitted" })
I'm trying to track down where the difference could lie - and why it would be different between mac and linux dev machines! Any hints much appreciated...
Beta Was this translation helpful? Give feedback.
All reactions