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

UTM does not make newly created VMs appear immediately, displays "The file couldn't be opened" upon changing settings #6398

Closed
KendrickLamar2003 opened this issue May 30, 2024 · 2 comments

Comments

@KendrickLamar2003
Copy link

Describe the issue
So I am trying to make a Win95 VM, and after going through the wizard, it does not appear in the list, it only does show up after relaunching the app. Whenever I want to change something about the VM, upon pressing "Save...", it hits me with an error that simply says: "The file couldn't be opened" and keeps me in the settings menu. But the changes I make ARE saved. Worst of all, doesn't allow me to mount an ISO to a VM. This still happens even after deleting all files relating to UTM + the app itself.
Configuration

  • UTM Version: 4.5.3
  • macOS Version: 14.5 (23F79)
  • Mac Chip (Intel, M1, ...): M1 8-core GPU
@osy
Copy link
Contributor

osy commented Aug 19, 2024

Sorry for the late response but can you provide a screen recording? I cannot reproduce the issue.

@naveenrajm7
Copy link

naveenrajm7 commented Aug 20, 2024

Hello,
I ran into a similar issue but in a different way. Can be reproduced

I am automating a few things to add to my plugin.

  • I create a VM through the script.
  • Trying changing settings manually
  • I will be thrown a "The file couldn't be opened" error.
  • But the settings I added will be saved.
  • clicking save again the error doesn't appear but ISO will be detached.

So behaviour is same as the OP observed.

Steps to reproduce.

  1. create_vm.applescript
tell application "UTM"
    --- specify a boot ISO
    set iso to POSIX file "ubuntu-24.04-live-server-arm64.iso"
    --- create a new QEMU VM for ARM64 with a single 64GiB drive
    set vm to make new virtual machine with properties {backend:qemu, configuration:{name:"QEMU ARM64", architecture:"aarch64", drives:{{removable:true, source:iso}, {guest size:65536}}}}
end tell
  1. Execute
osascript create_vm.applescript
  1. In UI trying changing any settings
    Screenshot 2024-08-19 at 6 36 31 PM

The iso file is present , can actually run the VM if I didn't touch settings. (but I need display to observe, so went to settings)

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