Giter Club home page Giter Club logo

Comments (5)

PeterDing avatar PeterDing commented on May 29, 2024

你升级到最新版试试。

from baidupcs-py.

jingyuxin412 avatar jingyuxin412 commented on May 29, 2024

你升级到最新版试试。

还是不行,同样的命令在国内的服务器就可以跑。但是美国的服务器账户还可以操作文件 就是下载不了文件

from baidupcs-py.

jingyuxin412 avatar jingyuxin412 commented on May 29, 2024

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.

jingyuxin412 avatar jingyuxin412 commented on May 29, 2024

刚刚弄了下 发现不能用--recursive 但是单独下文件就行

from baidupcs-py.

jalatls avatar jalatls commented on May 29, 2024

请问解决了吗

from baidupcs-py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.