#1789 closed defect (fixed)
Lakewalker error
Reported by: | Owned by: | framm | |
---|---|---|---|
Priority: | major | Milestone: | |
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 by , 16 years ago
Component: | unspecified → Plugin openstreetbugs |
---|---|
Version: | → latest |
comment:2 by , 16 years ago
by , 16 years ago
Attachment: | josm-1789-lakewalkercache.patch added |
---|
patch enabling cache. Also prepare for cleanup, ref 1808
comment:4 by , 16 years ago
Component: | Core → Plugin |
---|---|
Priority: | blocker → major |
Summary: | cheap robaxin → Lakewalker error |
Type: | enhancement → defect |
I have a fix already. Let me test it a bit before submitting...