Traceback (most recent call last):


 "/.../lib/python3.5/site-packages/tornado/web.py", line 1467, in _execute

result = method(*self.path_args, **self.path_kwargs)


 "/.../lib/python3.5/site-packages/snakeviz/main.py", line 33, in get

table_rows=table_rows(s), callees=json_stats(s))


 "/.../lib/python3.5/site-packages/snakeviz/stats.py", line 62, in json_stats

(keyfmt(*ck), list(cv)) for ck, cv in v.items())


 "/.../lib/python3.5/site-packages/snakeviz/stats.py", line 62, in <genexpr>

(keyfmt(*ck), list(cv)) for ck, cv in v.items())
TypeError: 'int' object is not iterable

Traceback (most recent call last):


 "/Users/deil/software/anaconda3/envs/gammapy-dev/bin/pylint", line 11, in <module>

sys.exit(run_pylint())


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/pylint/__init__.py", line 19, in run_pylint

Run(sys.argv[1:])


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/pylint/lint.py", line 1394, in __init__

linter.check(args)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/pylint/lint.py", line 801, in check

self._do_check(files_or_modules)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/pylint/lint.py", line 938, in _do_check

self.check_astroid_module(ast_node, walker, rawcheckers, tokencheckers)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/pylint/lint.py", line 1018, in check_astroid_module

walker.walk(ast_node)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/pylint/utils.py", line 1162, in walk

self.walk(child)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/pylint/utils.py", line 1159, in walk

cb(astroid)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/pylint/checkers/imports.py", line 422, in visit_importfrom

imported_module = self._get_imported_module(node, basename)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/pylint/checkers/imports.py", line 647, in _get_imported_module

return importnode.do_import_module(modname)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/mixins.py", line 101, in do_import_module

relative_only=level and level >= 1)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/scoped_nodes.py", line 602, in import_module

return MANAGER.ast_from_module_name(absmodname)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/manager.py", line 150, in ast_from_module_name

return self.ast_from_file(found_spec.location, modname, fallback=False)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/manager.py", line 83, in ast_from_file

return AstroidBuilder(self).file_build(filepath, modname)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/builder.py", line 128, in file_build

return self._post_build(module, encoding)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/builder.py", line 145, in _post_build

self.add_from_names_to_locals(from_node)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/builder.py", line 190, in add_from_names_to_locals

imported = node.do_import_module()


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/mixins.py", line 101, in do_import_module

relative_only=level and level >= 1)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/scoped_nodes.py", line 602, in import_module

return MANAGER.ast_from_module_name(absmodname)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/manager.py", line 150, in ast_from_module_name

return self.ast_from_file(found_spec.location, modname, fallback=False)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/manager.py", line 83, in ast_from_file

return AstroidBuilder(self).file_build(filepath, modname)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/builder.py", line 128, in file_build

return self._post_build(module, encoding)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/builder.py", line 148, in _post_build

self.delayed_assattr(delayed)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/builder.py", line 207, in delayed_assattr

for inferred in node.expr.infer():


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/decorators.py", line 125, in raise_if_nothing_inferred

yield next(generator)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/decorators.py", line 92, in wrapped

res = next(generator)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/bases.py", line 125, in _infer_stmts

for inferred in stmt.infer(context=context):


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/util.py", line 148, in limit_inference

yield from islice(iterator, size)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/context.py", line 107, in cache_generator

for result in generator:


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/decorators.py", line 125, in raise_if_nothing_inferred

yield next(generator)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/decorators.py", line 92, in wrapped

res = next(generator)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/bases.py", line 125, in _infer_stmts

for inferred in stmt.infer(context=context):


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/util.py", line 148, in limit_inference

yield from islice(iterator, size)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/context.py", line 107, in cache_generator

for result in generator:


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/decorators.py", line 125, in raise_if_nothing_inferred

yield next(generator)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/decorators.py", line 92, in wrapped

res = next(generator)


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/inference.py", line 219, in infer_call

context=callcontext,


 "/Users/deil/software/anaconda3/envs/gammapy-dev/lib/python3.6/site-packages/astroid/scoped_nodes.py", line 2066, in infer_call_result

caller, context)
TypeError: 'Uninferable' object is not iterable
