-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
[AUTOPILOT] TypeError: object of type 'int' has no len() #70
Comments
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 |
Successfully reproduced. Fix in progress. |
Pushed a prelim fix to the 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
The text was updated successfully, but these errors were encountered: