Thanks to visit codestin.com
Credit goes to github.com

Skip to content

KeyError python error when running on macOS Mojave #50

@briantully

Description

@briantully

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions