Hi Frederik,<br><br>Hmm, I can't remember details, but I probably did it during the large re-factor for 0.36.  I tried not to make too many code changes, but had to change a few things in order to minimise dependencies once I separated code into distinct projects.  The sequenceNumber and timestamp fields are the only ones that make sense for hourly replication anyway so it was always a bit dodgy that I included them in the file.<br>
<br>Until the upgrade approx 12 hours ago, I was running 0.35 on the planet server.  Now I'm running the latest 0.37-SNAPSHOT which obviously incorporates the 0.36 re-factor.<br><br>Apologies for the breakage, but I suspect the best solution is to upgrade.<br>
<br>Brett<br><br><br><div class="gmail_quote">On Mon, Sep 13, 2010 at 8:00 AM, Frederik Ramm <span dir="ltr"><<a href="mailto:frederik@remote.org">frederik@remote.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
   currently, the file<br>
<br>
<a href="http://planet.openstreetmap.org/hour-replicate/state.txt" target="_blank">http://planet.openstreetmap.org/hour-replicate/state.txt</a><br>
<br>
contains<br>
<br>
#Sun Sep 12 21:02:11 UTC 2010<br>
sequenceNumber=7127<br>
timestamp=2010-09-12T21\:00\:00Z<br>
<br>
which makes my Osmosis 0.32 complain with<br>
<br>
java.lang.NumberFormatException: null<br>
        at java.lang.Long.parseLong(Long.java:401)<br>
        at java.lang.Long.parseLong(Long.java:478)<br>
        at org.openstreetmap.osmosis.core.apidb.v0_6.impl.ReplicationState.<init>(ReplicationState.java:98)<br>
<br>
where it expects a "txnMax" field to be present (and I'm using that version daily every day, and yesterday it still worked).<br>
<br>
The current minute-replicate file still looks right:<br>
<br>
#Sun Sep 12 21:53:05 UTC 2010<br>
sequenceNumber=458541<br>
txnMaxQueried=130645019<br>
timestamp=2010-09-12T21\:53\:03Z<br>
txnReadyList=<br>
txnMax=130645019<br>
txnActiveList=130643547,130644699,130644732,130644879,130644915,130644953,130645003,130645015<br>
<br>
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.<br>
<br>
Bye<br>
Frederik<br><font color="#888888">
<br>
-- <br>
Frederik Ramm  ##  eMail <a href="mailto:frederik@remote.org" target="_blank">frederik@remote.org</a>  ##  N49°00'09" E008°23'33"<br>
<br>
_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org" target="_blank">dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">http://lists.openstreetmap.org/listinfo/dev</a><br>
</font></blockquote></div><br>