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

KeyError python error when running on macOS Mojave #50

Open
briantully opened this issue Nov 22, 2023 · 4 comments
Open

KeyError python error when running on macOS Mojave #50

briantully opened this issue Nov 22, 2023 · 4 comments

Comments

@briantully
Copy link

I'm trying to run the command, but keep getting the following error:

Current Controllers:

 -    PXS4@0 @ _SB.PCI0.IOU2.I2PS.PPB4.PXS4
  \-> RHUB @ _SB.PCI0.IOU2.I2PS.PPB4.PXS4.RHUB
 -   UHC4@1A @ _SB.PCI0.UHC4
 - UHC5@1A,1 @ _SB.PCI0.UHC5
 - UHC6@1A,2 @ _SB.PCI0.UHC6
 - EHC2@1A,7 @ _SB.PCI0.EHC2 (Needs Rename)
Traceback (most recent call last):
  File "/Users/btully/Sites/USBMap/./USBMap.py", line 1566, in <module>
    u.main()
  File "/Users/btully/Sites/USBMap/./USBMap.py", line 1488, in main
    if not "XHCI" in self.connected_controllers[x]["type"]: continue # Only check XHCI for RHUB paths
KeyError: 'EHC2@fa000000'

Is this a known issue? Any idea how to debug this?
Is there a specific version of python needed? I didn't see a requirements.txt or any mention of system requirements.

There is also mention of running commands from "USBMap's main menu" -- but how does one view the main menu?

@corpnewt
Copy link
Owner

Could you dump your ioreg.txt via the following command in terminal and upload it here?:

ioreg -lw0 > ~/Desktop/ioreg.txt

-CorpNewt

@briantully
Copy link
Author

ioreg.txt

Sure thing! Thanks a bunch :)

@corpnewt
Copy link
Owner

As of this commit that issue should be fixed. Please let me know if you run into others.

-CorpNewt

@briantully
Copy link
Author

briantully commented Nov 24, 2023 via email

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

2 participants