question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

a valid channel must contain a `noarch/repodata.json`

See original GitHub issue

While attempting to respond to a reviewer comment for my fltk recipe submission (#6587), I got the following error. What to do?

Traceback (most recent call last):
  File "C:\Miniconda36-x64\lib\site-packages\conda\core\subdir_data.py", line 440, in fetch_repodata_remote_request
    resp.raise_for_status()
  File "C:\Miniconda36-x64\lib\site-packages\requests\models.py", line 935, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: None for url: file:///C:/Miniconda36-x64/conda-bld/noarch/repodata.json
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File ".ci_support\build_all.py", line 83, in <module>
    build_all(args.recipes_dir, args.arch)
  File ".ci_support\build_all.py", line 35, in build_all
    index = conda_build.conda_interface.get_index(channel_urls=channel_urls)
  File "C:\Miniconda36-x64\lib\site-packages\conda\common\io.py", line 46, in decorated
    return f(*args, **kwds)
  File "C:\Miniconda36-x64\lib\site-packages\conda\core\index.py", line 65, in get_index
    index = fetch_index(channel_urls, use_cache=use_cache)
  File "C:\Miniconda36-x64\lib\site-packages\conda\core\index.py", line 83, in fetch_index
    index = collect_all_repodata_as_index(use_cache, channel_urls)
  File "C:\Miniconda36-x64\lib\site-packages\conda\core\subdir_data.py", line 619, in collect_all_repodata_as_index
    index.update(sd.iter_dists_records())
  File "C:\Miniconda36-x64\lib\site-packages\conda\core\subdir_data.py", line 175, in iter_dists_records
    self.load()
  File "C:\Miniconda36-x64\lib\site-packages\conda\core\subdir_data.py", line 149, in load
    _internal_state = self._load()
  File "C:\Miniconda36-x64\lib\site-packages\conda\core\subdir_data.py", line 227, in _load
    mod_etag_headers.get('_mod'))
  File "C:\Miniconda36-x64\lib\site-packages\conda\core\subdir_data.py", line 571, in fetch_repodata_remote_request
    caused_by=e)
conda.exceptions.CondaHTTPError: HTTP 404 CONNECTION FAILED for url <file:///C:/Miniconda36-x64/conda-bld/noarch/repodata.json>
Elapsed: 00:00.000120
The remote server could not find the noarch directory for the
requested channel with url: file:///C:/Miniconda36-x64/conda-bld
As of conda 4.3, a valid channel must contain a `noarch/repodata.json` and
associated `noarch/repodata.json.bz2` file, even if `noarch/repodata.json` is
empty. please request that the channel administrator create
`noarch/repodata.json` and associated `noarch/repodata.json.bz2` files.
$ mkdir noarch
$ echo '{}' > noarch/repodata.json
$ bzip2 -k noarch/repodata.json
You will need to adjust your conda configuration to proceed.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
hajapycommented, Sep 5, 2018

Seeing the same issue on this very simple recipe: https://github.com/conda-forge/staged-recipes/pull/6623

0reactions
marcelotrevisanicommented, Sep 7, 2018

That is fixed for now. So, I’m closing this issue. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Conda >= 4.3 Support requires "noarch/repodata.json" #1138
In testing, adding m-lab and conda-forge channels via conda config (or ... a valid channel must contain a `noarch/repodata.json` and ...
Read more >
Cannot install Gensim in Conda env - noarch directory not found
I think I figured it out - those added channels gotta go. Navigate to .condarc I found it in my user directory and...
Read more >
Open-source Languages & Tools for z/OS - Rocket Forum
requested channel with url: https://anaconda.org/zoss-appdev. As of conda 4.3, a valid channel must contain a `noarch/repodata.json` and
Read more >
Conda channels — conda-build 3.23.3+0.g20b08017.dirty ...
As of conda 4.3, a valid channel must contain a `noarch/repodata.json` and associated `noarch/repodata.json.bz2` file, even if `noarch/repodata.json` is ...
Read more >
conda-forge/conda-forge.github.io - Gitter
As of conda 4.3, a valid channel must contain a noarch/repodata.json and associated noarch/repodata.json.bz2 file, even if noarch/repodata.json is
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found