[OSM-dev] Osmosis hourly replication broken?

Frederik Ramm frederik at remote.org
Sun Sep 12 23:00:31 BST 2010


Hi,

    currently, the file

http://planet.openstreetmap.org/hour-replicate/state.txt

contains

#Sun Sep 12 21:02:11 UTC 2010
sequenceNumber=7127
timestamp=2010-09-12T21\:00\:00Z

which makes my Osmosis 0.32 complain with

java.lang.NumberFormatException: null
         at java.lang.Long.parseLong(Long.java:401)
         at java.lang.Long.parseLong(Long.java:478)
         at 
org.openstreetmap.osmosis.core.apidb.v0_6.impl.ReplicationState.<init>(ReplicationState.java:98)

where it expects a "txnMax" field to be present (and I'm using that 
version daily every day, and yesterday it still worked).

The current minute-replicate file still looks right:

#Sun Sep 12 21:53:05 UTC 2010
sequenceNumber=458541
txnMaxQueried=130645019
timestamp=2010-09-12T21\:53\:03Z
txnReadyList=
txnMax=130645019
txnActiveList=130643547,130644699,130644732,130644879,130644915,130644953,130645003,130645015

Has there been any change to the hourly state.txt format specifically 
that would mandate an upgrade? Matt says it works for him with 0.36 but 
I can't understand why the minutely still looks like it used to be.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"



More information about the dev mailing list