USBToolBox / tool

the USBToolBox tool
MIT License
936 stars 62 forks source link

USBtool is'nt geberating kexts #58

Open Hayo-Tee opened 1 year ago

Hayo-Tee commented 1 year ago

I'm using latest version of this tool. The program just closes and does not create any file. Windows 11 22H2. Tried also test build from issues section.

usb.zip

dhinakg commented 1 year ago

Please run the tool from the command line and see if it prints out any errors

paytontech commented 1 year ago

im having the same issue. here's output upon trying to build kext:

Generating Info.plist...
Traceback (most recent call last):
  File "Windows.py", line 160, in <module>
  File "Windows.py", line 43, in __init__
  File "base.py", line 49, in __init__
  File "base.py", line 696, in monu
  File "utils.py", line 204, in start
  File "utils.py", line 188, in select
  File "base.py", line 370, in select_ports
  File "base.py", line 581, in build_kext
  File "base.py", line 508, in choose_matching_key
RuntimeError: No matching key available
[16528] Failed to execute script 'Windows' due to unhandled exception!
dhinakg commented 1 year ago

Huh, that's a really rare edge case...

Can you upload a debug dump?

paytontech commented 1 year ago

how would i do that?

dhinakg commented 1 year ago

Run debug_dump.exe from the releases tab, the same place where you downloaded USBToolBox

paytontech commented 1 year ago

sorry for the late response! here's the dump: dump.zip

Hayo-Tee commented 1 year ago

Please run the tool from the command line and see if it prints out any errors

Generating Info.plist...
Traceback (most recent call last):
  File "Windows.py", line 160, in <module>
  File "Windows.py", line 43, in __init__
  File "base.py", line 49, in __init__
  File "base.py", line 696, in monu
  File "utils.py", line 204, in start
  File "utils.py", line 188, in select
  File "base.py", line 370, in select_ports
  File "base.py", line 581, in build_kext
  File "base.py", line 508, in choose_matching_key
RuntimeError: No matching key available
[12552] Failed to execute script 'Windows' due to unhandled exception!
PS D:\Programmalar\MacOS\Opencore\dist>
dhinakg commented 1 year ago

I can't seem to reproduce this - it works on my end. Could you please additionally upload usb.json?

Hayo-Tee commented 1 year ago

usb.zip

Qu1dAg1s commented 1 year ago

Using USBtoolBox version 0.2. Same problem. No Kext. It creates UTBMap.kext folder, subfolder Contents and file Info.plist inside. That´s all. No UTBMap.kext.

UPDATE: The line below is from OpenCore Install Guide (Bold is mine):

Windows and Linux note: Kexts will look like normal folders in your OS, double check that the folder you are installing has a .kext extension visible(and do not add one manually if it's missing).

bugz8unny69 commented 1 year ago

I just ran into the same issue myself trying to USB map on my end. Here's the information requested.

debug_dump.zip

parknich commented 10 months ago

I am also getting the exact same error. debugdump.json

parknich commented 10 months ago

Run debug_dump.exe from the releases tab, the same place where you downloaded USBToolBox

Do you know why this is happening?

Fulka50 commented 4 months ago

If you have Parsec uninstall the usb drivers. They cannot be build.