Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in osmosis when running wahoomc #243

Open
lacovajuan opened this issue May 9, 2024 · 4 comments
Open

Error in osmosis when running wahoomc #243

lacovajuan opened this issue May 9, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@lacovajuan
Copy link

lacovajuan commented May 9, 2024

I tried the following:
python -m wahoomc cli -co malta -fd -fp -con -c -v

running this into an Ubuntu 22.04 distro

got the following error

Log Output / Stack Trace

INFO:--------------------------------------------------------------------------------
INFO:--------------------------------------------------------------------------------
INFO:# check geofabrik.json file
INFO:+ Deleting old geofabrik.json file
INFO:+ geofabrik.json file needs to be downloaded
INFO:# Need to download geofabrik file
INFO:--------------------------------------------------------------------------------
INFO:# Downloading geofabrik.json file
DEBUG:Starting new HTTPS connection (1): download.geofabrik.de:443
DEBUG:https://download.geofabrik.de:443 "GET /index-v1.json HTTP/1.1" 200 3168189
INFO:+ Downloaded: /home/juanelvira/wahooMapsCreatorData/_download/geofabrik.json
INFO:+ download geofabrik.json file: OK
INFO:# Input country: malta.
INFO:--------------------------------------------------------------------------------
INFO:# Determine involved/border countries
INFO:+ Involved country: italy
INFO:+ Involved country: malta
INFO:+ Border countries will be processed
INFO:--------------------------------------------------------------------------------
INFO:# check land_polygons.shp file
INFO:+ land_polygons.shp file needs to be downloaded
INFO:+ Need to download land polygons file
INFO:--------------------------------------------------------------------------------
INFO:# check countries .osm.pbf files
INFO:+ Checking for old maps and remove them
INFO:--------------------------------------------------------------------------------
INFO:# Downloading land_polygons.shp file
DEBUG:Starting new HTTPS connection (1): osmdata.openstreetmap.de:443
DEBUG:https://osmdata.openstreetmap.de:443 "GET /download/land-polygons-split-4326.zip HTTP/1.1" 200 852359942
INFO:+ Downloaded: /home/juanelvira/wahooMapsCreatorData/_download/land-polygons-split-4326/land_polygons.shp
INFO:--------------------------------------------------------------------------------
INFO:# Downloading italy-latest.osm.pbf file
DEBUG:Starting new HTTPS connection (1): download.geofabrik.de:443
DEBUG:https://download.geofabrik.de:443 "GET /europe/italy-latest.osm.pbf HTTP/1.1" 200 1951932288
INFO:+ Downloaded: /home/juanelvira/wahooMapsCreatorData/_download/maps/italy-latest.osm.pbf
INFO:--------------------------------------------------------------------------------
INFO:# Downloading malta-latest.osm.pbf file
DEBUG:Starting new HTTPS connection (1): download.geofabrik.de:443
DEBUG:https://download.geofabrik.de:443 "GET /europe/malta-latest.osm.pbf HTTP/1.1" 200 6068784
INFO:+ Downloaded: /home/juanelvira/wahooMapsCreatorData/_download/maps/malta-latest.osm.pbf
INFO:--------------------------------------------------------------------------------
INFO:# Filter tags from country osm.pbf files
INFO:+ Filtering unwanted map objects out of map of italy
INFO:+ Filtering unwanted map objects out of map of malta
INFO:+ Filter tags from country osm.pbf files: OK
INFO:--------------------------------------------------------------------------------
INFO:# Generate land for each coordinate
INFO:+ (tile 1 of 2) Coordinates: 137,100
DEBUG:subprocess debug output:
DEBUG:Running 1 slices with /home/juanelvira/wahooMapsCreatorData/_tiles/137/100/land base filename against shapefile /home/juanelvira/wahooMapsCreatorData/_tiles/137/100/land.shp

INFO:+ (tile 2 of 2) Coordinates: 138,100
DEBUG:subprocess debug output:
DEBUG:Running 1 slices with /home/juanelvira/wahooMapsCreatorData/_tiles/138/100/land base filename against shapefile /home/juanelvira/wahooMapsCreatorData/_tiles/138/100/land.shp

INFO:+ Generate land for each coordinate: OK
INFO:--------------------------------------------------------------------------------
INFO:# Generate sea for each coordinate
INFO:+ (tile 1 of 2) Coordinates: 137,100
INFO:+ (tile 2 of 2) Coordinates: 138,100
INFO:+ Generate sea for each coordinate: OK
INFO:--------------------------------------------------------------------------------
INFO:# Generate contour lines for each coordinate
INFO:+ Coordinates: 137,100. (1 of 2)
DEBUG:subprocess debug output:
DEBUG:N35E012: trying view1 ...
generating index in /home/juanelvira/wahooMapsCreatorData/_download/hgt/viewfinderHgtIndex_1.txt ... DONE
N35E012: trying view3 ...
generating index in /home/juanelvira/wahooMapsCreatorData/_download/hgt/viewfinderHgtIndex_3.txt ... DONE
N35E012: downloading file https://viewfinderpanoramas.org/dem3/I33.zip to /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW3/I33.zip ...
N35E012: unzipping file /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW3/I33.zip ...
updating index in /home/juanelvira/wahooMapsCreatorData/_download/hgt/viewfinderHgtIndex_3.txt ...
DONE
N35E012: using file /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW3/N35E012.hgt.
N36E012: trying view1 ...
N36E012: downloading file https://viewfinderpanoramas.org/dem1/J33.zip to /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW1/J33.zip ...
N36E012: unzipping file /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW1/J33.zip ...
N36E012: using file /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW1/N36E012.hgt.
N35E013: trying view1 ...
N35E013: trying view3 ...
N35E013: trying srtm3v3.0 ...
generating index in /home/juanelvira/wahooMapsCreatorData/_download/hgt/hgtIndex_3_v3.0.txt ... DONE
N35E013: no file found on server.
N36E013: trying view1 ...
N36E013: using existing file /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW1/N36E013.hgt.
N35E014: trying view1 ...
N35E014: trying view3 ...
N35E014: using existing file /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW3/N35E014.hgt.
N36E014: trying view1 ...
N36E014: using existing file /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW1/N36E014.hgt.
Computing /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW3/N35E012.hgt
hgt file /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW3/N35E012.hgt: 1201 x 1201 points, bbox: (12.00000, 35.00000, 13.00000, 36.00000)
N35E012: trying view1 ...
generating index in /home/juanelvira/wahooMapsCreatorData/_download/hgt/viewfinderHgtIndex_1.txt ... DONE
N35E012: trying view3 ...
generating index in /home/juanelvira/wahooMapsCreatorData/_download/hgt/viewfinderHgtIndex_3.txt ... DONE
N35E012: downloading file https://viewfinderpanoramas.org/dem3/I33.zip to /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW3/I33.zip ...
N35E012: unzipping file /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW3/I33.zip ...
updating index in /home/juanelvira/wahooMapsCreatorData/_download/hgt/viewfinderHgtIndex_3.txt ...
DONE
N35E012: using file /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW3/N35E012.hgt.
N36E012: trying view1 ...
N36E012: downloading file https://viewfinderpanoramas.org/dem1/J33.zip to /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW1/J33.zip ...
N36E012: unzipping file /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW1/J33.zip ...
N36E012: using file /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW1/N36E012.hgt.
N35E013: trying view1 ...
N35E013: trying view3 ...
N35E013: trying srtm3v3.0 ...
generating index in /home/juanelvira/wahooMapsCreatorData/_download/hgt/hgtIndex_3_v3.0.txt ... DONE
N35E013: no file found on server.
N36E013: trying view1 ...
N36E013: using existing file /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW1/N36E013.hgt.
N35E014: trying view1 ...
N35E014: trying view3 ...
N35E014: using existing file /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW3/N35E014.hgt.
N36E014: trying view1 ...
N36E014: using existing file /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW1/N36E014.hgt.
Panic: Didn't work: /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW3/N35E012.hgt

INFO:+ Coordinates: 138,100. (2 of 2)
DEBUG:subprocess debug output:
DEBUG:N35E014: trying view1 ...
N35E014: trying view3 ...
N35E014: using existing file /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW3/N35E014.hgt.
N36E014: trying view1 ...
N36E014: using existing file /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW1/N36E014.hgt.
N35E015: trying view1 ...
N35E015: trying view3 ...
N35E015: trying srtm3v3.0 ...
N35E015: no file found on server.
N36E015: trying view1 ...
N36E015: using existing file /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW1/N36E015.hgt.
Computing /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW3/N35E014.hgt
hgt file /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW3/N35E014.hgt: 1201 x 1201 points, bbox: (14.00000, 35.00000, 15.00000, 36.00000)
N35E014: trying view1 ...
N35E014: trying view3 ...
N35E014: using existing file /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW3/N35E014.hgt.
N36E014: trying view1 ...
N36E014: using existing file /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW1/N36E014.hgt.
N35E015: trying view1 ...
N35E015: trying view3 ...
N35E015: trying srtm3v3.0 ...
N35E015: no file found on server.
N36E015: trying view1 ...
N36E015: using existing file /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW1/N36E015.hgt.
Panic: Didn't work: /home/juanelvira/wahooMapsCreatorData/_download/hgt/VIEW3/N35E014.hgt

INFO:+ Generate contour lines for each coordinate: OK
INFO:--------------------------------------------------------------------------------
INFO:# Split filtered country files to tiles
INFO:+ (tile 1 of 2) Coordinates: 137,100 / italy
INFO:+ (tile 1 of 2) Coordinates: 137,100 / malta
INFO:+ (tile 2 of 2) Coordinates: 138,100 / italy
INFO:+ (tile 2 of 2) Coordinates: 138,100 / malta
INFO:+ Split filtered country files to tiles: OK
INFO:--------------------------------------------------------------------------------
INFO:# Merge splitted tiles with land, elevation and sea
INFO:+ (tile 1 of 2) Coordinates: 137,100
DEBUG:--------------------------------------------------------------------------------
DEBUG:# Sorting land* osm files
DEBUG:+ Sorting land* osm files: OK
ERROR:subprocess error output:
ERROR:May 09, 2024 7:51:36 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.49.2
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
May 09, 2024 7:51:36 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
May 09, 2024 7:51:36 AM org.openstreetmap.osmosis.tagtransform.impl.TransformLoader parseTranslation
INFO: New translation: Adjust tunnel Layers
May 09, 2024 7:51:36 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Launching pipeline execution.
May 09, 2024 7:51:36 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline executing, waiting for completion.
May 09, 2024 7:51:37 AM org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager waitForCompletion
SEVERE: Thread for task 1-rbf failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: An output error has occurred, aborting.
at org.openstreetmap.osmosis.core.store.DataPostbox.checkForOutputErrors(DataPostbox.java:162)
at org.openstreetmap.osmosis.core.store.DataPostbox.populateCentralQueue(DataPostbox.java:218)
at org.openstreetmap.osmosis.core.store.DataPostbox.put(DataPostbox.java:305)
at org.openstreetmap.osmosis.set.v0_6.impl.DataPostboxSink.process(DataPostboxSink.java:45)
at org.openstreetmap.osmosis.core.sort.v0_6.SortedEntityPipeValidator.process(SortedEntityPipeValidator.java:68)
at org.openstreetmap.osmosis.pbf2.v0_6.impl.PbfDecoder.sendResultsToSink(PbfDecoder.java:106)
at org.openstreetmap.osmosis.pbf2.v0_6.impl.PbfDecoder.processBlobs(PbfDecoder.java:163)
at org.openstreetmap.osmosis.pbf2.v0_6.impl.PbfDecoder.run(PbfDecoder.java:175)
at org.openstreetmap.osmosis.pbf2.v0_6.PbfReader.run(PbfReader.java:115)
at java.base/java.lang.Thread.run(Thread.java:1583)

May 09, 2024 7:51:37 AM org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager waitForCompletion
SEVERE: Thread for task 2-rbf failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: An output error has occurred, aborting.
at org.openstreetmap.osmosis.core.store.DataPostbox.checkForOutputErrors(DataPostbox.java:162)
at org.openstreetmap.osmosis.core.store.DataPostbox.populateCentralQueue(DataPostbox.java:218)
at org.openstreetmap.osmosis.core.store.DataPostbox.put(DataPostbox.java:305)
at org.openstreetmap.osmosis.set.v0_6.impl.DataPostboxSink.process(DataPostboxSink.java:45)
at org.openstreetmap.osmosis.core.sort.v0_6.SortedEntityPipeValidator.process(SortedEntityPipeValidator.java:68)
at org.openstreetmap.osmosis.pbf2.v0_6.impl.PbfDecoder.sendResultsToSink(PbfDecoder.java:106)
at org.openstreetmap.osmosis.pbf2.v0_6.impl.PbfDecoder.processBlobs(PbfDecoder.java:163)
at org.openstreetmap.osmosis.pbf2.v0_6.impl.PbfDecoder.run(PbfDecoder.java:175)
at org.openstreetmap.osmosis.pbf2.v0_6.PbfReader.run(PbfReader.java:115)
at java.base/java.lang.Thread.run(Thread.java:1583)

May 09, 2024 7:51:37 AM org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager waitForCompletion
SEVERE: Thread for task 3-merge failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: An output error has occurred, aborting.
at org.openstreetmap.osmosis.core.store.DataPostbox.checkForOutputErrors(DataPostbox.java:162)
at org.openstreetmap.osmosis.core.store.DataPostbox.populateCentralQueue(DataPostbox.java:218)
at org.openstreetmap.osmosis.core.store.DataPostbox.put(DataPostbox.java:305)
at org.openstreetmap.osmosis.set.v0_6.impl.DataPostboxSink.process(DataPostboxSink.java:45)
at org.openstreetmap.osmosis.core.sort.v0_6.SortedEntityPipeValidator.process(SortedEntityPipeValidator.java:68)
at org.openstreetmap.osmosis.set.v0_6.EntityMerger.run(EntityMerger.java:178)
at java.base/java.lang.Thread.run(Thread.java:1583)

May 09, 2024 7:51:37 AM org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager waitForCompletion
SEVERE: Thread for task 4-rbf failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: An output error has occurred, aborting.
at org.openstreetmap.osmosis.core.store.DataPostbox.checkForOutputErrors(DataPostbox.java:162)
at org.openstreetmap.osmosis.core.store.DataPostbox.complete(DataPostbox.java:332)
at org.openstreetmap.osmosis.set.v0_6.impl.DataPostboxSink.complete(DataPostboxSink.java:54)
at org.openstreetmap.osmosis.core.sort.v0_6.SortedEntityPipeValidator.complete(SortedEntityPipeValidator.java:44)
at org.openstreetmap.osmosis.pbf2.v0_6.PbfReader.run(PbfReader.java:117)
at java.base/java.lang.Thread.run(Thread.java:1583)

May 09, 2024 7:51:37 AM org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager waitForCompletion
SEVERE: Thread for task 5-merge failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: An output error has occurred, aborting.
at org.openstreetmap.osmosis.core.store.DataPostbox.checkForOutputErrors(DataPostbox.java:162)
at org.openstreetmap.osmosis.core.store.DataPostbox.populateCentralQueue(DataPostbox.java:218)
at org.openstreetmap.osmosis.core.store.DataPostbox.put(DataPostbox.java:305)
at org.openstreetmap.osmosis.set.v0_6.impl.DataPostboxSink.process(DataPostboxSink.java:45)
at org.openstreetmap.osmosis.core.sort.v0_6.SortedEntityPipeValidator.process(SortedEntityPipeValidator.java:68)
at org.openstreetmap.osmosis.set.v0_6.EntityMerger.run(EntityMerger.java:239)
at java.base/java.lang.Thread.run(Thread.java:1583)

May 09, 2024 7:51:37 AM org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager waitForCompletion
SEVERE: Thread for task 6-rbf failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: An output error has occurred, aborting.
at org.openstreetmap.osmosis.core.store.DataPostbox.checkForOutputErrors(DataPostbox.java:162)
at org.openstreetmap.osmosis.core.store.DataPostbox.populateCentralQueue(DataPostbox.java:218)
at org.openstreetmap.osmosis.core.store.DataPostbox.put(DataPostbox.java:305)
at org.openstreetmap.osmosis.set.v0_6.impl.DataPostboxSink.process(DataPostboxSink.java:45)
at org.openstreetmap.osmosis.core.sort.v0_6.SortedEntityPipeValidator.process(SortedEntityPipeValidator.java:68)
at org.openstreetmap.osmosis.pbf2.v0_6.impl.PbfDecoder.sendResultsToSink(PbfDecoder.java:106)
at org.openstreetmap.osmosis.pbf2.v0_6.impl.PbfDecoder.processBlobs(PbfDecoder.java:163)
at org.openstreetmap.osmosis.pbf2.v0_6.impl.PbfDecoder.run(PbfDecoder.java:175)
at org.openstreetmap.osmosis.pbf2.v0_6.PbfReader.run(PbfReader.java:115)
at java.base/java.lang.Thread.run(Thread.java:1583)

May 09, 2024 7:51:37 AM org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager waitForCompletion
SEVERE: Thread for task 7-merge failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: An output error has occurred, aborting.
at org.openstreetmap.osmosis.core.store.DataPostbox.checkForOutputErrors(DataPostbox.java:162)
at org.openstreetmap.osmosis.core.store.DataPostbox.populateCentralQueue(DataPostbox.java:218)
at org.openstreetmap.osmosis.core.store.DataPostbox.put(DataPostbox.java:305)
at org.openstreetmap.osmosis.set.v0_6.impl.DataPostboxSink.process(DataPostboxSink.java:45)
at org.openstreetmap.osmosis.core.sort.v0_6.SortedEntityPipeValidator.process(SortedEntityPipeValidator.java:68)
at org.openstreetmap.osmosis.set.v0_6.EntityMerger.run(EntityMerger.java:183)
at java.base/java.lang.Thread.run(Thread.java:1583)

May 09, 2024 7:51:37 AM org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager waitForCompletion
SEVERE: Thread for task 8-rx failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: An output error has occurred, aborting.
at org.openstreetmap.osmosis.core.store.DataPostbox.checkForOutputErrors(DataPostbox.java:162)
at org.openstreetmap.osmosis.core.store.DataPostbox.populateCentralQueue(DataPostbox.java:213)
at org.openstreetmap.osmosis.core.store.DataPostbox.put(DataPostbox.java:305)
at org.openstreetmap.osmosis.set.v0_6.impl.DataPostboxSink.process(DataPostboxSink.java:45)
at org.openstreetmap.osmosis.core.sort.v0_6.SortedEntityPipeValidator.process(SortedEntityPipeValidator.java:68)
at org.openstreetmap.osmosis.core.sort.v0_6.EntitySorter.complete(EntitySorter.java:80)
at org.openstreetmap.osmosis.xml.v0_6.XmlReader.run(XmlReader.java:53)
at java.base/java.lang.Thread.run(Thread.java:1583)

May 09, 2024 7:51:37 AM org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager waitForCompletion
SEVERE: Thread for task 10-m failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: An output error has occurred, aborting.
at org.openstreetmap.osmosis.core.store.DataPostbox.checkForOutputErrors(DataPostbox.java:162)
at org.openstreetmap.osmosis.core.store.DataPostbox.populateCentralQueue(DataPostbox.java:213)
at org.openstreetmap.osmosis.core.store.DataPostbox.put(DataPostbox.java:305)
at org.openstreetmap.osmosis.set.v0_6.impl.DataPostboxSink.process(DataPostboxSink.java:45)
at org.openstreetmap.osmosis.core.sort.v0_6.SortedEntityPipeValidator.process(SortedEntityPipeValidator.java:68)
at org.openstreetmap.osmosis.set.v0_6.EntityMerger.run(EntityMerger.java:183)
at java.base/java.lang.Thread.run(Thread.java:1583)

May 09, 2024 7:51:37 AM org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager waitForCompletion
SEVERE: Thread for task 11-rx failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Unable to unzip gz file /home/juanelvira/wahooMapsCreatorData/_tiles/137/100/elevation_lon12.66_14.06lat35.46_36.60_view1,view3.osm.
at org.openstreetmap.osmosis.xml.v0_6.impl.BaseXMLReader.unzipParse(BaseXMLReader.java:109)
at org.openstreetmap.osmosis.xml.v0_6.impl.BaseXMLReader.handleXML(BaseXMLReader.java:84)
at org.openstreetmap.osmosis.xml.v0_6.XmlReader.run(XmlReader.java:52)
at java.base/java.lang.Thread.run(Thread.java:1583)
Caused by: java.util.zip.ZipException: Not in GZIP format
at java.base/java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:176)
at java.base/java.util.zip.GZIPInputStream.(GZIPInputStream.java:79)
at java.base/java.util.zip.GZIPInputStream.(GZIPInputStream.java:91)
at org.openstreetmap.osmosis.xml.v0_6.impl.BaseXMLReader.unzipParse(BaseXMLReader.java:101)
... 3 more

May 09, 2024 7:51:37 AM org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager waitForCompletion
SEVERE: Thread for task 13-m failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: An input error has occurred, aborting.
at org.openstreetmap.osmosis.core.store.DataPostbox.checkForInputErrors(DataPostbox.java:174)
at org.openstreetmap.osmosis.core.store.DataPostbox.consumeCentralQueue(DataPostbox.java:244)
at org.openstreetmap.osmosis.core.store.DataPostbox.hasNext(DataPostbox.java:441)
at org.openstreetmap.osmosis.set.v0_6.EntityMerger.nextOrNull(EntityMerger.java:290)
at org.openstreetmap.osmosis.set.v0_6.EntityMerger.run(EntityMerger.java:126)
at java.base/java.lang.Thread.run(Thread.java:1583)

May 09, 2024 7:51:37 AM org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager waitForCompletion
SEVERE: Thread for task 14-rx failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: An output error has occurred, aborting.
at org.openstreetmap.osmosis.core.store.DataPostbox.checkForOutputErrors(DataPostbox.java:162)
at org.openstreetmap.osmosis.core.store.DataPostbox.populateCentralQueue(DataPostbox.java:213)
at org.openstreetmap.osmosis.core.store.DataPostbox.complete(DataPostbox.java:322)
at org.openstreetmap.osmosis.set.v0_6.impl.DataPostboxSink.complete(DataPostboxSink.java:54)
at org.openstreetmap.osmosis.core.sort.v0_6.SortedEntityPipeValidator.complete(SortedEntityPipeValidator.java:44)
at org.openstreetmap.osmosis.core.sort.v0_6.EntitySorter.complete(EntitySorter.java:83)
at org.openstreetmap.osmosis.xml.v0_6.XmlReader.run(XmlReader.java:53)
at java.base/java.lang.Thread.run(Thread.java:1583)

May 09, 2024 7:51:37 AM org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager waitForCompletion
SEVERE: Thread for task 16-m failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: An input error has occurred, aborting.
at org.openstreetmap.osmosis.core.store.DataPostbox.checkForInputErrors(DataPostbox.java:174)
at org.openstreetmap.osmosis.core.store.DataPostbox.consumeCentralQueue(DataPostbox.java:239)
at org.openstreetmap.osmosis.core.store.DataPostbox.hasNext(DataPostbox.java:441)
at org.openstreetmap.osmosis.set.v0_6.EntityMerger.nextOrNull(EntityMerger.java:290)
at org.openstreetmap.osmosis.set.v0_6.EntityMerger.run(EntityMerger.java:127)
at java.base/java.lang.Thread.run(Thread.java:1583)

May 09, 2024 7:51:37 AM org.openstreetmap.osmosis.core.Osmosis main
SEVERE: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: One or more tasks failed.
at org.openstreetmap.osmosis.core.pipeline.common.Pipeline.waitForCompletion(Pipeline.java:146)
at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:92)
at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:37)

@lacovajuan lacovajuan added the bug Something isn't working label May 9, 2024
@lacovajuan
Copy link
Author

maybe could be related to this issue reported in osmosis?
openstreetmap/osmosis#122

@treee111
Copy link
Owner

Hi @lacovajuan, thanks for open this issue.

Do you still experience this?

Have you had a change to try it on another computer/OS to check if the OS is the limiting factor here and the linked issue (thanks for searching!) might be due to the same.

@luusl
Copy link
Contributor

luusl commented Aug 19, 2024

I have the same issue. I think the relevant line may be

org.openstreetmap.osmosis.core.OsmosisRuntimeException: Unable to unzip gz file /home/juanelvira/wahooMapsCreatorData/_tiles/137/100/elevation_lon12.66_14.06lat35.46_36.60_view1,view3.osm.

Having a look into that file it has the following content.

<?xml version="1.0" encoding="utf-8"?>
<osm version="0.6" generator="phyghtmap 2.23">
<bounds minlat="35.4606700" minlon="12.6562500" maxlat="36.5978891" maxlon="14.0625000"/>
<?xml version="1.0" encoding="utf-8"?>
<osm version="0.6" generator="phyghtmap 2.23">
<bounds minlat="35.4606700" minlon="12.6562500" maxlat="36.5978891" maxlon="14.0625000"/>
</osm>

Which is corrupted. So my assumption is that phyghtmap generation failed. But I don't have a solution.

@hdevine825
Copy link

I think I am running into a similar or the same issue. I am encountering this when running with -co new-york but not when running with -co us-northeast. I am on Ubuntu.

INFO:--------------------------------------------------------------------------------
INFO:--------------------------------------------------------------------------------
INFO:# check geofabrik.json file
INFO:# Input country: new-york.
INFO:--------------------------------------------------------------------------------
INFO:+ Involved country: us/new-york
INFO:--------------------------------------------------------------------------------
INFO:# check land_polygons.shp file
INFO:--------------------------------------------------------------------------------
INFO:# check countries .osm.pbf files
INFO:+ Checking for old maps and remove them
INFO:--------------------------------------------------------------------------------
INFO:# Downloading us_new-york-latest.osm.pbf file
INFO:+ Downloaded: /home/harrison/wahooMapsCreatorData/_download/maps/us_new-york-latest.osm.pbf, took 31.202 s
INFO:--------------------------------------------------------------------------------
INFO:# Filter tags from country osm.pbf files
INFO:+ Filtering unwanted map objects out of map of us/new-york
INFO:+ Filter tags from country osm.pbf files: OK, took 58.057 s
INFO:--------------------------------------------------------------------------------
INFO:# Generate land for each coordinate
INFO:+ (tile 1 of 23) Coordinates: 71,93
INFO:+ (tile 2 of 23) Coordinates: 71,94
INFO:+ (tile 3 of 23) Coordinates: 71,95
INFO:+ (tile 4 of 23) Coordinates: 72,93
INFO:+ (tile 5 of 23) Coordinates: 72,94
INFO:+ (tile 6 of 23) Coordinates: 72,95
INFO:+ (tile 7 of 23) Coordinates: 73,92
INFO:+ (tile 8 of 23) Coordinates: 73,93
INFO:+ (tile 9 of 23) Coordinates: 73,94
INFO:+ (tile 10 of 23) Coordinates: 73,95
INFO:+ (tile 11 of 23) Coordinates: 74,92
INFO:+ (tile 12 of 23) Coordinates: 74,93
INFO:+ (tile 13 of 23) Coordinates: 74,94
INFO:+ (tile 14 of 23) Coordinates: 74,95
INFO:+ (tile 15 of 23) Coordinates: 75,92
INFO:+ (tile 16 of 23) Coordinates: 75,93
INFO:+ (tile 17 of 23) Coordinates: 75,94
INFO:+ (tile 18 of 23) Coordinates: 75,95
INFO:+ (tile 19 of 23) Coordinates: 75,96
INFO:+ (tile 20 of 23) Coordinates: 76,95
INFO:+ (tile 21 of 23) Coordinates: 76,96
INFO:+ (tile 22 of 23) Coordinates: 77,95
INFO:+ (tile 23 of 23) Coordinates: 77,96
INFO:+ Generate land for each coordinate: OK, took 20.488 s
INFO:--------------------------------------------------------------------------------
INFO:# Generate sea for each coordinate
INFO:+ (tile 1 of 23) Coordinates: 71,93
INFO:+ (tile 2 of 23) Coordinates: 71,94
INFO:+ (tile 3 of 23) Coordinates: 71,95
INFO:+ (tile 4 of 23) Coordinates: 72,93
INFO:+ (tile 5 of 23) Coordinates: 72,94
INFO:+ (tile 6 of 23) Coordinates: 72,95
INFO:+ (tile 7 of 23) Coordinates: 73,92
INFO:+ (tile 8 of 23) Coordinates: 73,93
INFO:+ (tile 9 of 23) Coordinates: 73,94
INFO:+ (tile 10 of 23) Coordinates: 73,95
INFO:+ (tile 11 of 23) Coordinates: 74,92
INFO:+ (tile 12 of 23) Coordinates: 74,93
INFO:+ (tile 13 of 23) Coordinates: 74,94
INFO:+ (tile 14 of 23) Coordinates: 74,95
INFO:+ (tile 15 of 23) Coordinates: 75,92
INFO:+ (tile 16 of 23) Coordinates: 75,93
INFO:+ (tile 17 of 23) Coordinates: 75,94
INFO:+ (tile 18 of 23) Coordinates: 75,95
INFO:+ (tile 19 of 23) Coordinates: 75,96
INFO:+ (tile 20 of 23) Coordinates: 76,95
INFO:+ (tile 21 of 23) Coordinates: 76,96
INFO:+ (tile 22 of 23) Coordinates: 77,95
INFO:+ (tile 23 of 23) Coordinates: 77,96
INFO:+ Generate sea for each coordinate: OK, took 0.006 s
INFO:--------------------------------------------------------------------------------
INFO:# Split filtered country files to tiles
INFO:+ Split filtered country files to tiles: OK, took 0.000 s
INFO:--------------------------------------------------------------------------------
INFO:# Merge splitted tiles with land, elevation, and sea
INFO:+ (tile 1 of 23) Coordinates: 71,93
ERROR:subprocess error output:
ERROR:Oct 15, 2024 4:44:07 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.48.3
Oct 15, 2024 4:44:08 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
Oct 15, 2024 4:44:08 PM org.openstreetmap.osmosis.tagtransform.impl.TransformLoader parseTranslation
INFO: New translation: Adjust tunnel Layers
Oct 15, 2024 4:44:08 PM org.openstreetmap.osmosis.core.Osmosis main
SEVERE: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: No default pipes are available as input for task 3-m.
        at org.openstreetmap.osmosis.core.pipeline.common.PipeTasks.retrieveTask(PipeTasks.java:150)
        at org.openstreetmap.osmosis.core.pipeline.common.TaskManager.getInputTask(TaskManager.java:165)
        at org.openstreetmap.osmosis.core.pipeline.v0_6.MultiSinkRunnableSourceManager.connect(MultiSinkRunnableSourceManager.java:57)
        at org.openstreetmap.osmosis.core.pipeline.common.Pipeline.connectTasks(Pipeline.java:74)
        at org.openstreetmap.osmosis.core.pipeline.common.Pipeline.prepare(Pipeline.java:116)
        at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:86)
        at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:37)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:321)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:234)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:47)


ERROR:! Error in Osmosis with tile: 71,93

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants