Replies: 1 comment
-
Hey @cxun-ctrl! I'm a bot designed to help you with bugs, questions, and contributions. I'm here to assist you while you wait for a human maintainer. Let's tackle this issue together! The error message "Error building Component Directory: Directory not found" occurs because the specified directory path does not exist or cannot be resolved. Ensure that the directory path you provide in the Here's a snippet of the relevant code that handles the path resolution and file retrieval: def build(
self,
path: str,
depth: int = 0,
max_concurrency: int = 2,
load_hidden: bool = False,
recursive: bool = True,
silent_errors: bool = False,
use_multithreading: bool = True,
) -> List[Optional[Record]]:
resolved_path = self.resolve_path(path)
file_paths = retrieve_file_paths(resolved_path, load_hidden, recursive, depth)
loaded_records = []
if use_multithreading:
loaded_records = parallel_load_records(file_paths, silent_errors, max_concurrency)
else:
loaded_records = [parse_text_file_to_record(file_path, silent_errors) for file_path in file_paths]
loaded_records = list(filter(None, loaded_records))
self.status = loaded_records
return loaded_records Make sure the |
Beta Was this translation helpful? Give feedback.
-
Why when I add a component directory, I get an error message when I fill in the actual address in the path option: Error building Component Directory: Directory not found...
How can I solve this problem? thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions