{"record":{"id":"f0c1360fe3bdf232","repo":"kovidgoyal/kitty","slug":"this-should-be-run-as-kitten-broadcast","errorCode":null,"errorMessage":"This should be run as kitten broadcast","messagePattern":"This should be run as kitten broadcast","errorType":"console","errorClass":"SystemExit","httpStatus":null,"severity":"warning","filePath":"kittens/broadcast/main.py","lineNumber":31,"sourceCode":"Useful while typing a password, prevents the password from being visible on the screen.\n\n\n--end-session\ndefault=Ctrl+Esc\nKey to press to end the broadcast session.\n\n\n\"\"\"\n    + MATCH_WINDOW_OPTION\n    + '\\n\\n'\n    + MATCH_TAB_OPTION.replace('--match -m', '--match-tab -t')\n).format\nhelp_text = 'Broadcast typed text to kitty windows. By default text is sent to all windows, unless one of the matching options is specified'\nusage = '[initial text to send ...]'\n\n\ndef main(args: list[str]) -> None:\n    raise SystemExit('This should be run as kitten broadcast')\n\n\nif __name__ == '__main__':\n    main(sys.argv)\nelif __name__ == '__doc__':\n    cd = sys.cli_docs  # type: ignore\n    cd['usage'] = usage\n    cd['options'] = OPTIONS\n    cd['help_text'] = help_text\n    cd['short_desc'] = 'Broadcast typed text to kitty windows'\n","sourceCodeStart":13,"sourceCodeEnd":42,"githubUrl":"https://github.com/kovidgoyal/kitty/blob/6d5d0c440603ad9bdf6dcd599f73f6dde21acb44/kittens/broadcast/main.py#L13-L42","documentation":"kitty could not load the default window logo (per-window image overlay configured via window_logo_path) when initializing a new OSWindow in initialize_window (kitty/state.c:380). The path is unreadable or the image failed to decode; the error message prints the configured path. PyErr_Print() output follows if Python-level image loading raised.","triggerScenarios":"Setting window_logo_path in kitty.conf to a nonexistent/unreadable file or unsupported/corrupt image format, then creating any window (startup or new OS window / --single-instance opens). Also via set_window_logo failing during pycreate_mock_window in tests.","commonSituations":"Typo in the path, tilde not expanded in some contexts, file permissions, SVG or exotic format not supported, or a truncated download used as a logo.","solutions":["Check the printed path exists and is readable: ls -l <path>.","Use an absolute path; kitty does not expand ~ or env vars in all contexts.","Convert the image to PNG or JPEG (the supported formats) and retry.","Verify permissions if running kitty under a different user/sandbox."],"exampleFix":"# before\nwindow_logo_path ~/pics/logo.webp\n# after\nwindow_logo_path /home/user/pics/logo.png","handlingStrategy":"validation","validationCode":"# in kitty.conf, use a path that exists and is a supported format\nwindow_logo_path /home/user/pics/logo.png","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Use absolute paths in kitty.conf.","Pre-validate logo files: file logo.png should report PNG/JPEG image data.","kitty logs and continues without the logo - check the log after config changes."],"tags":["kitty","window-logo","config","image-loading"],"backgroundTag":"image-load-failed","analyzedSha":"6d5d0c440603ad9bdf6dcd599f73f6dde21acb44","analyzedAt":"2026-08-27T14:20:20.142Z","schemaVersion":2},"datasetVersion":"2026-08-27T19:17:21.184Z"}