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

Exception in thread Thread-11 (startMonitorLoop) #85

Closed
JimWang151 opened this issue Jul 28, 2024 · 4 comments
Closed

Exception in thread Thread-11 (startMonitorLoop) #85

JimWang151 opened this issue Jul 28, 2024 · 4 comments

Comments

@JimWang151
Copy link

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
Copy link
Contributor

PurplefinNeptuna commented Jul 28, 2024

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

@crystian
Copy link
Owner

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

@crystian crystian reopened this Jul 30, 2024
@JimWang151
Copy link
Author

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

Thanks .I will try and leave msg here.

@linkally
Copy link

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?

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

4 participants