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

UnboundLocalError in USBMap.py #48

Open
KenDxD opened this issue Oct 15, 2023 · 0 comments
Open

UnboundLocalError in USBMap.py #48

KenDxD opened this issue Oct 15, 2023 · 0 comments

Comments

@KenDxD
Copy link

KenDxD commented Oct 15, 2023

I got this error if Im going to run Discover Port on USBMap.Command.
I don't have any USBMappingTool kext on my config.


Populated:
XHCI: 0
Traceback (most recent call last):
File "/Users/ken/Downloads/USBMap-master/USBMap.py", line 1566, in
u.main()
File "/Users/ken/Downloads/USBMap-master/USBMap.py", line 1553, in main
self.discover_ports()
File "/Users/ken/Downloads/USBMap-master/USBMap.py", line 919, in discover_ports
temp_h = index+1+extras+pad+(1 if last_list else 0)
^^^^^
UnboundLocalError: cannot access local variable 'index' where it is not associated with a value

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

1 participant