Skip to content
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

Something wrong when using "list-windows" command #866

Open
xavierchen0 opened this issue Dec 16, 2024 Discussed in #865 · 0 comments
Open

Something wrong when using "list-windows" command #866

xavierchen0 opened this issue Dec 16, 2024 Discussed in #865 · 0 comments

Comments

@xavierchen0
Copy link

Discussed in #865

Originally posted by xavierchen0 December 16, 2024
Hi, I was querying my available windows using list-windows command and using the --format flag. However, whenever I query it, my aerospace crashes stating that my format is incorrect.

Please see below for the full error.

❯ aerospace list-windows --all --format "%{window-title}"
Common/commonUtil.swift:47: Fatal error:
Please report to:
    https://github.com/nikitabobko/AeroSpace/issues/new
    Please describe what you did to trigger this error

Message: The data couldn’t be read because it isn’t in the correct format.
Version: 0.16.2-Beta
Git hash: 21336ad382539b35fdc94b4fbd55408e10b101f8
Coordinate: /Users/bobko/a/AeroSpace/Sources/Cli/main.swift:59:91 run(_:stdin:)
recursionDetectorDuringFailure: false
cli: true
Displays have separate spaces: false

Stacktrace:
0   aerospace                           0x00000001045666b4 $s6Common6errorT_4file4line6column8functionxSS_SSS2iSStlFs5NeverO_Tg5 + 1100
1   aerospace                           0x000000010458f4f0 $ss6ResultO6CommonE10getOrThrow_4file4line6column8functionxSS_SSS2iSStF + 360
2   aerospace                           0x0000000104436a70 $s3Cli3run_5stdin6Common12ServerAnswerVSaySSG_SStF + 1268
3   aerospace                           0x0000000104435ff8 main + 1552
4   dyld                                0x000000018e8b3154 start + 2476
[1]    94213 trace trap  aerospace list-windows --all --format "%{window-title}"

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant