whosonfirst / go-whosonfirst-csvdb

Experimental in-memory database for CSV files.
0 stars 1 forks source link

Index out of range lookup #4

Open thisisaaronland opened 8 years ago

thisisaaronland commented 8 years ago

Buh?

[wof-csvdb-index] 23:30:17.704531 [info] re-indexing /usr/local/data/whosonfirst-data/meta/wof-concordances-latest.csv
2016/04/22 03:20:00 http: panic serving 127.0.0.1:44327: runtime error: index out of range
goroutine 10051388 [running]:
net/http.(*conn).serve.func1(0xcb6f86d400)
        /usr/local/go/src/net/http/server.go:1389 +0xc1
panic(0x742600, 0xc82000c0a0)
        /usr/local/go/src/runtime/panic.go:426 +0x4e9
github.com/whosonfirst/go-whosonfirst-csvdb.(*CSVDB).Where(0xc82009c500, 0xc8b9bf9ce5, 0x5, 0xc96ccbf480, 0x39, 0x0, 0x0, 0x0, 0x0, 0x0)
        /usr/local/mapzen/acope/go-whosonfirst-csvdb/src/github.com/whosonfirst/go-whosonfirst-csvdb/csvdb.go:194 +0x5de
main.main.func1(0x7f7a2391c2a0, 0xcb6f87b1e0, 0xcb6f840700)
        /home/acope/mapzen/go-whosonfirst-csvdb/cmd/wof-csvdb-server.go:80 +0x22b
net/http.HandlerFunc.ServeHTTP(0xc8b9e10f40, 0x7f7a2391c2a0, 0xcb6f87b1e0, 0xcb6f840700)
        /usr/local/go/src/net/http/server.go:1618 +0x3a