Coopydood / ultimate-macOS-KVM

Helping noobs and pros alike build the ultimate macOS virtual machine with easy automation, powered by KVM. Now with macOS Sequoia support!
https://coopydood.github.io/ultimate-macOS-KVM/
GNU General Public License v3.0
380 stars 21 forks source link

[ULTMOS] Update from v0.11.0 to v0.11.1 fails with `'Namespace' object has no attribute 'targetBranch'` #77

Closed adil192 closed 6 months ago

adil192 commented 7 months ago

Describe the Issue

When I try to update with main.py, I get this error:

   ⧖  UPDATING... 
   Do not terminate this script

         Current Version
             v0.11.0 

               ⋁

         Target Version
             v0.11.1 

   The update you requested is being downloaded and installed.
   Do NOT terminate this script or close the window.

Traceback (most recent call last):
  File "/home/ahann/Documents/Sources/ultimate-macOS-KVM/./scripts/repo-update.py", line 477, in <module>
    updateBrains()
  File "/home/ahann/Documents/Sources/ultimate-macOS-KVM/./scripts/repo-update.py", line 236, in updateBrains
    elif args.targetBranch is not None:
AttributeError: 'Namespace' object has no attribute 'targetBranch'

Reproduce the Issue

No response

Expectation

No response

Screenshots

No response

Operating System

Pop OS

Kernel

Linux pop-os 6.6.10-76060610-generic #202401051437~1709085277~22.04~31d73d8 SMP PREEMPT_DYNAMIC Wed F x86_64 x86_64 x86_64 GNU/Linux

Processor

Intel i7-11800H

RAM (in GB)

16

GPU(s)

No response

Version

v0.11.0

Branch

main I actually checked out v0.11.0 because I was having issues with the main branch

Additional Information

Running git checkout main doesn't fix the built-in updater, but pulling the latest changes of the main branch seems to work.

Coopydood commented 7 months ago

I'll look into this, thank you

Coopydood commented 6 months ago

Fix implemented in v0.11.2, thank you