#1789 closed defect (fixed)
Lakewalker error
| Reported by: | avar | Owned by: | framm |
|---|---|---|---|
| Priority: | major | Component: | Plugin |
| Version: | Keywords: | ||
| Cc: |
Description
Lakewalker keeps re-downloading already downloaded IR1 images on current JOSM:
java.io.FileNotFoundException: /home/avar/.josm/plugins/Lakewalker/IR1/landsat_4000_2000_xy_-84000_260000.png (No such file or directory)
at java.io.RandomAccessFile.open(Native Method)
at java.io.RandomAccessFile.<init>(RandomAccessFile.java:212)
at javax.imageio.stream.FileImageOutputStream.<init>(FileImageOutputStream.java:53)
at com.sun.imageio.spi.FileImageOutputStreamSpi.createOutputStreamInstance(FileImageOutputStreamSpi.java:37)
at javax.imageio.ImageIO.createImageOutputStream(ImageIO.java:393)
at javax.imageio.ImageIO.write(ImageIO.java:1514)
at org.openstreetmap.josm.plugins.lakewalker.LakewalkerWMS.saveimage(LakewalkerWMS.java:161)
at org.openstreetmap.josm.plugins.lakewalker.LakewalkerWMS.getTile(LakewalkerWMS.java:140)
at org.openstreetmap.josm.plugins.lakewalker.LakewalkerWMS.getPixel(LakewalkerWMS.java:176)
at org.openstreetmap.josm.plugins.lakewalker.Lakewalker.trace(Lakewalker.java:121)
at org.openstreetmap.josm.plugins.lakewalker.LakewalkerAction.processnodelist(LakewalkerAction.java:145)
at org.openstreetmap.josm.plugins.lakewalker.LakewalkerAction.access$000(LakewalkerAction.java:44)
at org.openstreetmap.josm.plugins.lakewalker.LakewalkerAction$1.realRun(LakewalkerAction.java:122)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:84)
at java.lang.Thread.run(Thread.java:619)
This can be fixed by doing mkdir -p /home/avar/.josm/plugins/Lakewalker/IR1/, but the plugin should check if its cache directory exists and create it if it doesn't.
Attachments (1)
Change History (5)
comment:1 Changed 4 years ago by anonymous
- Component changed from unspecified to Plugin openstreetbugs
- Version set to latest
comment:2 Changed 4 years ago by osm@…
comment:3 Changed 4 years ago by anonymous
- Resolution set to fixed
- Status changed from new to closed
Patch applied.
comment:4 Changed 4 years ago by stoecker
- Component changed from Core to Plugin
- Priority changed from blocker to major
- Summary changed from cheap robaxin to Lakewalker error
- Type changed from enhancement to defect



I have a fix already. Let me test it a bit before submitting...