We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
running the command:
unstructured-ingest \ s3 \ --remote-url s3://anticythera/\ --anonymous \ --output-dir /Users/anticythera/PycharmProjects/scientificProject/data/ \ --num-processes 2
causes an error:
ERROR: /Users/anticythera/.cache/unstructured/ingest/pipeline/index/8485948ff856.json: [download] unsupported operand type(s) for /: 'NoneType' and 'PosixPath'
resulting from Fsspec.Downloader.download_config.download_dir being None
Fsspec.Downloader.download_config.download_dir
I am running Mac OS 14.5
Stack Trace:
2024-05-26 06:55:10,617 MainProcess INFO Calling DownloadStep with 1 docs INFO: Calling DownloadStep with 1 docs 2024-05-26 06:55:10,617 MainProcess INFO processing content async INFO: processing content async 2024-05-26 06:55:10,619 MainProcess ERROR Exception raised while running download Traceback (most recent call last): File "/opt/anaconda3/lib/python3.11/site-packages/unstructured/ingest/v2/pipeline/interfaces.py", line 97, in run_async return await self._run_async(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/lib/python3.11/site-packages/unstructured/ingest/v2/pipeline/steps/download.py", line 84, in _run_async download_path = self.process.get_download_path(file_data=file_data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/lib/python3.11/site-packages/unstructured/ingest/v2/processes/connectors/fsspec/fsspec.py", line 240, in get_download_path self.download_config.download_dir / Path(file_data.source_identifiers.rel_path) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TypeError: unsupported operand type(s) for /: 'NoneType' and 'PosixPath' ERROR: Exception raised while running download Traceback (most recent call last): File "/opt/anaconda3/lib/python3.11/site-packages/unstructured/ingest/v2/pipeline/interfaces.py", line 97, in run_async return await self._run_async(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/lib/python3.11/site-packages/unstructured/ingest/v2/pipeline/steps/download.py", line 84, in _run_async download_path = self.process.get_download_path(file_data=file_data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/anaconda3/lib/python3.11/site-packages/unstructured/ingest/v2/processes/connectors/fsspec/fsspec.py", line 240, in get_download_path self.download_config.download_dir / Path(file_data.source_identifiers.rel_path) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ TypeError: unsupported operand type(s) for /: 'NoneType' and 'PosixPath' 2024-05-26 06:55:10,622 MainProcess ERROR 1 failed documents: ERROR: 1 failed documents: 2024-05-26 06:55:10,622 MainProcess ERROR /Users/anticythera/.cache/unstructured/ingest/pipeline/index/8485948ff856.json: [download] unsupported operand type(s) for /: 'NoneType' and 'PosixPath' ERROR: /Users/anticythera/.cache/unstructured/ingest/pipeline/index/8485948ff856.json: [download] unsupported operand type(s) for /: 'NoneType' and 'PosixPath'
The text was updated successfully, but these errors were encountered:
Thanks @tuvalusoftware - we'll take a look at this as soon as we're able.
Sorry, something went wrong.
No branches or pull requests
running the command:
causes an error:
resulting from
Fsspec.Downloader.download_config.download_dir
being NoneI am running Mac OS 14.5
Stack Trace:
The text was updated successfully, but these errors were encountered: