crystian / ComfyUI-Crystools

A powerful set of tools for ComfyUI
MIT License
697 stars 33 forks source link

Exception in thread Thread-11 (startMonitorLoop) #85

Closed JimWang151 closed 1 month ago

JimWang151 commented 1 month ago

Describe the bug
I installed comfyui_crystal plugin via comfyui manager.But when loading this plugin the error occured . Below is error msg:

Exception in thread Thread-11 (startMonitorLoop): Traceback (most recent call last): File "D:\Programs\Python\Python312\Lib\threading.py", line 1073, in _bootstrap_inner self.run() File "D:\Programs\Python\Python312\Lib\threading.py", line 1010, in run self._target(*self._args, self._kwargs) File "D:\ComfyUI\custom_nodes\ComfyUI-Crystools\general\monitor.py", line 31, in startMonitorLoop asyncio.run(self.MonitorLoop()) File "D:\Programs\Python\Python312\Lib\asyncio\runners.py", line 194, in run return runner.run(main) ^^^^^^^^^^^^^^^^ File "D:\Programs\Python\Python312\Lib\asyncio\runners.py", line 118, in run return self._loop.run_until_complete(task) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Programs\Python\Python312\Lib\asyncio\base_events.py", line 687, in run_until_complete return future.result() ^^^^^^^^^^^^^^^ File "D:\ComfyUI\custom_nodes\ComfyUI-Crystools\general\monitor.py", line 35, in MonitorLoop data = self.hardwareInfo.getStatus() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI\custom_nodes\ComfyUI-Crystools\general\hardware.py", line 73, in getStatus hdd = psutil.disk_usage(self.whichHDD) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Programs\Python\Python312\Lib\site-packages\psutil__init__.py", line 2005, in disk_usage return _psplatform.disk_usage(path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Programs\Python\Python312\Lib\site-packages\psutil_pswindows.py", line 280, in disk_usage total, free = cext.disk_usage(path) ^^^^^^^^^^^^^^^^^^^^^ SystemError: argument 1 (impossible)**

[Crystools INFO] Crystools version: 1.15.0 [Crystools INFO] CPU: 13th Gen Intel(R) Core(TM) i9-13900HX - Arch: AMD64 - OS: Windows 11 [Crystools INFO] Pynvml (Nvidia) initialized. [Crystools INFO] GPU/s: [Crystools INFO] 0) NVIDIA GeForce RTX 4060 Laptop GPU [Crystools INFO] NVIDIA Driver: 555.99

Loading: ComfyUI-Impact-Pack (V5.18.1)

[Impact Pack] Wildcards loading done.

Loading: ComfyUI-Inspire-Pack (V0.82)

Total VRAM 8188 MB, total RAM 16104 MB pytorch version: 2.3.0+cu121 xformers version: 0.0.27 Set vram state to: LOW_VRAM Device: cuda:0 NVIDIA GeForce RTX 4060 Laptop GPU : native

Thanks for you attention.

PurplefinNeptuna commented 1 month ago

can you check psutil version? python 3.12 seems have buggy psutil

crystian commented 1 month ago

Apparently, it is an issue from Psutils; please try with 3.12.3 and tell us about it! thank you!

JimWang151 commented 1 month ago

can you check psutil version? python 3.12 seems have buggy psutil

Thanks .I will try and leave msg here.

linkally commented 2 weeks ago

can you check psutil version? python 3.12 seems have buggy psutil

Thanks .I will try and leave msg here.

I meet the same issue, how about it then?