sjtug / mirror-requests

新镜像请求 & BUG 汇报
https://mirrors.sjtug.sjtu.edu.cn
49 stars 2 forks source link

anaconda main channel 未同步 `.conda` 文件 #56

Closed specter119 closed 4 years ago

specter119 commented 5 years ago

类别:Bug

提示四个包缺少 .conda 文件,windows 用的不多,不知道 .conda 文件现在是干啥的。

The following packages will be UPDATED:

  certifi                                   2019.3.9-py37_0 --> 2019.6.16-py37_0
  cython                             0.29.10-py37ha925a31_0 --> 0.29.12-py37ha925a31_0
  ipython                              7.5.0-py37h39e3cac_0 --> 7.6.1-py37h39e3cac_0
  isort                                       4.3.20-py37_0 --> 4.3.21-py37_0
  jupyter_client     anaconda/pkgs/main/win-64::jupyter_cl~ --> anaconda/pkgs/main/noarch::jupyter_client-5.3.1-py_0
  jupyter_core       anaconda/pkgs/main/win-64::jupyter_co~ --> anaconda/pkgs/main/noarch::jupyter_core-4.5.0-py_0
  lxml                                 4.3.3-py37h1350720_0 --> 4.3.4-py37h1350720_0
  parso                                          0.4.0-py_0 --> 0.5.0-py_0
  ruamel.yaml                        0.15.97-py37hfa6e2cd_0 --> 0.15.99-py37hfa6e2cd_0
  sqlite                                  3.28.0-he774522_0 --> 3.29.0-he774522_0
  statsmodels                          0.9.0-py37h452e1ab_0 --> 0.10.0-py37h8c2d366_0
  tornado                              6.0.2-py37he774522_0 --> 6.0.3-py37he774522_0
  wrapt                               1.11.1-py37he774522_0 --> 1.11.2-py37he774522_0

Proceed ([y]/n)? y

Downloading and Extracting Packages
tornado-6.0.3        | 594 KB    |                                                                              |   0%
cython-0.29.12       | 2.0 MB    | ############################################################################ | 100%
jupyter_client-5.3.1 | 69 KB     | ############################################################################ | 100%
ipython-7.6.1        | 1.1 MB    | ############################################################################ | 100%
parso-0.5.0          | 67 KB     | ############################################################################ | 100%
lxml-4.3.4           | 1.0 MB    |                                                                              |   0%
wrapt-1.11.2         | 48 KB     |                                                                              |   0%
isort-4.3.21         | 85 KB     |                                                                              |   0%
ruamel.yaml-0.15.99  | 289 KB    | ############################################################################ | 100%
statsmodels-0.10.0   | 7.0 MB    |                                                                              |   0%
jupyter_core-4.5.0   | 48 KB     | ############################################################################ | 100%

CondaHTTPError: HTTP 404 NOT FOUND for url <https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/main/win-64/tornado-6.0.3-py37he774522_0.conda>
Elapsed: 00:00.002377

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

CondaHTTPError: HTTP 404 NOT FOUND for url <https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/main/win-64/lxml-4.3.4-py37h1350720_0.conda>
Elapsed: 00:00.002408

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

CondaHTTPError: HTTP 404 NOT FOUND for url <https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/main/win-64/wrapt-1.11.2-py37he774522_0.conda>
Elapsed: 00:00.032428

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

CondaHTTPError: HTTP 404 NOT FOUND for url <https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/main/win-64/isort-4.3.21-py37_0.conda>
Elapsed: 00:00.035304

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

CondaHTTPError: HTTP 404 NOT FOUND for url <https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/main/win-64/statsmodels-0.10.0-py37h8c2d366_0.conda>
Elapsed: 00:00.006419

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
skyzh commented 5 years ago

请按照现在网站上的配置方法,用 anaconda 子域名试一下。 On Jul 17, 2019, 4:26 PM +0800, KeLiu notifications@github.com, wrote:

类别:Bug 提示四个包缺少 .conda 文件,windows 用的不多,不知道 .conda 文件现在是干啥的。 The following packages will be UPDATED:

certifi 2019.3.9-py37_0 --> 2019.6.16-py37_0

cython 0.29.10-py37ha925a31_0 --> 0.29.12-py37ha925a31_0

ipython 7.5.0-py37h39e3cac_0 --> 7.6.1-py37h39e3cac_0

isort 4.3.20-py37_0 --> 4.3.21-py37_0

jupyter_client anaconda/pkgs/main/win-64::jupyter_cl~ --> anaconda/pkgs/main/noarch::jupyter_client-5.3.1-py_0

jupyter_core anaconda/pkgs/main/win-64::jupyter_co~ --> anaconda/pkgs/main/noarch::jupyter_core-4.5.0-py_0

lxml 4.3.3-py37h1350720_0 --> 4.3.4-py37h1350720_0

parso 0.4.0-py_0 --> 0.5.0-py_0

ruamel.yaml 0.15.97-py37hfa6e2cd_0 --> 0.15.99-py37hfa6e2cd_0

sqlite 3.28.0-he774522_0 --> 3.29.0-he774522_0

statsmodels 0.9.0-py37h452e1ab_0 --> 0.10.0-py37h8c2d366_0

tornado 6.0.2-py37he774522_0 --> 6.0.3-py37he774522_0

wrapt 1.11.1-py37he774522_0 --> 1.11.2-py37he774522_0

Proceed ([y]/n)? y

Downloading and Extracting Packages

tornado-6.0.3 | 594 KB | | 0%

cython-0.29.12 | 2.0 MB | ############################################################################ | 100%

jupyter_client-5.3.1 | 69 KB | ############################################################################ | 100%

ipython-7.6.1 | 1.1 MB | ############################################################################ | 100%

parso-0.5.0 | 67 KB | ############################################################################ | 100%

lxml-4.3.4 | 1.0 MB | | 0%

wrapt-1.11.2 | 48 KB | | 0%

isort-4.3.21 | 85 KB | | 0%

ruamel.yaml-0.15.99 | 289 KB | ############################################################################ | 100%

statsmodels-0.10.0 | 7.0 MB | | 0%

jupyter_core-4.5.0 | 48 KB | ############################################################################ | 100%

CondaHTTPError: HTTP 404 NOT FOUND for url https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/main/win-64/tornado-6.0.3-py37he774522_0.conda

Elapsed: 00:00.002377

An HTTP error occurred when trying to retrieve this URL.

HTTP errors are often intermittent, and a simple retry will get you on your way.

CondaHTTPError: HTTP 404 NOT FOUND for url https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/main/win-64/lxml-4.3.4-py37h1350720_0.conda

Elapsed: 00:00.002408

An HTTP error occurred when trying to retrieve this URL.

HTTP errors are often intermittent, and a simple retry will get you on your way.

CondaHTTPError: HTTP 404 NOT FOUND for url https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/main/win-64/wrapt-1.11.2-py37he774522_0.conda

Elapsed: 00:00.032428

An HTTP error occurred when trying to retrieve this URL.

HTTP errors are often intermittent, and a simple retry will get you on your way.

CondaHTTPError: HTTP 404 NOT FOUND for url https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/main/win-64/isort-4.3.21-py37_0.conda

Elapsed: 00:00.035304

An HTTP error occurred when trying to retrieve this URL.

HTTP errors are often intermittent, and a simple retry will get you on your way.

CondaHTTPError: HTTP 404 NOT FOUND for url https://mirrors.sjtug.sjtu.edu.cn/anaconda/pkgs/main/win-64/statsmodels-0.10.0-py37h8c2d366_0.conda

Elapsed: 00:00.006419

An HTTP error occurred when trying to retrieve this URL.

HTTP errors are often intermittent, and a simple retry will get you on your way.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

specter119 commented 5 years ago

@skyzh 测试和域名配置方式无关,以前的和现在的都可以用,问题在于 conda 版本。 conda 的 4.7.5 这个版本是不能用的,覆盖安装主环境(最新的 tarball 为 4.6.16,并不要手贱升级)可以解决。 4.7.5 这个版本,测试了 linux 和 win64 都不能用。mac 没试。

skyzh commented 5 years ago

谢谢~

specter119 commented 5 years ago

@skyzh https://github.com/sjtug/sjtug.github.io/issues/12 这个考虑下?现在这个 bug 可能时时出现了的。

specter119 commented 5 years ago

@skyzh 由于 conda 已经升级到4.7,但是网上风评浪静。所以我就问了下也用 conda 的人,别人都没这问题。 于是,我升级到了4.7,问题依旧,但换回官方源,就没问题了。 所以现在应该确实是咱们的源里缺 .conda,不是所有的包缺,部分包缺。咱们的源现在只能用conda 4.6。

specter119 commented 5 years ago

@skyzh 所以如何进维护 mirrors 的圈子?我能贡献不太多的时间和可以忽略的技术。

skyzh commented 5 years ago

@specter119 很抱歉前几天在军训,没来得及回复。您可以在 SJTUG Telegram 群组中和我们一起维护 https://mirrors.sjtug.sjtu.edu.cn 。与此同时,镜像源的开源代码都在 https://github.com/sjtug/mirror-docker 和服务器上的版本基本一致,您可以发送 PR,我们会合并后同步到服务器上。

specter119 commented 5 years ago

@skyzh 有木有方法看看log呀,凭空猜很难呀。我看写的那个 python 脚本有些 stdout 呀?没有文件么?

skyzh commented 5 years ago
/mnt/anaconda/cloud/menpo/linux-64/.menpo-0.7.6-py27_0.tar.bz2 size mismatch: Expected 4739800 Actual 4647432
Failed to verify /mnt/anaconda/cloud/menpo/linux-64/menpo-0.7.6-py27_0.tar.bz2, Retrying in 3 seconds...
Verify failed: /mnt/anaconda/cloud/menpo/linux-64/.menpo-0.7.6-py27_0.tar.bz2 size mismatch: Expected 4739800 Actual 4738993
Failed to verify /mnt/anaconda/cloud/menpo/linux-64/menpo-0.7.6-py27_0.tar.bz2, Retrying in 6 seconds...
Verify failed: /mnt/anaconda/cloud/menpo/linux-64/.menpo-0.7.6-py27_0.tar.bz2 size mismatch: Expected 4739800 Actual 4738993
Failed to download https://conda.anaconda.org/menpo/linux-64//menpo-0.7.6-py27_0.tar.bz2: Failed to verify /mnt/anaconda/cloud/menpo/linux-64/menpo-0.7.6-py27_0.tar.bz2 | Traceback (most recent call last):
  File "/worker-script/anaconda.py", line 138, in download_repo
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 425, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/worker-script/anaconda.py", line 52, in f_retry
    return f(*args, **kwargs)
  File "/worker-script/anaconda.py", line 105, in download_file
    raise VerifyError(filepath)
VerifyError: Failed to verify /mnt/anaconda/cloud/menpo/linux-64/menpo-0.7.6-py27_0.tar.bz2

Failed to download cloud/bioconda/linux-64: <Future at 0x7f4b62886588 state=finished raised JSONDecodeError> | Traceback (most recent call last):
  File "/worker-script/anaconda.py", line 182, in <module>
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 432, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/worker-script/anaconda.py", line 125, in download_repo
    j = json.load(f)
  File "/usr/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 182185 column 6 (char 5724950)
Failed to download cloud/bioconda/noarch: <Future at 0x7f4b627cbe48 state=finished raised JSONDecodeError> | Traceback (most recent call last):
  File "/worker-script/anaconda.py", line 182, in <module>
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 425, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/worker-script/anaconda.py", line 125, in download_repo
    j = json.load(f)
  File "/usr/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Unterminated string starting at: line 45546 column 5 (char 1497864)
Failed to download cloud/bioconda/osx-64: <Future at 0x7f4b627dd320 state=finished raised JSONDecodeError> | Traceback (most recent call last):
  File "/worker-script/anaconda.py", line 182, in <module>
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 432, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/worker-script/anaconda.py", line 125, in download_repo
    j = json.load(f)
  File "/usr/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Unterminated string starting at: line 285557 column 17 (char 8604383)
Failed to download cloud/conda-forge/linux-64: <Future at 0x7f4b627dd8d0 state=finished raised JSONDecodeError> | Traceback (most recent call last):
  File "/worker-script/anaconda.py", line 182, in <module>
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 432, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/worker-script/anaconda.py", line 125, in download_repo
    j = json.load(f)
  File "/usr/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 199289 column 25 (char 5847829)
Failed to download cloud/conda-forge/noarch: <Future at 0x7f4b627ea048 state=finished raised JSONDecodeError> | Traceback (most recent call last):
  File "/worker-script/anaconda.py", line 182, in <module>
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 425, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/worker-script/anaconda.py", line 125, in download_repo
    j = json.load(f)
  File "/usr/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Unterminated string starting at: line 235136 column 25 (char 6667028)
Verify failed: /mnt/anaconda/cloud/conda-forge/osx-64/.fsleyes-0.31.1-py36_0.tar.bz2 size mismatch: Expected 30578117 Actual 17925708
Failed to verify /mnt/anaconda/cloud/conda-forge/osx-64/fsleyes-0.31.1-py36_0.tar.bz2, Retrying in 3 seconds...
Verify failed: /mnt/anaconda/cloud/conda-forge/osx-64/.fsleyes-0.31.1-py36_0.tar.bz2 size mismatch: Expected 30578117 Actual 28515089
Failed to verify /mnt/anaconda/cloud/conda-forge/osx-64/fsleyes-0.31.1-py36_0.tar.bz2, Retrying in 6 seconds...
Verify failed: /mnt/anaconda/cloud/conda-forge/osx-64/.fsleyes-0.31.1-py36_0.tar.bz2 size mismatch: Expected 30578117 Actual 19090181
Failed to download https://conda.anaconda.org/conda-forge/osx-64//fsleyes-0.31.1-py36_0.tar.bz2: Failed to verify /mnt/anaconda/cloud/conda-forge/osx-64/fsleyes-0.31.1-py36_0.tar.bz2 | Traceback (most recent call last):
  File "/worker-script/anaconda.py", line 138, in download_repo
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 425, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/worker-script/anaconda.py", line 52, in f_retry
    return f(*args, **kwargs)
  File "/worker-script/anaconda.py", line 105, in download_file
    raise VerifyError(filepath)
VerifyError: Failed to verify /mnt/anaconda/cloud/conda-forge/osx-64/fsleyes-0.31.1-py36_0.tar.bz2

Failed to download cloud/conda-forge/win-64: <Future at 0x7f4b627f8390 state=finished raised JSONDecodeError> | Traceback (most recent call last):
  File "/worker-script/anaconda.py", line 182, in <module>
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 425, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/worker-script/anaconda.py", line 125, in download_repo
    j = json.load(f)
  File "/usr/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 195685 column 3 (char 5638932)
Failed to download pkgs/free/linux-32: <Future at 0x7f4b62980cf8 state=finished raised JSONDecodeError> | Traceback (most recent call last):
  File "/worker-script/anaconda.py", line 182, in <module>
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 425, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/worker-script/anaconda.py", line 125, in download_repo
    j = json.load(f)
  File "/usr/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Unterminated string starting at: line 54582 column 14 (char 1432305)
Failed to download pkgs/free/linux-64: <Future at 0x7f4b607a7f60 state=finished raised JSONDecodeError> | Traceback (most recent call last):
  File "/worker-script/anaconda.py", line 182, in <module>
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 425, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/worker-script/anaconda.py", line 125, in download_repo
    j = json.load(f)
  File "/usr/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Unterminated string starting at: line 86603 column 5 (char 2226932)
Failed to download pkgs/free/osx-64: <Future at 0x7f4b629737b8 state=finished raised JSONDecodeError> | Traceback (most recent call last):
  File "/worker-script/anaconda.py", line 182, in <module>
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 425, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/worker-script/anaconda.py", line 125, in download_repo
    j = json.load(f)
  File "/usr/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Unterminated string starting at: line 70498 column 5 (char 1825521)
Failed to download pkgs/free/win-32: <Future at 0x7f4b60717518 state=finished raised JSONDecodeError> | Traceback (most recent call last):
  File "/worker-script/anaconda.py", line 182, in <module>
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 425, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/worker-script/anaconda.py", line 125, in download_repo
    j = json.load(f)
  File "/usr/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Unterminated string starting at: line 54303 column 9 (char 1424123)
Failed to download pkgs/free/win-64: <Future at 0x7f4b607175c0 state=finished raised JSONDecodeError> | Traceback (most recent call last):
  File "/worker-script/anaconda.py", line 182, in <module>
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 425, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/worker-script/anaconda.py", line 125, in download_repo
    j = json.load(f)
  File "/usr/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 53289 column 24 (char 1399555)
Failed to download pkgs/main/linux-32: <Future at 0x7f4b60717c88 state=finished raised JSONDecodeError> | Traceback (most recent call last):
  File "/worker-script/anaconda.py", line 182, in <module>
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 425, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/worker-script/anaconda.py", line 125, in download_repo
    j = json.load(f)
  File "/usr/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Unterminated string starting at: line 292193 column 17 (char 8870602)
Failed to download pkgs/main/linux-64: <Future at 0x7f4b60717b70 state=finished raised JSONDecodeError> | Traceback (most recent call last):
  File "/worker-script/anaconda.py", line 182, in <module>
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 425, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/worker-script/anaconda.py", line 125, in download_repo
    j = json.load(f)
  File "/usr/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ':' delimiter: line 474838 column 21 (char 14269184)
Failed to download pkgs/main/linux-ppc64le: <Future at 0x7f4b6072f390 state=finished raised JSONDecodeError> | Traceback (most recent call last):
  File "/worker-script/anaconda.py", line 182, in <module>
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 425, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/worker-script/anaconda.py", line 125, in download_repo
    j = json.load(f)
  File "/usr/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Unterminated string starting at: line 85427 column 14 (char 2562784)
Failed to download pkgs/main/osx-64: <Future at 0x7f4b6072fa20 state=finished raised JSONDecodeError> | Traceback (most recent call last):
  File "/worker-script/anaconda.py", line 182, in <module>
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 425, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/worker-script/anaconda.py", line 125, in download_repo
    j = json.load(f)
  File "/usr/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 365799 column 44 (char 10918656)
Failed to download pkgs/main/win-32: <Future at 0x7f4b6072fb70 state=finished raised JSONDecodeError> | Traceback (most recent call last):
  File "/worker-script/anaconda.py", line 182, in <module>
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 425, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/worker-script/anaconda.py", line 125, in download_repo
    j = json.load(f)
  File "/usr/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Unterminated string starting at: line 348418 column 7 (char 10328826)
Failed to download pkgs/main/win-64: <Future at 0x7f4b6072fe80 state=finished raised JSONDecodeError> | Traceback (most recent call last):
  File "/worker-script/anaconda.py", line 182, in <module>
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 425, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/worker-script/anaconda.py", line 125, in download_repo
    j = json.load(f)
  File "/usr/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 379415 column 24 (char 11270913)
Failed to download pkgs/r/linux-32: <Future at 0x7f4b606955c0 state=finished raised JSONDecodeError> | Traceback (most recent call last):
  File "/worker-script/anaconda.py", line 182, in <module>
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 425, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/worker-script/anaconda.py", line 125, in download_repo
    j = json.load(f)
  File "/usr/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 47508 column 5 (char 1415937)
Failed to download pkgs/r/linux-64: <Future at 0x7f4b60695860 state=finished raised JSONDecodeError> | Traceback (most recent call last):
  File "/worker-script/anaconda.py", line 182, in <module>
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 425, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/worker-script/anaconda.py", line 125, in download_repo
    j = json.load(f)
  File "/usr/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 153760 column 3 (char 4643587)
Failed to download pkgs/r/noarch: <Future at 0x7f4b606a6b38 state=finished raised JSONDecodeError> | Traceback (most recent call last):
  File "/worker-script/anaconda.py", line 182, in <module>
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 425, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/worker-script/anaconda.py", line 125, in download_repo
    j = json.load(f)
  File "/usr/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Unterminated string starting at: line 49745 column 5 (char 1522399)
Failed to download pkgs/r/osx-64: <Future at 0x7f4b606b8128 state=finished raised JSONDecodeError> | Traceback (most recent call last):
  File "/worker-script/anaconda.py", line 182, in <module>
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 425, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/worker-script/anaconda.py", line 125, in download_repo
    j = json.load(f)
  File "/usr/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Unterminated string starting at: line 50158 column 9 (char 1506040)
Failed to download pkgs/r/win-32: <Future at 0x7f4b606b8240 state=finished raised JSONDecodeError> | Traceback (most recent call last):
  File "/worker-script/anaconda.py", line 182, in <module>
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 425, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/worker-script/anaconda.py", line 125, in download_repo
    j = json.load(f)
  File "/usr/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 47978 column 1 (char 1440513)
Failed to download pkgs/r/win-64: <Future at 0x7f4b606b8cf8 state=finished raised JSONDecodeError> | Traceback (most recent call last):
  File "/worker-script/anaconda.py", line 182, in <module>
    future.result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 425, in result
    return self.__get_result()
  File "/usr/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/worker-script/anaconda.py", line 125, in download_repo
    j = json.load(f)
  File "/usr/lib/python3.7/json/__init__.py", line 296, in load
    parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Unterminated string starting at: line 46039 column 5 (char 1391347)

最近一次的 log,不知道能不能帮到你(其实上次我还有几个 PR 还没合到服务器上

skyzh commented 5 years ago

我翻了一下最近几次的 log 都没有牵扯到 .conda 的同步错误(

skyzh commented 5 years ago

@specter119 可以麻烦给一个上游包含 .conda 文件的地址吗

specter119 commented 5 years ago

@skyzh 饿,上游直接看我也没看到。不过 curl 能下载。

比如 https://repo.anaconda.com/pkgs/main/linux-64/numpy-base-1.17.2-py36h2f8d375_0.conda

或许不是个文件?

curl -O -v https://repo.anaconda.com/pkgs/main/linux-64/numpy-base-1.17.2-py36h2f8d375_0.conda
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 2606:4700::6810:8303:443...
* TCP_NODELAY set
*   Trying 104.16.130.3:443...
* TCP_NODELAY set
* Connected to repo.anaconda.com (104.16.130.3) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
} [5 bytes data]
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.3 (IN), TLS handshake, Server hello (2):
{ [100 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [3215 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [115 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [37 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-ECDSA-CHACHA20-POLY1305
* ALPN, server accepted to use h2
* Server certificate:
*  subject: OU=Domain Control Validated; OU=PositiveSSL Multi-Domain; CN=ssl768543.cloudflaressl.com
*  start date: Jun 28 00:00:00 2019 GMT
*  expire date: Jan  4 23:59:59 2020 GMT
*  subjectAltName: host "repo.anaconda.com" matched cert's "*.anaconda.com"
*  issuer: C=GB; ST=Greater Manchester; L=Salford; O=COMODO CA Limited; CN=COMODO ECC Domain Validation Secure Server CA 2
*  SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
} [5 bytes data]
* Using Stream ID: 1 (easy handle 0x5563219c17b0)
} [5 bytes data]
> GET /pkgs/main/linux-64/numpy-base-1.17.2-py36h2f8d375_0.conda HTTP/2
> Host: repo.anaconda.com
> User-Agent: curl/7.66.0
> Accept: */*
>
{ [5 bytes data]
* Connection state changed (MAX_CONCURRENT_STREAMS == 256)!
} [5 bytes data]
< HTTP/2 200
< date: Wed, 09 Oct 2019 13:24:20 GMT
< content-type: binary/octet-stream
< content-length: 4373834
* Added cookie __cfduid="d7bf210146bbf1d6d7b9f9d0535528dd51570627460" for domain anaconda.com, path /, expire 1602163460
< set-cookie: __cfduid=d7bf210146bbf1d6d7b9f9d0535528dd51570627460; expires=Thu, 08-Oct-20 13:24:20 GMT; path=/; domain=.anaconda.com; HttpOnly; Secure
< x-amz-id-2: /lqzCKIP+paryMcjVDuJfzA8j9ujuXZfZX2wcs7a+oKJQdaHCsPZUiVipgv2V6ZzzrMni+y9O3c=
< x-amz-request-id: C92473D2B24DFC4E
< last-modified: Thu, 26 Sep 2019 15:31:41 GMT
< x-amz-version-id: 5l4RiO7K60DS08nAONFZ_0K_0VLR9n6P
< etag: "129b3a800a0aff871b1c5d3b52802246"
< cf-cache-status: HIT
< age: 191432
< expires: Wed, 09 Oct 2019 13:24:50 GMT
< cache-control: public, max-age=30
< accept-ranges: bytes
< expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
< server: cloudflare
< cf-ray: 5230ac9aabb3e4d9-LAX
<
{ [832 bytes data]
100 4271k  100 4271k    0     0  1070k      0  0:00:03  0:00:03 --:--:-- 1070k
* Connection #0 to host repo.anaconda.com left intact
specter119 commented 5 years ago

@skyzh 有啥帮助木有,还有啥我能帮忙么?

skyzh commented 5 years ago

过几天我魔改同步脚本吧。。。 On Oct 12, 2019, 4:26 PM +0800, KeLiu notifications@github.com, wrote:

@skyzh 有啥帮助木有,还有啥我能帮忙么? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

specter119 commented 5 years ago

@skyzh 我用less看了下。这个 .conda 就是个压缩包。

==> use zip_file:contained_file to view a file in the archive
Archive:  numpy-base-1.17.2-py36h2f8d375_0.conda
 Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
--------  ------  ------- ---- ---------- ----- --------  ----
       0  Stored        0   0% 2019-09-25 18:17 00000000  metadata.json
   98781  Stored    98781   0% 2019-09-25 18:16 e992ce49  info-numpy-base-1.17.2-py36h2f8d375_0.tar.zst
 4274599  Stored  4274599   0% 2019-09-25 18:17 0077ca4e  pkg-numpy-base-1.17.2-py36h2f8d375_0.tar.zst
--------          -------  ---                            -------
 4373380          4373380   0%                            3 files

看了它在 metadata.json 里的 sha256sum,和这个 .conda 文件对得上。 但是 info- pkg- 这两个文件,无论是网上,还是本地解压后的缓存里,都看不见,看文件名也是压缩包。

还有,我发现是不是能从 metadata.json 这个里获得需要同步的文件列表,因为这文件里是全的。 有空我去看看同步脚本,获取文件列表那边,我看我能不能魔改下。

specter119 commented 5 years ago

现在除了Main,貌似都不怎么缺了,我现在第三方源用 sjtug,main用tuna是正常的。

specter119 commented 4 years ago

update:

貌似我们的主源差不多也可以用了? 首先,conda 4.8.2 是有bug的, comment 掉的 channel,更新的时候还会用。这是我现在的 ~/.condarc

auto_update_conda: false
channel_alias: https://anaconda.mirrors.sjtug.sjtu.edu.cn/cloud
custom_multichannels:
  sjtu:
    - https://anaconda.mirrors.sjtug.sjtu.edu.cn/pkgs/main
    - https://anaconda.mirrors.sjtug.sjtu.edu.cn/pkgs/r
  tuna:
    - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
channels:
  # - sjtu
  # - tuna
  - defaults
  - conda-forge
  # - pytorch
  # - atztogo
  - viscid-hub
pinned_packages:
  - conda-forge::blas
  - conda-forge::libblas[build=*mkl]
  - conda-forge::scikit-learn
  - conda-forge::ipympl
  - conda-forge::widgetsnbextension
  - tensorflow[build=mkl_*,version>=2.0.0]
  - pytorch[build=cpu_*]
  - viscid-hub::vtk
  - viscid-hub::mayavi
  - prompt_toolkit[version<3]
envs_dirs:
  - ~/.conda/envs
pkgs_dirs:
  - ~/.conda/pkgs
changeps1: false

但是,更新的话,几乎所有的包都变成 sjtu channel 里的了,然后只有一个包属于 tuna,defaults 倒是一个都没有。但是 conda info 里根本没有 sjtu 和 tuna 的 URL 我有时间用下 pi ,只用 sjtu channel 建个环境看看。


只要咕够久,bug 也可以挂掉!

specter119 commented 4 years ago

Pi上默认版本是 4.7.12,只用 sjtug 的源作为主源还是不行的。 我本地的conda 4.8.2感觉是用官方源分析了依赖,然后从sjtug和tuna(如上,还在comment中)下载了包,也是很魔性。

skyzh commented 4 years ago

(那就等 pi 升级吧(逃

skyzh commented 4 years ago

我们刚刚修复了 anaconda 同步失败的问题,过几天可以部署上去。

skyzh commented 4 years ago

Pi上默认版本是 4.7.12,只用 sjtug 的源作为主源还是不行的。 我本地的conda 4.8.2感觉是用官方源分析了依赖,然后从sjtug和tuna(如上,还在comment中)下载了包,也是很魔性。

刚刚看了一下,conda 4.8.3 从 create env 到 install 可以完全只使用 sjtug 的镜像。

skyzh commented 4 years ago

复现了需要 .conda 的问题,在修了。

skyzh commented 4 years ago

修好了,在同步了。过几天就可以用了(

skyzh commented 4 years ago

btw,如果只指定 sjtug 的 conda-forge 镜像是没有 .conda 的问题的。怀疑 anaconda 只有 main 里面做了 .conda

skyzh commented 4 years ago

修好了,撒花🎉

specter119 commented 4 years ago

泪目