-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
display line error for "mapping value '%s' not a string" #174
Comments
In previous commit, some entries create an error, see: omniscale/imposm3#174
So far, I think docker-OSM is using a copy from https://github.com/omniscale/imposm3/blob/master/example-mapping.yml Could you try this one? Maybe do a |
Thanks Etienne! I managed to create a correct file. THe issue I opened is about the fact that the error message is not informative, and could be improved. For instance, maybe the code could be modified so that the message |
Yes sure. It's still an issue upstream indeed. I was just trying to help you to overpass the current problem in your file in the meantime ;-) |
imposm3/mapping/config/config.go
Line 102 in 6528d3e
With an ill-formed yml file, the error message being returned is sometimes as follows:
"mapping value '' not a string"
This is hard to debug. Adding some context (for instance: what is the key?) or, better, the line number, would help a lot.
The text was updated successfully, but these errors were encountered: