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

utmctl help attach fails with an ArgumentParser error #4817

Closed
jrjsmrtn opened this issue Dec 17, 2022 · 1 comment
Closed

utmctl help attach fails with an ArgumentParser error #4817

jrjsmrtn opened this issue Dec 17, 2022 · 1 comment
Milestone

Comments

@jrjsmrtn
Copy link

Describe the issue
utmctl help attach fails with an ArgumentParser error. All other help pages do work correctly.

Configuration

  • UTM Version: 4.1.2
  • macOS Version: 13.1
  • Mac Chip (Intel, M1, ...): M1

Crash log

$ utmctl help attach
ArgumentParser/Parsed.swift:59: Fatal error: Trying to get the argument set from a resolved/parsed property.
Trace/BPT trap: 5
@osy osy added this to the v4.1 milestone Dec 17, 2022
@ktprograms
Copy link
Contributor

ktprograms commented Dec 18, 2022

@osy it seems to be because of the init() block for Attach. Removing it fixes the crash.

Edit: Even removing the init() block still causes utmctl start <uuid> --attach to crash.

@osy osy closed this as completed in fcae691 Dec 28, 2022
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

3 participants