Re: labrepl updated

2010-05-05 Thread David Edgar Liebke
Let me know if you need me to make any changes. David On Wed, May 5, 2010 at 9:13 AM, Stuart Halloway stuart.hallo...@gmail.com wrote: I'll have a fix up within a half hour that should require *no* changes to incanter. On 5 May 2010 14:26, Craig Andera craig.and...@gmail.com wrote: I have

Re: [ANN] Avout: Distributed State in Clojure

2011-12-01 Thread David Edgar Liebke
Hi Sam, run-in-transaction exception: #IllegalArgumentException java.lang.IllegalArgumentException: Path must not end with / character nil Very interesting, I wouldn't expect that particular exception unless you named the zk-ref /r0/ instead of /r0, which you apparently didn't. And even

Re: [ANN] Avout: Distributed State in Clojure

2011-12-01 Thread David Edgar Liebke
Dec 2011, at 15:39, David Edgar Liebke wrote: Hi Sam, run-in-transaction exception: #IllegalArgumentException java.lang.IllegalArgumentException: Path must not end with / character nil Very interesting, I wouldn't expect that particular exception unless you named the zk-ref /r0

Re: [ANN] Avout: Distributed State in Clojure

2011-12-01 Thread David Edgar Liebke
On 1 Dec 2011, at 17:04, David Edgar Liebke wrote: Thanks Sam and Edmund, The stack traces were helpful, I think I understand what the immediate problem is. It appears that the transaction ID in these cases is not getting set, and then Avout is trying to write data to the ZooKeeper node

Re: [ANN] Avout: Distributed State in Clojure

2011-12-01 Thread David Edgar Liebke
into that trap :-) Sam On Dec 1, 2011, at 12:27 PM, Edmund wrote: That's the ticket! Thanks David, its working for me now. On 01/12/2011 17:21, David Edgar Liebke wrote: (init-stm client) -- You received this message because you are subscribed to the Google Groups Clojure group

Re: [ANN] Avout: Distributed State in Clojure

2011-12-01 Thread David Edgar Liebke
--- http://sam.aaron.name On 1 Dec 2011, at 17:21, David Edgar Liebke wrote: Did you initialize the STM? (init-stm client) You only need to do it the first time, to set up the necessary zookeeper nodes, it's described in the main tutorial but not the snippet on the top of the avout

Re: Avout: Distributed State in Clojure

2011-12-02 Thread David Edgar Liebke
Hi Glen, The init-stm step is still referenced in the documentation as being required BTW. Thanks, I'll remove the reference. I had a couple of questions. I noticed that when I create a reference (zk-ref) I need to provide an initial value. For each VM I do this for - it ends up

Re: Avout: Distributed State in Clojure

2011-12-04 Thread David Edgar Liebke
A related question. If I wanted to do a once-off initialization of the value (ie, the first VM to create the distributed ref will set the value) how would I go about it? I would just create the Ref without an initial value, and if the current value is non-nil, you know that it has