Skip to main content
NetApp Knowledge Base

XCP Error: RuntimeWarning: coroutine '_scandir_tree' was never awaited

Views:
76
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
NAS
Last Updated:

Applies to

  • XCP SMB 1.9.2

Issue

 The following error can be seen in xcp.log

--- Logging error ---
Traceback (most recent call last):
  File "multiprocessing\managers.py", line 802, in _callmethod
AttributeError: 'ForkAwareLocal' object has no attribute 'connection'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "xcp\xcpLogging.py", line 280, in emit
  File "xcp\xcpLogging.py", line 260, in addMsgToQueue
  File "<string>", line 2, in put_nowait
  File "multiprocessing\managers.py", line 806, in _callmethod
  File "multiprocessing\managers.py", line 793, in _connect
  File "multiprocessing\connection.py", line 505, in Client
  File "multiprocessing\connection.py", line 707, in PipeClient
FileNotFoundError: [WinError 2] The system cannot find the file specified
Call stack:
  File "warnings.py", line 506, in _warn_unawaited_coroutine
  File "warnings.py", line 109, in _showwarnmsg
  File "logging\__init__.py", line 2204, in _showwarning
  File "logging\__init__.py", line 1458, in warning
  File "logging\__init__.py", line 1589, in _log
  File "logging\__init__.py", line 1599, in handle
  File "logging\__init__.py", line 1661, in callHandlers
  File "logging\__init__.py", line 952, in handle
  File "xcp\xcpLogging.py", line 288, in emit
Message: "sys:1: RuntimeWarning: coroutine '_scandir_tree' was never awaited\n"

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.