Skip to content

FileNotFoundError: The specified bucket does not exist #755

@hellogitee

Description

@hellogitee

手动修改AWS_S3_URL为ALIYUN_OSS_URL,在拉取文件时报如下错误,是阿里云不支持了吗

版本信息:
vectordb-bench 1.0.20

Image

Traceback (most recent call last):
File "/usr/local/python11/lib/python3.11/site-packages/s3fs/core.py", line 114, in _error_wrapper
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/python11/lib/python3.11/site-packages/aiobotocore/context.py", line 36, in wrapper
return await func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/python11/lib/python3.11/site-packages/aiobotocore/client.py", line 424, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.errorfactory.NoSuchBucket: An error occurred (NoSuchBucket) when calling the ListObjectsV2 operation: The specified bucket does not exist

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/local/python11/lib/python3.11/site-packages/vectordb_bench/interface.py", line 182, in _async_task_v2
case_res.metrics = runner.run(drop_old)
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/python11/lib/python3.11/site-packages/vectordb_bench/backend/task_runner.py", line 145, in run
self._pre_run(drop_old)
File "/usr/local/python11/lib/python3.11/site-packages/vectordb_bench/backend/task_runner.py", line 137, in _pre_run
self.ca.dataset.prepare(self.dataset_source, filters=self.ca.filters)
File "/usr/local/python11/lib/python3.11/site-packages/vectordb_bench/backend/dataset.py", line 368, in prepare
source.reader().read(
File "/usr/local/python11/lib/python3.11/site-packages/vectordb_bench/backend/data_source.py", line 133, in read
if (not local_file.exists()) or (not self.validate_file(remote_file, local_file)):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/python11/lib/python3.11/site-packages/vectordb_bench/backend/data_source.py", line 149, in validate_file
info = self.fs.info(remote)
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/python11/lib/python3.11/site-packages/fsspec/asyn.py", line 118, in wrapper
return sync(self.loop, func, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/python11/lib/python3.11/site-packages/fsspec/asyn.py", line 103, in sync
raise return_result
File "/usr/local/python11/lib/python3.11/site-packages/fsspec/asyn.py", line 56, in _runner
result[0] = await coro
^^^^^^^^^^
File "/usr/local/python11/lib/python3.11/site-packages/s3fs/core.py", line 1483, in _info
out = await self._call_s3(
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/python11/lib/python3.11/site-packages/s3fs/core.py", line 371, in _call_s3
return await _error_wrapper(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/python11/lib/python3.11/site-packages/s3fs/core.py", line 146, in _error_wrapper
raise err
FileNotFoundError: The specified bucket does not exist

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions