pbf2json icon indicating copy to clipboard operation
pbf2json copied to clipboard

"file missing" error

Open missinglink opened this issue 10 years ago • 2 comments

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 avatar Feb 26 '15 16:02 missinglink

@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.

dianashk avatar Aug 08 '16 18:08 dianashk

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.

easherma avatar Aug 08 '16 18:08 easherma