USBToolBox / tool

the USBToolBox tool
MIT License
936 stars 62 forks source link

pywintypes.com_error: (-2147352567, '发生意外。', (0, 'SWbemObjectEx', '无效的参数 ', None, 0, -2147217400), None) #46

Closed chunde743001734 closed 1 year ago

chunde743001734 commented 1 year ago

M 3HCJ0}97M1818R%CR%DWK

chunde743001734 commented 1 year ago

这是什么原因?

dhinakg commented 1 year ago

Hi, can you reproduce this reliably?

chunde743001734 commented 1 year ago

Windows.exe这个文件吗?这个文件可以复制啊

startergo commented 1 year ago

I got similar error:

Traceback (most recent call last):
  File "Windows.py", line 160, in <module>
  File "Windows.py", line 43, in __init__
  File "base.py", line 47, in __init__
  File "json\__init__.py", line 293, in load
  File "json\__init__.py", line 346, in loads
  File "json\decoder.py", line 337, in decode
  File "json\decoder.py", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[6784] Failed to execute script 'Windows' due to unhandled exception!

What is strange though it did not error initially. After I opened once USBTreeView it started consistently failing.

dhinakg commented 1 year ago

That is a completely different error in different code, please open a new issue

dhinakg commented 1 year ago

@chunde743001734 can you upload debug information? Run debug_dump.exe from the latest release

dhinakg commented 1 year ago

Please reopen if you can reproduce