求助!一运行就报错 #620
Unanswered
geshenggang4
asked this question in
Q&A
求助!一运行就报错
#620
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
2021-05-22 15:22:08 [ERROR]: Failed to get disk_usage of drive None.
Traceback (most recent call last):
File "D:\Swar-Chia-Plot-Manager\plotmanager\library\utilities\jobs.py", line 173, in monitor_jobs_to_start
free_space = psutil.disk_usage(drive).free
File "D:\Swar-Chia-Plot-Manager\venv\lib\site-packages\psutil_init_.py", line 1995, in disk_usage
return _psplatform.disk_usage(path)
File "D:\Swar-Chia-Plot-Manager\venv\lib\site-packages\psutil_pswindows.py", line 265, in disk_usage
total, free = cext.disk_usage(path)
TypeError: argument 1 must be str, not None
Traceback (most recent call last):
File "D:\Swar-Chia-Plot-Manager\stateless-manager.py", line 94, in
jobs, running_work, next_job_work, next_log_check = monitor_jobs_to_start(
File "D:\Swar-Chia-Plot-Manager\plotmanager\library\utilities\jobs.py", line 258, in monitor_jobs_to_start
job, work = start_work(
File "D:\Swar-Chia-Plot-Manager\plotmanager\library\utilities\jobs.py", line 284, in start_work
get_target_directories(job, drives_free_space=drives_free_space)
File "D:\Swar-Chia-Plot-Manager\plotmanager\library\utilities\jobs.py", line 26, in get_target_directories
job = check_valid_destinations(job, drives_free_space)
File "D:\Swar-Chia-Plot-Manager\plotmanager\library\utilities\jobs.py", line 53, in check_valid_destinations
drive = identify_drive(file_path=directory, drives=drives)
File "D:\Swar-Chia-Plot-Manager\plotmanager\library\utilities\processes.py", line 136, in identify_drive
if drive not in file_path:
TypeError: 'in ' requires string as left operand, not NoneType
Beta Was this translation helpful? Give feedback.
All reactions