{"record":{"id":"27eb7f946ee41ca8","repo":"kovidgoyal/kitty","slug":"this-kitten-should-be-run-as-kitten-quick-access","errorCode":null,"errorMessage":"This kitten should be run as: kitten quick-access-terminal","messagePattern":"This kitten should be run as: kitten quick-access-terminal","errorType":"console","errorClass":"SystemExit","httpStatus":null,"severity":"warning","filePath":"kittens/quick_access_terminal/main.py","lineNumber":161,"sourceCode":"\n--instance-group\ndefault=quick-access\nThe unique name of this quick access terminal Use a different name if you want multiple such terminals.\n\n\n--debug-rendering\ntype=bool-set\nFor debugging interactions with the compositor/window manager.\n\n\n--debug-input\ntype=bool-set\nFor debugging interactions with the compositor/window manager.\n\"\"\"\n\n\ndef main(args: list[str]) -> None:\n    raise SystemExit('This kitten should be run as: kitten quick-access-terminal')\n\n\nif __name__ == '__main__':\n    main(sys.argv)\nelif __name__ == '__doc__':\n    cd: dict = sys.cli_docs  # type: ignore\n    cd['usage'] = '[cmdline-to-run ...]'\n    cd['options'] = options_spec\n    cd['help_text'] = help_text\n    cd['short_desc'] = help_text\nelif __name__ == '__conf__':\n    sys.options_definition = definition  # type: ignore\n","sourceCodeStart":143,"sourceCodeEnd":174,"githubUrl":"https://github.com/kovidgoyal/kitty/blob/6d5d0c440603ad9bdf6dcd599f73f6dde21acb44/kittens/quick_access_terminal/main.py#L143-L174","documentation":"While processing a dropped uri-list, lstat() on the Nth entry's path failed. kitty then sends a DnD/RDV error back to the drag source (ENOENT, EPERM, or EIO mapped accordingly). The file being dropped is inaccessible at the destination path.","triggerScenarios":"Dropping a file whose path lstat()s with ENOENT/ENOTDIR (deleted mid-drag, dangling path from a sandbox/flatpak portal), EACCES/EPERM (no permission), or another errno on the dropped uri-list entry.","commonSituations":"Dragging files that were moved/deleted after the drag started; sandboxed apps (Flatpak/Snap) exposing portal paths that don't exist outside the sandbox; dropping from network mounts that unmounted.","solutions":["Re-verify the source file still exists at drop time; re-drag freshly selected files","Grant the needed permissions or fix portal/sandbox path translation so the dropped uri resolves for kitty","For flatpaks, use document portals or non-sandboxed access so paths are real"],"exampleFix":null,"handlingStrategy":"validation","validationCode":"# Source side: confirm files still exist before dropping\nimport os\nfiles = [f for f in selected_files if os.path.exists(f)]\nstart_drag(files)","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Re-select files right before dragging if the source set is old","Fix sandbox/portal path translation so dropped uris resolve","Check read permissions on dropped paths"],"tags":["drag-and-drop","uri-list","lstat","permissions","kitty"],"backgroundTag":"dropped-file-not-accessible","analyzedSha":"6d5d0c440603ad9bdf6dcd599f73f6dde21acb44","analyzedAt":"2026-08-27T14:20:20.142Z","schemaVersion":2},"datasetVersion":"2026-08-27T19:17:21.184Z"}