mapbox/tilemill — Issue #1069: mbtiles export with utf8grid fails
Author: springmeyer
Created: 2012-01-04 00:10:53+00:00
State: open

Crashlogs reports:

```
TypeError: Cannot set property 'bbb9c50751fcb2ece5244f6eb4ff4d49' of undefined
at Function. (c:\tilemill\node_modules\mbtiles\lib\mbtiles.js:601:33)
at next (c:\tilemill\node_modules\step\lib\step.js:51:23)
at Deflate. (zlib.js:155:5)
at Deflate.emit (events.js:64:17)
at zlib.js:314:10
at Object.callback (zlib.js:400:13)
```

line 601 is: `this._gridCache[id] = buffer;`

This likely has do to with some misuse of the new node zlib api in my mbtiles hack and slash to get things working initially:

https://github.com/mapbox/node-mbtiles/compare/master...node-v6