Modify

Opened 15 months ago

Closed 15 months ago

Last modified 15 months ago

#7398 closed defect (fixed)

"New Tags" preset spawns console with: "Failed to locate image"

Reported by: skyper Owned by: team
Priority: normal Component: External preset
Version: latest Keywords:
Cc:

Description

I get a list of loading failures on the console with the "New Tag" preset installed.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-02-15 02:32:11
Last Changed Author: xeen
Revision: 4934
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-02-15 02:44:53 +0100 (Wed, 15 Feb 2012)
Last Changed Rev: 4934

Failed to locate image './icons/_neu.png'
Could not get presets icon ./icons/_neu.png
Failed to locate image './icons/vehicle_inspection.png'
Could not get presets icon ./icons/vehicle_inspection.png
Failed to locate image './icons/buero.png'
Could not get presets icon ./icons/buero.png
Failed to locate image './icons/employment_agency.png'
Could not get presets icon ./icons/employment_agency.png
Failed to locate image './icons/architect.png'
Could not get presets icon ./icons/architect.png
Failed to locate image './icons/government.png'
Could not get presets icon ./icons/government.png
Failed to locate image './icons/research.png'
Could not get presets icon ./icons/research.png
Failed to locate image './icons/estate_agent.png'
Could not get presets icon ./icons/estate_agent.png
Failed to locate image './icons/it.png'
Could not get presets icon ./icons/it.png
Failed to locate image './icons/ngo.png'
Could not get presets icon ./icons/ngo.png
Failed to locate image './icons/quango.png'
Could not get presets icon ./icons/quango.png
Failed to locate image './icons/company.png'
Could not get presets icon ./icons/company.png
Failed to locate image './icons/lawyer.png'
Could not get presets icon ./icons/lawyer.png
Failed to locate image './icons/travel_agent.png'
Could not get presets icon ./icons/travel_agent.png
Failed to locate image './icons/accountant.png'
Could not get presets icon ./icons/accountant.png
Failed to locate image './icons/telecommunication.png'
Could not get presets icon ./icons/telecommunication.png
Failed to locate image './icons/insurance.png'
Could not get presets icon ./icons/insurance.png
Failed to locate image './icons/newspaper.png'
Could not get presets icon ./icons/newspaper.png
Failed to locate image './icons/ice_cream.png'
Could not get presets icon ./icons/ice_cream.png
Failed to locate image './icons/dog_park.png'
Could not get presets icon ./icons/dog_park.png
Failed to locate image 'presets/building.png'
Could not get presets icon presets/building.png
Failed to locate image './icons/hospice.png'
Could not get presets icon ./icons/hospice.png
Failed to locate image './icons/trade.png'
Could not get presets icon ./icons/trade.png
Failed to locate image './icons/funeral_directors.png'
Could not get presets icon ./icons/funeral_directors.png
Failed to locate image './icons/photo_studio.png'
Could not get presets icon ./icons/photo_studio.png
Failed to locate image './icons/second_hand.png'
Could not get presets icon ./icons/second_hand.png
Failed to locate image './icons/glaziery.png'
Could not get presets icon ./icons/glaziery.png
Failed to locate image './icons/farm.png'
Could not get presets icon ./icons/farm.png
Failed to locate image './icons/hunting.png'
Could not get presets icon ./icons/hunting.png
Failed to locate image './icons/beauty.png'
Could not get presets icon ./icons/beauty.png
Failed to locate image './icons/art.png'
Could not get presets icon ./icons/art.png
Failed to locate image './icons/massage.png'
Could not get presets icon ./icons/massage.png
Failed to locate image './icons/furnace.png'
Could not get presets icon ./icons/furnace.png
Failed to locate image './icons/pawnbroker.png'
Could not get presets icon ./icons/pawnbroker.png
Failed to locate image './icons/interior_decoration.png'
Could not get presets icon ./icons/interior_decoration.png
Failed to locate image './icons/tattoo.png'
Could not get presets icon ./icons/tattoo.png
Failed to locate image './icons/pet.png'
Could not get presets icon ./icons/pet.png
Failed to locate image './icons/aed.png'
Could not get presets icon ./icons/aed.png
Failed to locate image 'presets/shoe_repair.png'
Could not get presets icon presets/shoe_repair.png
Failed to locate image './icons/blacksmith.png'
Could not get presets icon ./icons/blacksmith.png
Failed to locate image './icons/shoemaker.png'
Could not get presets icon ./icons/shoemaker.png
Failed to locate image './icons/orchard.png'
Could not get presets icon ./icons/orchard.png
Failed to locate image './icons/fire_hose.png'
Could not get presets icon ./icons/fire_hose.png
Failed to locate image './icons/fire_extinguisher.png'
Could not get presets icon ./icons/fire_extinguisher.png
Failed to locate image './icons/fire_hydrant.png'
Could not get presets icon ./icons/fire_hydrant.png
Failed to locate image './icons/phone.png'
Could not get presets icon ./icons/phone.png
Failed to locate image './icons/ambulance_station.png'
Could not get presets icon ./icons/ambulance_station.png
Failed to locate image './icons/siren.png'
Could not get presets icon ./icons/siren.png
Failed to locate image './icons/group_home.png'
Could not get presets icon ./icons/group_home.png
Failed to locate image './icons/ambulantorycare.png'
Could not get presets icon ./icons/ambulantorycare.png
Failed to locate image './icons/social_living.png'
Could not get presets icon ./icons/social_living.png
Failed to locate image './icons/sheltered_workshop.png'
Could not get presets icon ./icons/sheltered_workshop.png
Failed to locate image './icons/foodbank.png'
Could not get presets icon ./icons/foodbank.png
Failed to locate image './icons/outpatient_care.png'
Could not get presets icon ./icons/outpatient_care.png
Failed to locate image './icons/social_shelter.png'
Could not get presets icon ./icons/social_shelter.png
Failed to locate image './icons/outreach.png'
Could not get presets icon ./icons/outreach.png
Failed to locate image './icons/group_home.png'
Could not get presets icon ./icons/group_home.png
Failed to locate image './icons/toboggan.png'
Could not get presets icon ./icons/toboggan.png
Failed to locate image './icons/chess.png'
Could not get presets icon ./icons/chess.png
Failed to locate image './icons/skiing.png'
Could not get presets icon ./icons/skiing.png
Failed to locate image './icons/water_ski.png'
Could not get presets icon ./icons/water_ski.png
Failed to locate image './icons/aquarium.png'
Could not get presets icon ./icons/aquarium.png
Failed to locate image './icons/obelisk.png'
Could not get presets icon ./icons/obelisk.png
Failed to locate image './icons/storage_tank.png'
Could not get presets icon ./icons/storage_tank.png

Attachments (0)

Change History (11)

comment:1 follow-up: Changed 15 months ago by bastiK

Is this a regression?

comment:2 in reply to: ↑ 1 Changed 15 months ago by skyper

Replying to bastiK:

Is this a regression?

Not sure, did not use it often, but I thought there was some discussion about it some time ago. I did not find something though.

"New tags" will never have icons for all it presets, but why does it contain so many invalid icon pathes.

comment:3 Changed 15 months ago by stoecker

In past josm did not report failed loading for getIfAvailable.

comment:4 Changed 15 months ago by bastiK

At least some of the reported images are present in the zip file. Maybe the "./" at beginning of the path does not work?

comment:5 follow-up: Changed 15 months ago by stoecker

./ for sure does not work. Path is relative to zip file, so if in the zip is a icons dir, then /icons/... is correct.

comment:6 in reply to: ↑ 5 ; follow-up: Changed 15 months ago by skyper

Replying to stoecker:

./ for sure does not work. Path is relative to zip file, so if in the zip is a icons dir, then /icons/... is correct.

I changed that. Seems they where all in the .zip file.

Only, two are missing:

Failed to locate image 'presets/building.png'
Could not get presets icon presets/building.png
Failed to locate image 'presets/shoe_repair.png'
Could not get presets icon presets/shoe_repair.png

comment:7 in reply to: ↑ 6 ; follow-up: Changed 15 months ago by skyper

Replying to skyper:

Replying to stoecker:

./ for sure does not work. Path is relative to zip file, so if in the zip is a icons dir, then /icons/... is correct.

I changed that. Seems they where all in the .zip file.

Only, two are missing:

Failed to locate image 'presets/building.png'
Could not get presets icon presets/building.png
Failed to locate image 'presets/shoe_repair.png'
Could not get presets icon presets/shoe_repair.png

This only works if you download the icons manually and add a path to them through preferences. I think the icons should be downloaded along with the preset and a proper path should be added.

If this is not possible at least a link to the icons and instructions how to add them should be added to the wiki.

As far as I understand it there is a .xml file missing in the .zip file.

Last edited 15 months ago by skyper (previous) (diff)

comment:8 in reply to: ↑ 7 ; follow-up: Changed 15 months ago by stoecker

  • Resolution set to fixed
  • Status changed from new to closed

Replying to skyper:

This only works if you download the icons manually and add a path to them through preferences. I think the icons should be downloaded along with the preset and a proper path should be added.

If this is not possible at least a link to the icons and instructions how to add them should be added to the wiki.

I don't understand what you mean here, but I fixed this by adding the images to the wiki.

comment:9 in reply to: ↑ 8 ; follow-up: Changed 15 months ago by skyper

Replying to stoecker:

Replying to skyper:

This only works if you download the icons manually and add a path to them through preferences. I think the icons should be downloaded along with the preset and a proper path should be added.

If this is not possible at least a link to the icons and instructions how to add them should be added to the wiki.

I don't understand what you mean here, but I fixed this by adding the images to the wiki.

Sorry, had to read the instructions first.

The zip file is not download or at least I do not find it. Think there is also a xml file missing in the zip file

comment:10 in reply to: ↑ 9 ; follow-up: Changed 15 months ago by stoecker

Replying to skyper:

The zip file is not download or at least I do not find it. Think there is also a xml file missing in the zip file

Still don't know what you are talking about. The presets zip file is complete and perfectly valid, when I download it.

comment:11 in reply to: ↑ 10 Changed 15 months ago by skyper

Replying to stoecker:

Replying to stoecker:

Replying to skyper:
The zip file is not download or at least I do not find it. Think there is also a xml file missing in the zip file

Still don't know what you are talking about. The presets zip file is complete and perfectly valid, when I download it.

Sorry, I am not the fittest today.

./ for sure does not work. Path is relative to zip file, so if in the zip is a icons dir, then /icons/... is correct.

Was incorrect needs to be icons/...

Finally fixed.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.