Improve error message
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- cli
Research direction
Reproduce the reported mr cooperative tag oneway.osm --out oneway.geojson command with an Overpass result using out body geom;, then compare it with out meta geom;. Trace where the Failed to retrieve element version message is produced. Done means the error explains that required metadata, such as the element version, is missing and points users toward requesting metadata.
Written by the indexing model from the issue text.
Description
Hi, here is the error message I got:
mr cooperative tag oneway.osm --out oneway.geojson
- Initialize
hot here oneway.osm {
_: [ 'cooperative', 'tag' ],
rfc7464: true,
out: 'oneway.geojson',
'input-files': [ 'oneway.osm' ],
inputFiles: [ 'oneway.osm' ],
'$0': 'mr'
}
- oneway.osm: 0/223 elements
- oneway.osm: 0/223 elements
× oneway.osm: Failed to retrieve element version: way/24462453/undefined
I was struggling with this error message. I was thinking about a connection/internet error.
Then I finally read over and over the message and figure it out that only the "version" of my items are missing and not the ids.
So I finally changed the end of my overpass query from out body geom; to out meta geom;
And it fixed my issue. Can you please improve the error message? May be to suggest to the user that some "metadata" are missing.
Have a nice day 👍 And TY for this excellent tool ❤️
- Dominant language
- JavaScript
- Stars
- 4
- Forks
- 3
- Avg merge
- 23h 21m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from maproulette/mr-cli
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
maproulette/mr-cli#15 · 1 comment ·
-
maproulette/mr-cli#14 · 1 assignee ·
All issues in maproulette/mr-cli
Similar issues
-
curation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
amponce/archive-movie-browser#186 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
clerk/javascript#9852 ·
-
bug p1 tools
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
factory-active factory-automatic task-bug-reproduction-cannot-reproduce task-identify-harness-labels-done task-identify-issue-type-done
Difficulty 2/5 1-3 hours Newbie friendliness 84/100