I do have the compressed version, but I decompressed it before running the 
script.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Marcus Wolschon
Sent: Saturday, February 28, 2009 3:39 PM
To: Stice, Alan M.
Cc: [email protected]
Subject: Re: [OSM-dev] Can't get osmosis to work

On 2/28/09, A. Stice <[email protected]> wrote:
> C:\Users\Alan\Documents\Downloads\osmosis-latest.tar.gz\osmosis-latest\osmosis-0
> .30\bin>osmosis -v --read-xml file="planet.osm" --write-mysql
> validateSchemaVers
> ion=false host="localhost" database="gis" user="root" password="**********"
...
> SEVERE: Thread for task 1-read-xml failed
> com.bretth.osmosis.core.OsmosisRuntimeException: Unable to read XML file
> planet.
> osm.
>         at
> com.bretth.osmosis.core.xml.v0_5.XmlReader.run(XmlReader.java:124)
>         at java.lang.Thread.run(Unknown Source)
> Caused by: java.io.FileNotFoundException: planet.osm (The system cannot find
> the
>  file specified)
>         at java.io.FileInputStream.open(Native Method)
>         at java.io.FileInputStream.<init>(Unknown Source)
>         at com.bretth.osmosis.core.xml.v0_5.XmlReader.run(XmlReader.java:99)
>         ... 1 more
> Feb 27, 2009 8:08:54 AM
> com.bretth.osmosis.core.pipeline.common.PassiveTaskManag
> er waitForCompletion


Could it be that you have no planet.osm but a planet.osm.bz2 there?
It would be quite uncommon to have an uncompressed planet-file around.

Marcus
_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to