Comments (5)
你升级到最新版试试。
from baidupcs-py.
你升级到最新版试试。
还是不行,同样的命令在国内的服务器就可以跑。但是美国的服务器账户还可以操作文件 就是下载不了文件
from baidupcs-py.
2021-07-15 02:45:19,328 | DEBUG | download: download
: sifters: [], recursive: True, from_index: 0, downloader: Downloader.me, downloadparams: DownloadParams(chunk_size='50m', concurrency=5, quiet=False), out_cmd: False, has encrypt_password: False
2021-07-15 02:45:19,329 | DEBUG | download: download
: remotepaths should be uniq 1 == 1
2021-07-15 02:45:23,501 | DEBUG | app: app
: _exit_progress_bar: stop progress bar
2021-07-15 02:45:23,510 | DEBUG | app: app
: System Error: Traceback (most recent call last):
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 445, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 440, in _make_request
httplib_response = conn.getresponse()
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/http/client.py", line 1347, in getresponse
response.begin()
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/http/client.py", line 307, in begin
version, status, reason = self._read_status()
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/http/client.py", line 268, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/socket.py", line 669, in readinto
return self._sock.recv_into(b)
ConnectionResetError: [Errno 104] Connection reset by peer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/urllib3/util/retry.py", line 531, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/urllib3/packages/six.py", line 734, in reraise
raise value.with_traceback(tb)
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 445, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 440, in _make_request
httplib_response = conn.getresponse()
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/http/client.py", line 1347, in getresponse
response.begin()
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/http/client.py", line 307, in begin
version, status, reason = self._read_status()
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/http/client.py", line 268, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/socket.py", line 669, in readinto
return self._sock.recv_into(b)
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/baidupcs_py/common/io.py", line 917, in _request
resp = self._session.request(
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/requests/adapters.py", line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/baidupcs_py/app/app.py", line 117, in wrap
return func(*args, **kwargs)
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/baidupcs_py/app/app.py", line 175, in wrap
return func(*args, **kwargs)
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/baidupcs_py/app/app.py", line 972, in download
_download(
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/baidupcs_py/commands/download.py", line 419, in download
download_dir(
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/baidupcs_py/commands/download.py", line 349, in download_dir
download_dir(
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/baidupcs_py/commands/download.py", line 337, in download_dir
download_file(
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/baidupcs_py/commands/download.py", line 311, in download_file
downloader.download(
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/baidupcs_py/commands/download.py", line 82, in download
self._me_download(
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/baidupcs_py/commands/download.py", line 181, in _me_download
length = len(meDownloader)
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/baidupcs_py/common/io.py", line 1051, in len
return len(self._auto_decrypt_request)
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/baidupcs_py/common/io.py", line 965, in len
self._init()
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/baidupcs_py/common/io.py", line 856, in _init
with self._request((0, 1)):
File "/mnt/home/jingyu/.conda/envs/gluoncv/lib/python3.8/site-packages/baidupcs_py/common/io.py", line 943, in _request
raise IOError(f"{self.class.name} - Request Error") from err
OSError: AutoDecryptRequest - Request Error
2021-07-15 02:45:25,322 | DEBUG | app: app
: _teardown: start
2021-07-15 02:45:25,322 | DEBUG | app: app
: _teardown: end
from baidupcs-py.
刚刚弄了下 发现不能用--recursive 但是单独下文件就行
from baidupcs-py.
请问解决了吗
from baidupcs-py.
Related Issues (20)
- api接口无法登录 HOT 5
- 希望减少一下依赖,baidupcs-py构建太慢了 HOT 1
- 希望sdk能够给上传文件,加个进度条显示 HOT 3
- 用docker的python镜像构建,会报下面的错误 HOT 5
- 发布增加 wheel 文件
- Feature Request: extract sdk/api into a seperat package HOT 3
- Support python 3.11 HOT 1
- BaiduPCS-Py save的时候REMOTEDIR路径中有空格怎么处理 HOT 5
- 开启HTTP服务时报错 HOT 1
- 列出目录和下载凡是带空格的文件夹好像都失效了 HOT 3
- 有没有办法生成BaiduYunCacheFileV0.db 文件 HOT 1
- 上传文件到最后10%左右速度下降至200k HOT 2
- 上传速度突然变慢/8.19彻底无法上传 HOT 8
- 求教大佬们,同步本地目录到网盘的命令,如何显示进度? HOT 1
- (v0.7.6) System ERROR: Cannot specify `Depends` for type
- 如何自定义配置目录 HOT 1
- 安装时报错Failed to build BaiduPCS-Py ERROR: Could not build wheels for BaiduPCS-Py, which is required to install pyproject.toml-based projects
- 在使用share命令后出现:BaiduPCSError: error_code: 2, message: 参数错误 HOT 1
- subprocess-exited-with-error 安装baidupc-py失败 HOT 1
- 交互运行后出现cookies的字典格式不正确 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from baidupcs-py.