ITADN

'Ambiguous config error' crash while loading the built-in default-config.toml

#1885Closednikitabobko 创建于 2026-01-02
crash
N
nikitabobkocommented
``` ##### AeroSpace Runtime Error ##### Please report to: https://github.com/nikitabobko/AeroSpace/discussions/categories/potential-bugs Please describe what you did to trigger this error Message: Can't load default config. Your installation is probably corrupted. Please don't modify 'file:///Applications/AeroSpace.app/Contents/Resources/default-config.toml' Ambiguous config error. Several configs found: /Users/mrm/.aerospace.toml /Users/mrm/.config/aerospace/aerospace.toml Version: 0.20.1-Beta Git hash: 66d16c068a49a6a679bde16407673d07ca10c4c0 refreshSessionEvent: nil Date: 2026-01-02 11:04:40 +0000 Thread name: Is main thread: true axTaskLocalAppThreadToken: nil macOS version: Version 26.2 (Build 25C56) Coordinate: AppBundle/initAppBundle.swift:17:18 initAppBundle() recursionDetectorDuringTermination: false cli: false Monitor count: 1 Displays have separate spaces: true Stacktrace: 0 AeroSpace 0x0000000104aa8970 $s6Common4dieT_4file4line6column8functionxSS_SSS2iSStlFs5NeverO_Tg5 + 2036 1 AeroSpace 0x0000000104b10754 $s6Common5check__4file4line6column8functionySb_SSyXKSSS2iSStF + 92 2 AeroSpace 0x000000010492ad18 $s9AppBundle04initaB0yyFyyYaKcfU_TY4_ + 136 3 AeroSpace 0x00000001048d04d5 $s9AppBundle14GlobalObserverO7onNotif33_F1205CFDC13498282252A689C79131F6LLyy10Foundation12NotificationVFZyyYaYbScMYccfU_TATQ0_ + 1 4 libswift_Concurrency.dylib 0x0000000296baf2fd _ZL23completeTaskWithClosurePN5swift12AsyncContextEPNS_10SwiftErrorE + 1 ``` After removing one of the two config dupes, I am able to launch Aerospace again. FWIW I don't know how `~/.aerospace.toml` came to be, I didn't create that one (I use a dotfiles repo that installs the one in the `~/.config/aerospace/` dir, and that one is a sym link to one in a different directory) _Originally posted by @mrmans0n in https://github.com/nikitabobko/AeroSpace/discussions/1825#discussioncomment-15390337_
关闭于 2026-01-04 1 条评论