conda-forge / conda-forge/conda-smithy
Linter fails on startup
- Dominant language
- Python
- Stars
- 180
- Forks
- 231
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 9
Description
Got the error when trying to run the linter locally on a passing recipe.
```
Traceback (most recent call last):
File "/zopt/conda2/bin/conda-smithy", line 9, in
load_entry_point('conda-smithy', 'console_scripts', 'conda-smithy')()
File "/Users/kirkhamj/Developer/Conda/conda-forge/conda-smithy/conda_smithy/cli.py", line 236, in main
args.subcommand_func(args)
File "/Users/kirkhamj/Developer/Conda/conda-forge/conda-smithy/conda_smithy/cli.py", line 201, in __call__
lint = lint_recipe.main(os.path.join(recipe))
File "/Users/kirkhamj/Developer/Conda/conda-forge/conda-smithy/conda_smithy/lint_recipe.py", line 147, in main
content = env.from_string(''.join(fh)).render(os=os)
File "/zopt/conda2/lib/python2.7/site-packages/jinja2/environment.py", line 989, in render
return self.environment.handle_exception(exc_info, True)
File "/zopt/conda2/lib/python2.7/site-packages/jinja2/environment.py", line 754, in handle_exception
reraise(exc_type, exc_value, tb)
File "", line 33, in top-level template code
AttributeError: 'unicode' object has no attribute '__call__'
```
Environment info:
```
$ conda info
Current conda install:
platform : osx-64
conda version : 4.1.11
conda-env version : 2.5.2
conda-build version : 1.21.14+0.g4dfebe9.dirty
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 list -n root
# packages in environment at /zopt/conda2:
#
Using Anaconda API: https://api.anaconda.org
appnope 0.1.0 py27_0 defaults
conda-build 1.21.14 py27_0 defaults
anaconda-client 1.5.1 py27_0 conda-forge
anaconda-verify 1.2.0 py27_0 conda-forge
backports.shutil_get_terminal_size 1.0.0 py27_0 conda-forge
ca-certificates 2016.8.2 3 conda-forge
certifi 2016.8.2 py27_0 conda-forge
clyent 1.2.1 py27_0 conda-forge
conda 4.1.11 py27_1 conda-forge
conda-build-all 0.13.3 py27_0 conda-forge
conda-env 2.5.2 py27_0 conda-forge
conda-execute 0.6.0 py27_0 conda-forge
constructor 1.3.1 py27_0 conda-forge
curl 7.49.1 1 conda-forge
decorator 4.0.10 py27_0 conda-forge
expat 2.1.0 2 conda-forge
funcsigs 1.0.2 py27_0 conda-forge
gitdb 0.6.4 py27_0 conda-forge
gitpython 2.0.8 py27_0 conda-forge
ipython 5.1.0 py27_0 conda-forge
ipython_genutils 0.1.0 py27_0 conda-forge
jinja2 2.8 py27_1 conda-forge
libconda 4.0.0 py27_0 conda-forge
markupsafe 0.23 py27_0 conda-forge
mock 2.0.0 py27_0 conda-forge
ncurses 5.9 8 conda-forge
nose 1.3.7 py27_2 conda-forge
openssl 1.0.2h 2 conda-forge
pathlib2 2.1.0 py27_0 conda-forge
pbr 1.10.0 py27_0 conda-forge
pexpect 4.2.0 py27_1 conda-forge
pickleshare 0.7.3 py27_0 conda-forge
pip 8.1.2 py27_0 conda-forge
prompt_toolkit 1.0.6 py27_0 conda-forge
psutil 4.3.0 py27_0 conda-forge
ptyprocess 0.5.1 py27_0 conda-forge
pycosat 0.6.1 py27_0 conda-forge
pycrypto 2.6.1 py27_0 conda-forge
pygithub 1.27.1 py27_0 conda-forge
pygments 2.1.3 py27_1 conda-forge
python 2.7.12 0 conda-forge
python-dateutil 2.5.3 py27_0 conda-forge
pytz 2016.6.1 py27_0 conda-forge
pyyaml 3.11 py27_0 conda-forge
readline 6.2 0 conda-forge
requests 2.10.0 py27_0 conda-forge
ruamel.ordereddict 0.4.6 py27_0 conda-forge
ruamel.yaml 0.11.11 py27_1 conda-forge
ruamel_yaml 0.11.7 py27_0 conda-forge
setuptools 25.1.6 py27_0 conda-forge
simplegeneric 0.8.1 py27_0 conda-forge
six 1.10.0 py27_0 conda-forge
smmap 0.9.0 py27_0 conda-forge
sqlite 3.13.0 1 conda-forge
tk 8.5.19 0 conda-forge
traitlets 4.2.2 py27_0 conda-forge
wcwidth 0.1.7 py27_0 conda-forge
wheel 0.29.0 py27_0 conda-forge
yaml 0.1.6 0 conda-forge
zlib 1.2.8 3 conda-forge
python.app 1.2 py27_4 defaults
```
Contributor guide
Assessment
This issue has not been assessed yet.