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

bug: quickemu fails on detection of "~Public" on macOS #627

Closed
JeremiahCornelius opened this issue Feb 2, 2023 · 3 comments
Closed

bug: quickemu fails on detection of "~Public" on macOS #627

JeremiahCornelius opened this issue Feb 2, 2023 · 3 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@JeremiahCornelius
Copy link

I'm running quickemu on a 2020 MacBook Pro 13" (Intel), the latest updates of MacOS Ventura, and fully updated homebrew with all dependencies, including bash v. 5.2.15.
Darwin <hostname> 22.3.0 Darwin Kernel Version 22.3.0: Thu Jan 5 20:53:49 PST 2023; root:xnu-8792.81.2~2/RELEASE_X86_64 x86_64

quickemu should start a VM from command line such as:
$ quickemu --vm ubuntu-22.04.conf

Instead, during VM creation, an error message is produced:
ERROR! Public directory: '' doesn't exist!

  • I've stepped through the script/code to locate the detection logic, and nothing seems out-of-place.
  • I commented out all areas related to "Public" share, but this causes other exit errors. Reversed changes by replacing from github.
  • I've also ensured 777 permissions on ~/Public.
  • Considering there may be a samba issue, I enabled "File Sharing" in the MacOS Control Panel.

The time otherwise used by manually configuring qemu guests is considerably reduced by quickemu. I'm at the end of my ability, however, in getting this working on my Mac hosts.

Has this issue been observed by others? I don't see another issue published. Expert assistance here is welcome.

@JeremiahCornelius
Copy link
Author

THIS IS SOLVED.
The detection doesn't work in the script, but I can force the variable with the command option: --public-dir
quickemu --public-dir /Users/<user-name>/Public --vm ubuntu-22.04.conf

This should still be fixed in future releases, for auto-detection on Ventura/Intel.

@oldman20
Copy link

THIS IS SOLVED. The detection doesn't work in the script, but I can force the variable with the command option: --public-dir quickemu --public-dir /Users/<user-name>/Public --vm ubuntu-22.04.conf

This should still be fixed in future releases, for auto-detection on Ventura/Intel.

how can u install Quickemu in macOS? I mean what command did u run on macOS? I tried many way but still fail

@martin-braun
Copy link

@oldman20 put alias quickemu="quickemu --public-dir $HOME/Public" in your .zshrc, but the problems won't end. ;)

@flexiondotorg flexiondotorg added bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed labels May 3, 2024
@flexiondotorg flexiondotorg changed the title macos: quickemu fails on detection of "~Public" bug: quickemu fails on detection of "~Public" on macOS May 3, 2024
@flexiondotorg flexiondotorg self-assigned this May 9, 2024
@quickemu-project quickemu-project deleted a comment from github-actions bot May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
Status: Done
Development

No branches or pull requests

4 participants