-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[bug] Error: 1/0 error Operation not permitted (os error 1) on iOS #12497
Labels
Comments
do-me
added
status: needs triage
This issue needs to triage, applied to new issues
type: bug
labels
Jan 24, 2025
Very likely related: #8843 (comment) Embedanything downloads the model at first use and saves it somewhere. I feel that for some reason this cached model cannot be accessed. I tried adding all possible permissions and security entries but no success, still get the same error: tauri.config.json "security": {
"assetProtocol": {
"enable": true,
"scope": {
"allow": [
"$APPDATA/**",
"$APPCACHE/**",
"$APPCONFIG/**",
"$APPLOCALDATA/**",
"$APPLOG/**",
"$AUDIO/**",
"$CACHE/**",
"$CONFIG/**",
"$DATA/**",
"$DESKTOP/**",
"$DOCUMENT/**",
"$DOWNLOAD/**",
"$EXECUTABLE/**",
"$FONT/**",
"$HOME/**",
"$LOCALDATA/**",
"$PICTURE/**",
"$PUBLIC/**",
"$RESOURCE/**",
"$RUNTIME/**",
"$TEMP/**",
"$TEMPLATE/**",
"$VIDEO/**"
]
}
},
"csp": null,
"dangerousDisableAssetCspModification": false,
"freezePrototype": false,
"pattern": {
"use": "brownfield"
}
} capabilities/default.json {
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "enables the default permissions",
"windows": [
"main"
],
"permissions": [
"core:default",
"opener:default",
"fs:allow-read-text-file",
"fs:allow-resource-read-recursive",
"fs:default",
"fs:allow-read-file",
"fs:allow-write-file",
"fs:allow-read-dir",
"fs:allow-copy-file",
"fs:allow-mkdir",
"fs:allow-remove",
"fs:allow-rename",
"fs:allow-exists",
"core:window:allow-set-resizable",
"core:window:allow-maximize",
"core:window:allow-unmaximize",
"core:window:allow-set-size",
"core:window:allow-set-min-size",
"log:default",
"fs:create-app-specific-dirs",
"fs:read-app-specific-dirs-recursive",
"fs:allow-appcache-meta",
"fs:allow-appcache-meta-recursive",
"fs:allow-appcache-read",
"fs:allow-appcache-read-recursive",
"fs:allow-appcache-write",
"fs:allow-appcache-write-recursive",
{
"identifier": "fs:allow-write-file",
"allow": [
{
"path": "$APPDATA/**/*"
}
]
},
"fs:read-files",
"fs:read-dirs",
{
"identifier": "fs:scope",
"allow": [
{
"path": "**"
},
{
"path": "$APPDATA/**/*"
},
{
"path": "$APPDATA/**/.*"
}
]
},
"os:allow-platform",
{
"identifier": "http:default",
"allow": [
{"url": "https://*" },
{"url": "http://localhost:3000" },
{"url": "http://0.0.0.0:3000" },
{"url": "https://bpev.me" }
]
}
]
}
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the bug
Trying to generate embeddings with embedanything in the Rust backend. Works fine on MacOS, throws
Error: 1/0 error Operation not permitted (os error 1)
on iOS.
Reproduction
Test repo with instructions: https://github.com/do-me/tauri-embedanything-ios/tree/main
Expected behavior
All permissions are given, so it's supposed to work.
Full
tauri info
outputStack trace
Additional context
No response
The text was updated successfully, but these errors were encountered: