Skip to content
New issue

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

obsClient.putFile raise "read of closed file"fault. version is 3.21.8 #15

Open
jiangrong2001 opened this issue Dec 19, 2021 · 1 comment

Comments

@jiangrong2001
Copy link

resp = self.obsClient.putFile(bucketname, inname, local_file)
File "/root/airflow/dags/obs/client.py", line 152, in wrapper
raise e
File "/root/airflow/dags/obs/client.py", line 148, in wrapper
ret = func(*args, **kwargs)
File "/root/airflow/dags/obs/client.py", line 1779, in putFile
methodName='putContent', readable=readable, extensionHeaders=extensionHeaders)
File "/root/airflow/dags/obs/client.py", line 438, in _make_put_request
extensionHeaders=extensionHeaders)
File "/root/airflow/dags/obs/client.py", line 481, in _make_request_with_retry
return self._make_error_result(e, ret)
File "/root/airflow/dags/obs/client.py", line 445, in _make_error_result
raise e
File "/root/airflow/dags/obs/client.py", line 460, in _make_request_with_retry
extensionHeaders=extensionHeaders)
File "/root/airflow/dags/obs/client.py", line 536, in _make_request_internal
chunkedMode)
File "/root/airflow/dags/obs/client.py", line 704, in _send_request
entity(util.conn_delegate(conn))
File "/root/airflow/dags/obs/util.py", line 223, in entity
chunk = readable.read(readCountOnce)
ValueError: read of closed file

@liqiuqiu111
Copy link

请更新SDK版本号为3.23.12,已知问题,已修复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants