Closed dvdmuckle closed 9 months ago
Hi, many thanks for such a detailed report. I'll look into this ASAP.
Has everything else worked okay for you?
Having a bit of an issue on installing MacOS itself to the VM, but I think that's from trying to use Sonoma (14). Gonna use Monterey (12) instead.
I fixed the error by both setting the initial deffinition of detectChoice
to detectChoice = "1"
, as well as changing one of the casts from an int
to a str
. It looks like every other deffinition of detectChoice
uses a cast to str
. However, one other thing I noticed is it looks like the boot.xml is attempted to be imported twice? The first time it works fine, the second it says something about converting the boot.sh to a boot.xml. I think the second import is what I want, as the boot.sh has some arguments in it needed to get the VM booted properly, as when running the VM after the first import, it boot loops back to the bootloader.
Successfully reproduced. Fix in progress.
Pushed a prelim fix to the dev
branch.
Please have a look and see if that fixes the issue. It's a relatively big change I've made so it should fix other issues too. Thanks.
Looks like that fixed it! Managed to get MacOS 12 all setup and working fine. Thanks for the quick fix!
Awesome! Glad to hear it :)
I ended up revamping the AutoPilot XML conversion mechanism so it hands the process off to the dedicated XML converter script instead of doing it as part of the AutoPilot script. This should yield other benefits such as not having to update 2 versions of the same script!
if you ever need help with Sonoma, always feel free to ask here or on discord.
thanks again for reporting and using the project 🙂
Also meant to say- both yourself and this issue will be credited in the changelog on release :)
Describe the Issue
After running through the initial setup script and importing the XML, immediately afterwards the following error shows up:
Giving a cursory glance at the script, I noticed at the top of the script
detectChoice
is set to1
, where everywhere else it's set to a string. SettingdetectChoice
to"1"
does seem to fix things insofar as there's no crash, but I'm not sure if it results in the intended flow as then the script attempts to import the XML again.Reproduce the Issue
./main.py
and go through the first time setup workflowExpectation
This error does not occur and I am given the option to boot the VM.
Operating System
Fedora 39
Kernel
6.7.4-200.fc39.x86_64
Processor
i5-10600K
RAM (in GB)
32GB
GPU(s)
Nvidia RTX 3070
Version
v0.11.0
Branch
main
Generated Script File
Generated XML File (if applicable)
Generated Log File
Additional Information
No response