Re: can't connect with Datomic transactor

2014-09-09 Thread Shaun Robinson
Hi Wilker,

I experienced the same using datomic.api/connect while experimenting with 
datomic-pro 
(0.9.4815.12) and Clojure 1.7.0-alpha2. 

Dropping back to Clojure 1.6.0 fixed the issue.

(Datomic releases targeted Clojure 1.5 until Aug 31, 2014, and now target 
Clojure 1.6) [1]

Shaun

[1] http://docs.datomic.com/release-notices.html


On Sunday, September 7, 2014 11:06:55 PM UTC-4, Wilker wrote:

 Hi,

 I was using Datomic in memory for a few days, and now I tried to switch 
 for a more persistent storage. First I tried just using the free, but I was 
 getting this error:

 CompilerException java.lang.NoSuchMethodError: 
 clojure.lang.SeqIterator.init(Lclojure/lang/ISeq;)V, 
 compiling:(form-init5913779045640355531.clj:1:11) 

 Then I tried to use pro to see if that works, but end up with same results.

 The funny part is, if I try to connect just after launching the transactor 
 I get this:

 (def conn (d/connect uri))
 CompilerException clojure.lang.ExceptionInfo: Error communicating with 
 HOST localhost on PORT 4334 {:alt-host nil, :peer-version 2, :password 
 ..., :username ..., :port 4334, :host localhost, :version 0.9.4894, 
 :timestamp 1410145249419, :encrypt-channel true}, 
 compiling:(form-init5913779045640355531.clj:1:11) 

 Then if I run same thing again:

 (def conn (d/connect uri))
 CompilerException java.lang.NoSuchMethodError: 
 clojure.lang.SeqIterator.init(Lclojure/lang/ISeq;)V, 
 compiling:(form-init5913779045640355531.clj:1:11) 

 Running (d/create-database) works just fine (I can confirm by checking on 
 the console).

 All that I get from datomic transactor log is this:

 2014-09-08 00:05:24.455 INFO  defaultdatomic.lifecycle - {:tid 26, 
 :pid 58071, :host localhost, :port 4334, :encrypt-channel true, :version 
 0.9.4894, :timestamp 1410145524454, :event :transactor/heartbeat, :rev 
 198}

 I have no more idea about what to do to fix it... You guys know what this 
 issue is about?

 Thanks.
 ---
 Wilker Lúcio
 http://about.me/wilkerlucio/bio
 Woboinc Consultant
 +55 81 82556600
  

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: can't connect with Datomic transactor

2014-09-09 Thread Alex Miller
A fix for this has been applied to Clojure master for the next release (no 
plan for when that will be yet, but probably ~weeks).

On Monday, September 8, 2014 11:18:56 PM UTC-5, Wilker wrote:

 Actually, I just got an answer on the Datomic list, the problem is that 
 I'm using Clojure 1.7.0-alpha2.

 So, just have to wait for a new version now.

 ---
 Wilker Lúcio
 http://about.me/wilkerlucio/bio
 Woboinc Consultant
 +55 81 82556600


 On Tue, Sep 9, 2014 at 1:12 AM, Wilker wilke...@gmail.com javascript: 
 wrote:

 Hi Josh,

 I know that I have the transactor running, creating databases works, just 
 connecting that doesn't...

 I tried your solution, but I'm still getting the same error, I would like 
 to know at least maybe a better way to debug it, the major issue is that 
 the error messages doesn't give any clue about what's wrong... I really 
 believe that's something with my env, but it's being really hard to track 
 down what it is.

 ---
 Wilker Lúcio
 http://about.me/wilkerlucio/bio
 Woboinc Consultant
 +55 81 82556600


 On Mon, Sep 8, 2014 at 6:13 PM, Josh Lehman jaleh...@gmail.com 
 javascript: wrote:

 Wilker, 

 It seems that you haven't actually started the transactor. For 
 developing, I'd recommend using lein-datomic 
 https://github.com/johnwayner/lein-datomic. 

 Hope that helps,
 -Josh


 On Sunday, September 7, 2014 8:06:55 PM UTC-7, Wilker wrote:

 Hi,

 I was using Datomic in memory for a few days, and now I tried to switch 
 for a more persistent storage. First I tried just using the free, but I 
 was 
 getting this error:

 CompilerException java.lang.NoSuchMethodError: 
 clojure.lang.SeqIterator.init(Lclojure/lang/ISeq;)V, compiling:(form-
 init5913779045640355531.clj:1:11) 

 Then I tried to use pro to see if that works, but end up with same 
 results.

 The funny part is, if I try to connect just after launching the 
 transactor I get this:

 (def conn (d/connect uri))
 CompilerException clojure.lang.ExceptionInfo: Error communicating with 
 HOST localhost on PORT 4334 {:alt-host nil, :peer-version 2, :password 
 ..., :username ..., :port 4334, :host localhost, :version 
 0.9.4894, 
 :timestamp 1410145249419, :encrypt-channel true}, compiling:(form-
 init5913779045640355531.clj:1:11) 

 Then if I run same thing again:

 (def conn (d/connect uri))
 CompilerException java.lang.NoSuchMethodError: 
 clojure.lang.SeqIterator.init(Lclojure/lang/ISeq;)V, compiling:(form-
 init5913779045640355531.clj:1:11) 

 Running (d/create-database) works just fine (I can confirm by checking 
 on the console).

 All that I get from datomic transactor log is this:

 2014-09-08 00:05:24.455 INFO  defaultdatomic.lifecycle - {:tid 26, 
 :pid 58071, :host localhost, :port 4334, :encrypt-channel true, :version 
 0.9.4894, :timestamp 1410145524454, :event :transactor/heartbeat, :rev 
 198}

 I have no more idea about what to do to fix it... You guys know what 
 this issue is about?

 Thanks.
 ---
 Wilker Lúcio
 http://about.me/wilkerlucio/bio
 Woboinc Consultant
 +55 81 82556600
  
  -- 
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clo...@googlegroups.com 
 javascript:
 Note that posts from new members are moderated - please be patient with 
 your first post.
 To unsubscribe from this group, send email to
 clojure+u...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 --- 
 You received this message because you are subscribed to the Google 
 Groups Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to clojure+u...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.





-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: can't connect with Datomic transactor

2014-09-08 Thread Josh Lehman
Wilker, 

It seems that you haven't actually started the transactor. For developing, 
I'd recommend using lein-datomic 
https://github.com/johnwayner/lein-datomic. 

Hope that helps,
-Josh

On Sunday, September 7, 2014 8:06:55 PM UTC-7, Wilker wrote:

 Hi,

 I was using Datomic in memory for a few days, and now I tried to switch 
 for a more persistent storage. First I tried just using the free, but I was 
 getting this error:

 CompilerException java.lang.NoSuchMethodError: 
 clojure.lang.SeqIterator.init(Lclojure/lang/ISeq;)V, 
 compiling:(form-init5913779045640355531.clj:1:11) 

 Then I tried to use pro to see if that works, but end up with same results.

 The funny part is, if I try to connect just after launching the transactor 
 I get this:

 (def conn (d/connect uri))
 CompilerException clojure.lang.ExceptionInfo: Error communicating with 
 HOST localhost on PORT 4334 {:alt-host nil, :peer-version 2, :password 
 ..., :username ..., :port 4334, :host localhost, :version 0.9.4894, 
 :timestamp 1410145249419, :encrypt-channel true}, 
 compiling:(form-init5913779045640355531.clj:1:11) 

 Then if I run same thing again:

 (def conn (d/connect uri))
 CompilerException java.lang.NoSuchMethodError: 
 clojure.lang.SeqIterator.init(Lclojure/lang/ISeq;)V, 
 compiling:(form-init5913779045640355531.clj:1:11) 

 Running (d/create-database) works just fine (I can confirm by checking on 
 the console).

 All that I get from datomic transactor log is this:

 2014-09-08 00:05:24.455 INFO  defaultdatomic.lifecycle - {:tid 26, 
 :pid 58071, :host localhost, :port 4334, :encrypt-channel true, :version 
 0.9.4894, :timestamp 1410145524454, :event :transactor/heartbeat, :rev 
 198}

 I have no more idea about what to do to fix it... You guys know what this 
 issue is about?

 Thanks.
 ---
 Wilker Lúcio
 http://about.me/wilkerlucio/bio
 Woboinc Consultant
 +55 81 82556600
  

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: can't connect with Datomic transactor

2014-09-08 Thread Wilker
Hi Josh,

I know that I have the transactor running, creating databases works, just
connecting that doesn't...

I tried your solution, but I'm still getting the same error, I would like
to know at least maybe a better way to debug it, the major issue is that
the error messages doesn't give any clue about what's wrong... I really
believe that's something with my env, but it's being really hard to track
down what it is.

---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600


On Mon, Sep 8, 2014 at 6:13 PM, Josh Lehman jalehma...@gmail.com wrote:

 Wilker,

 It seems that you haven't actually started the transactor. For developing,
 I'd recommend using lein-datomic
 https://github.com/johnwayner/lein-datomic.

 Hope that helps,
 -Josh


 On Sunday, September 7, 2014 8:06:55 PM UTC-7, Wilker wrote:

 Hi,

 I was using Datomic in memory for a few days, and now I tried to switch
 for a more persistent storage. First I tried just using the free, but I was
 getting this error:

 CompilerException java.lang.NoSuchMethodError: 
 clojure.lang.SeqIterator.init(Lclojure/lang/ISeq;)V,
 compiling:(form-init5913779045640355531.clj:1:11)

 Then I tried to use pro to see if that works, but end up with same
 results.

 The funny part is, if I try to connect just after launching the
 transactor I get this:

 (def conn (d/connect uri))
 CompilerException clojure.lang.ExceptionInfo: Error communicating with
 HOST localhost on PORT 4334 {:alt-host nil, :peer-version 2, :password
 ..., :username ..., :port 4334, :host localhost, :version 0.9.4894,
 :timestamp 1410145249419, :encrypt-channel true}, compiling:(form-
 init5913779045640355531.clj:1:11)

 Then if I run same thing again:

 (def conn (d/connect uri))
 CompilerException java.lang.NoSuchMethodError: 
 clojure.lang.SeqIterator.init(Lclojure/lang/ISeq;)V,
 compiling:(form-init5913779045640355531.clj:1:11)

 Running (d/create-database) works just fine (I can confirm by checking on
 the console).

 All that I get from datomic transactor log is this:

 2014-09-08 00:05:24.455 INFO  defaultdatomic.lifecycle - {:tid 26,
 :pid 58071, :host localhost, :port 4334, :encrypt-channel true, :version
 0.9.4894, :timestamp 1410145524454, :event :transactor/heartbeat, :rev
 198}

 I have no more idea about what to do to fix it... You guys know what this
 issue is about?

 Thanks.
 ---
 Wilker Lúcio
 http://about.me/wilkerlucio/bio
 Woboinc Consultant
 +55 81 82556600

  --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: can't connect with Datomic transactor

2014-09-08 Thread Wilker
Actually, I just got an answer on the Datomic list, the problem is that I'm
using Clojure 1.7.0-alpha2.

So, just have to wait for a new version now.

---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600


On Tue, Sep 9, 2014 at 1:12 AM, Wilker wilkerlu...@gmail.com wrote:

 Hi Josh,

 I know that I have the transactor running, creating databases works, just
 connecting that doesn't...

 I tried your solution, but I'm still getting the same error, I would like
 to know at least maybe a better way to debug it, the major issue is that
 the error messages doesn't give any clue about what's wrong... I really
 believe that's something with my env, but it's being really hard to track
 down what it is.

 ---
 Wilker Lúcio
 http://about.me/wilkerlucio/bio
 Woboinc Consultant
 +55 81 82556600


 On Mon, Sep 8, 2014 at 6:13 PM, Josh Lehman jalehma...@gmail.com wrote:

 Wilker,

 It seems that you haven't actually started the transactor. For
 developing, I'd recommend using lein-datomic
 https://github.com/johnwayner/lein-datomic.

 Hope that helps,
 -Josh


 On Sunday, September 7, 2014 8:06:55 PM UTC-7, Wilker wrote:

 Hi,

 I was using Datomic in memory for a few days, and now I tried to switch
 for a more persistent storage. First I tried just using the free, but I was
 getting this error:

 CompilerException java.lang.NoSuchMethodError: 
 clojure.lang.SeqIterator.init(Lclojure/lang/ISeq;)V,
 compiling:(form-init5913779045640355531.clj:1:11)

 Then I tried to use pro to see if that works, but end up with same
 results.

 The funny part is, if I try to connect just after launching the
 transactor I get this:

 (def conn (d/connect uri))
 CompilerException clojure.lang.ExceptionInfo: Error communicating with
 HOST localhost on PORT 4334 {:alt-host nil, :peer-version 2, :password
 ..., :username ..., :port 4334, :host localhost, :version 0.9.4894,
 :timestamp 1410145249419, :encrypt-channel true}, compiling:(form-
 init5913779045640355531.clj:1:11)

 Then if I run same thing again:

 (def conn (d/connect uri))
 CompilerException java.lang.NoSuchMethodError: 
 clojure.lang.SeqIterator.init(Lclojure/lang/ISeq;)V,
 compiling:(form-init5913779045640355531.clj:1:11)

 Running (d/create-database) works just fine (I can confirm by checking
 on the console).

 All that I get from datomic transactor log is this:

 2014-09-08 00:05:24.455 INFO  defaultdatomic.lifecycle - {:tid 26,
 :pid 58071, :host localhost, :port 4334, :encrypt-channel true, :version
 0.9.4894, :timestamp 1410145524454, :event :transactor/heartbeat, :rev
 198}

 I have no more idea about what to do to fix it... You guys know what
 this issue is about?

 Thanks.
 ---
 Wilker Lúcio
 http://about.me/wilkerlucio/bio
 Woboinc Consultant
 +55 81 82556600

  --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with
 your first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Clojure group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to clojure+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


can't connect with Datomic transactor

2014-09-07 Thread Wilker
Hi,

I was using Datomic in memory for a few days, and now I tried to switch for
a more persistent storage. First I tried just using the free, but I was
getting this error:

CompilerException java.lang.NoSuchMethodError:
clojure.lang.SeqIterator.init(Lclojure/lang/ISeq;)V,
compiling:(form-init5913779045640355531.clj:1:11)

Then I tried to use pro to see if that works, but end up with same results.

The funny part is, if I try to connect just after launching the transactor
I get this:

(def conn (d/connect uri))
CompilerException clojure.lang.ExceptionInfo: Error communicating with HOST
localhost on PORT 4334 {:alt-host nil, :peer-version 2, :password ...,
:username ..., :port 4334, :host localhost, :version 0.9.4894,
:timestamp 1410145249419, :encrypt-channel true},
compiling:(form-init5913779045640355531.clj:1:11)

Then if I run same thing again:

(def conn (d/connect uri))
CompilerException java.lang.NoSuchMethodError:
clojure.lang.SeqIterator.init(Lclojure/lang/ISeq;)V,
compiling:(form-init5913779045640355531.clj:1:11)

Running (d/create-database) works just fine (I can confirm by checking on
the console).

All that I get from datomic transactor log is this:

2014-09-08 00:05:24.455 INFO  defaultdatomic.lifecycle - {:tid 26, :pid
58071, :host localhost, :port 4334, :encrypt-channel true, :version
0.9.4894, :timestamp 1410145524454, :event :transactor/heartbeat, :rev
198}

I have no more idea about what to do to fix it... You guys know what this
issue is about?

Thanks.
---
Wilker Lúcio
http://about.me/wilkerlucio/bio
Woboinc Consultant
+55 81 82556600

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Clojure group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.