Skip to content

Instantly share code, notes, and snippets.

@dnomadb
Created February 13, 2015 20:39
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/491cd132d827397df526 to your computer and use it in GitHub Desktop.
Save dnomadb/491cd132d827397df526 to your computer and use it in GitHub Desktop.
/Users/dnomadb/weather-data/lib/postgis.js:59
return Object.keys(o).map(function(k) {return [k, o[k]]; })
^
TypeError: Object.keys called on non-object
at Function.keys (native)
at pairs (/Users/dnomadb/weather-data/lib/postgis.js:59:21)
at /Users/dnomadb/weather-data/lib/postgis.js:49:15
at Array.map (native)
at UpdateStream._process (/Users/dnomadb/weather-data/lib/postgis.js:48:30)
at processChunk (/Users/dnomadb/weather-data/node_modules/parallel-stream/index.js:62:10)
at pop (/Users/dnomadb/weather-data/node_modules/queue-async/queue.js:24:14)
at Object.q.defer (/Users/dnomadb/weather-data/node_modules/queue-async/queue.js:55:11)
at UpdateStream.Parallel._transform (/Users/dnomadb/weather-data/node_modules/parallel-stream/index.js:43:26)
at UpdateStream.Transform._read (_stream_transform.js:179:10)
Traceback (most recent call last):
File "/Users/dnomadb/anaconda/envs/cleany/bin/makesurface", line 9, in <module>
load_entry_point('makesurface==0.2.6dev', 'console_scripts', 'makesurface')()
File "/Users/dnomadb/anaconda/envs/cleany/lib/python2.7/site-packages/click/core.py", line 610, in __call__
return self.main(*args, **kwargs)
File "/Users/dnomadb/anaconda/envs/cleany/lib/python2.7/site-packages/click/core.py", line 590, in main
rv = self.invoke(ctx)
File "/Users/dnomadb/anaconda/envs/cleany/lib/python2.7/site-packages/click/core.py", line 936, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/dnomadb/anaconda/envs/cleany/lib/python2.7/site-packages/click/core.py", line 782, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/dnomadb/anaconda/envs/cleany/lib/python2.7/site-packages/click/core.py", line 416, in invoke
return callback(*args, **kwargs)
File "/Users/dnomadb/make-surface/makesurface/scripts/cli.py", line 84, in fillfacets
makesurface.fillfacets(input, sampleraster, noproject, output, bidxs, zooming, batchprint, outputgeojson, color)
File "/Users/dnomadb/make-surface/makesurface/__init__.py", line 10, in fillfacets
fill_facets.fillFacets(infile, sampleRaster, noproject, output, band, zooming, batchprint, outputGeom, color)
File "/Users/dnomadb/make-surface/makesurface/scripts/fill_facets.py", line 190, in fillFacets
click.echo(json.dumps(feat))
File "/Users/dnomadb/anaconda/envs/cleany/lib/python2.7/site-packages/click/utils.py", line 291, in echo
file.flush()
IOError: [Errno 32] Broken pipe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment