pbf2json
pbf2json copied to clipboard
"file missing" error
If the leveldb file becomes corrupted, future execution of the script results in an immediate fatal error:
2015/02/26 16:54:32 file missing
exit status 1
Changing the location of the leveldb directory or removing the files solves the issue.
@missinglink, we should discuss prioritizing this if it isn't too big of an effort. Had a user get stung by this when running the openstreetmap importer. It wasn't actually exiting, just kept sitting idly looking like something was going to happen.
Even just a little bit of error handling/more explicit messaging would help, though I wonder if a next level fix would be to just wipe that temp directory of ldb files if it detects them previously existing. I'm not sure what else those are used for besides an import or if it is useful to have them around for subsequent import attempts.