Skip to content

Instantly share code, notes, and snippets.

@dnomadb
Created March 25, 2015 20:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dnomadb/13708aa76cbcd848f313 to your computer and use it in GitHub Desktop.
Save dnomadb/13708aa76cbcd848f313 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "scripts/fillnodataseams.py", line 29, in <module>
fillnodata()
File "/Users/dnomadb/venv/lib/python2.7/site-packages/click/core.py", line 610, in __call__
return self.main(*args, **kwargs)
File "/Users/dnomadb/venv/lib/python2.7/site-packages/click/core.py", line 590, in main
rv = self.invoke(ctx)
File "/Users/dnomadb/venv/lib/python2.7/site-packages/click/core.py", line 782, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/dnomadb/venv/lib/python2.7/site-packages/click/core.py", line 416, in invoke
return callback(*args, **kwargs)
File "scripts/fillnodataseams.py", line 22, in fillnodata
filled = [fillnodata(b, m, max_search_distance, 0) for b, m in zip(ras, msk)]
File "/Users/dnomadb/venv/lib/python2.7/site-packages/click/core.py", line 610, in __call__
return self.main(*args, **kwargs)
File "/Users/dnomadb/venv/lib/python2.7/site-packages/click/core.py", line 589, in main
with self.make_context(prog_name, args, **extra) as ctx:
File "/Users/dnomadb/venv/lib/python2.7/site-packages/click/core.py", line 506, in make_context
self.parse_args(ctx, args)
File "/Users/dnomadb/venv/lib/python2.7/site-packages/click/core.py", line 763, in parse_args
opts, args, param_order = parser.parse_args(args=args)
File "/Users/dnomadb/venv/lib/python2.7/site-packages/click/parser.py", line 194, in parse_args
self._process_args_for_options(state)
File "/Users/dnomadb/venv/lib/python2.7/site-packages/click/parser.py", line 219, in _process_args_for_options
elif arg[:1] in self._opt_prefixes and arglen > 1:
TypeError: unhashable type: 'numpy.ndarray'
python scripts/fillnodataseams.py /Users/dnomadb/Documents/wtf.tif 0.14s user 0.05s system 99% cpu 0.195 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment