Opened 9 years ago
Closed 9 years ago
#11795 closed enhancement (fixed)
taginfo-extract also external presets
Reported by: | simon04 | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 15.09 |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
Follow-up of #10512.
Attachments (2)
Change History (22)
by , 9 years ago
Attachment: | 11795.patch added |
---|
comment:1 by , 9 years ago
comment:3 by , 9 years ago
Summary: | [Patch] taginfo-extract also external presets → taginfo-extract also external presets |
---|
Would someone please set up a cron job on the server? Afterwards we can file a pull-request for the inclusion: https://github.com/joto/taginfo-projects
Unfortunately, the script outputs a lot of icon loading warnings/errors. Without changing a lot of code, I wasn't able to get rid of them …
comment:4 by , 9 years ago
I tried to add the cron job but it fails:
Caught: groovy.lang.MissingPropertyException: Exception evaluating property '' for org.openstreetmap.josm.gui.tagging.TaggingPresetReader$HashSetWithLast, Reason: groovy.lang.MissingPropertyException: No such property: for class: org.openstreetmap.josm.gui.tagging.TaggingPresetMenu Possible solutions: keys, icon, name, type, class, rawName groovy.lang.MissingPropertyException: Exception evaluating property '' for org.openstreetmap.josm.gui.tagging.TaggingPresetReader$HashSetWithLast, Reason: groovy.lang.MissingPropertyException: No such property: for class: org.openstreetmap.josm.gui.tagging.TaggingPresetMenu Possible solutions: keys, icon, name, type, class, rawName at taginfoextract.run_presets(taginfoextract.groovy:240) at taginfoextract$run_presets.call(Unknown Source) at taginfoextract.main(taginfoextract.groovy:188) make: *** [taginfo_nodep] Error 1
comment:10 by , 9 years ago
you're welcome :) now we could investigate all these warnings/errors and see if we can fix some of them...
follow-up: 13 comment:12 by , 9 years ago
Now, the only preset with errors is Presets/Nepal since it specifies empty types (type=""
).
comment:13 by , 9 years ago
Replying to simon04:
Now, the only preset with errors is Presets/Nepal since it specifies empty types (
type=""
).
I think we should simply remove them from this preset. This preset is basically unmodified since its creation 2 years ago. It is not expacted that someone adds the types in the (near) future.
comment:15 by , 9 years ago
Are there any usage statistics on Presets/Nepal? I wouldn't object removing this preset. Any thoughts?
by , 9 years ago
Attachment: | Presets_Nepal-preset.xml added |
---|
comment:16 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Presets/Nepal deleted. Here's the archive, attachment:Presets_Nepal-preset.xml
comment:17 by , 9 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:18 by , 9 years ago
"As designed" ;-). Icons were never expected to work. While processing, they should just not trigger warnings on the commandline. One could investigate the effort to include them (as data URLs), though …
comment:19 by , 9 years ago
OK, I thought it is a bug, because icons of the internal preset are included. We can close this ticket again, except someone is willing to add this functionality.
comment:20 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
I don't ;-) – at least not now and unless there is a certain demand for this feature
I'm going to launch a new build, you can commit this change in the current milestone if you want, as it does not have any impact on the software :)