conda-forge / conda-forge/conda-smithy

Error during registering CI

Open
#233 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
180
Forks
231
Avg merge
1d 10h
Merged PRs (30d)
9

Description

Not sure if this is worth looking into further. This happened once. Saw this while trying to enable the Travis CI setting "Build only if .travis.yml is present". Other info can be found in the log along with the error at the end.

```
$ conda smithy --version
No circle token. Create a token at https://circleci.com/account/api and
put it in ~/.conda-smithy/circle.token
No appveyor token. Create a token at https://ci.appveyor.com/api-token and
Put one in ~/.conda-smithy/appveyor.token
1.0.1
$ conda info
Current conda install:

platform : osx-64
conda version : 4.1.8
conda-env version : 2.5.2
conda-build version : 1.21.6
python version : 2.7.12.final.0
requests version : 2.10.0
root environment : /zopt/conda2 (writable)
default environment : /zopt/conda2/envs/nanshenv
envs directories : /zopt/conda2/envs
package cache : /zopt/conda2/pkgs
channel URLs : https://conda.anaconda.org/t//conda-forge/osx-64/
https://conda.anaconda.org/t//conda-forge/noarch/
https://conda.anaconda.org/t//nanshe/osx-64/
https://conda.anaconda.org/t//nanshe/noarch/
https://repo.continuum.io/pkgs/free/osx-64/
https://repo.continuum.io/pkgs/free/noarch/
https://repo.continuum.io/pkgs/pro/osx-64/
https://repo.continuum.io/pkgs/pro/noarch/
https://conda.anaconda.org/t//jakirkham/osx-64/
https://conda.anaconda.org/t//jakirkham/noarch/
https://conda.anaconda.org/t//javascript/osx-64/
https://conda.anaconda.org/t//javascript/noarch/
config file : /Users/kirkhamj/.condarc
offline mode : False
is foreign system : False
$ conda smithy register-ci --feedstock_directory=check-feedstock --org conda-forge
No circle token. Create a token at https://circleci.com/account/api and
put it in ~/.conda-smithy/circle.token
No appveyor token. Create a token at https://ci.appveyor.com/api-token and
Put one in ~/.conda-smithy/appveyor.token
CI Summary for conda-forge/check-feedstock (can take ~30s):
Traceback (most recent call last):
File "/zopt/conda2/bin/conda-smithy", line 9, in
load_entry_point('conda-smithy==1.0.1', 'console_scripts', 'conda-smithy')()
File "/zopt/conda2/lib/python2.7/site-packages/conda_smithy/cli.py", line 236, in main
args.subcommand_func(args)
File "/zopt/conda2/lib/python2.7/site-packages/conda_smithy/cli.py", line 158, in __call__
ci_register.add_project_to_travis(owner, repo)
File "/zopt/conda2/lib/python2.7/site-packages/conda_smithy/ci_register.py", line 177, in add_project_to_travis
content = response.json()
File "/zopt/conda2/lib/python2.7/site-packages/requests/models.py", line 812, in json
return complexjson.loads(self.text, **kwargs)
File "/zopt/conda2/lib/python2.7/json/__init__.py", line 339, in loads
return _default_decoder.decode(s)
File "/zopt/conda2/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/zopt/conda2/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
```

Some other failures include `csa`, `dask`, `esmpy`, `fabio` (manually enabled), `flask-sqlalchemy`, `flatbuffers`, `freeglut`, `funcsigs` (manually enabled), `geopandas`, `glog`, `hdfs3`, `humanize`, `hyperspy`, `jpeg`, `jsmin`, `libatomic_ops`, `libgd`, `libntlm`, `libspatialite` (manually enabled), `m4` (manually enabled), `mock` (manually enabled), `munch` (manually enabled), `nbconvert` (manually enabled), `netifaces` (manually enabled), `nilearn` (manually enabled), `nosexcover` (manually enabled), `numpy-indexed` (manually enabled), `oauthlib` (manually enabled), `oct2py` (manually enabled), `openblas` (manually enabled), `owslib` (manually enabled), `pandoc` (manually enabled), `partd` (manually enabled), `pastescript` (manually enabled), `pcre` (manually enabled), `peewee` (manually enabled), `pims` (manually enabled), `pip`, `proj.4` (manually enabled), `prov`, `pycrypto` (manually enabled), `pyface` (manually enabled), `pygments` (manually enabled), `pyhum` (manually enabled), `pyomo.extras` (manually enabled), `pypdf2` (manually enabled), `pyresample` (manually enabled), `pyro4` (manually enabled), `pysgrid` (manually enabled), `pytest-cov` (manually enabled), `python-levenshtein` (manually enabled), `python-pathlib2` (manually enabled), `pytrie`, `qtconsole` (manually enabled), `readline` (manually enabled), `requests-toolbelt`, `resampy`, `scikit-sparse` (manually enabled), `scipy` (manually enabled), `scp` (manually enabled), `serpent` (manually enabled), `setuptools-git` (manually enabled), `singledispatch` (manually enabled), `slacker` (manually enabled), `smmap` (manually enabled), `snakefood` (manually enabled), `sqlite` (manually enabled), `subprocess32`, `texinfo` (manually enabled), `toolchain` (manually enabled), `whichcraft` (manually enabled), `windrose` (manually enabled), `xo` (manually enabled), and `xz` (manually enabled).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.