Re: lein repl broken under 1.9?

2018-01-13 Thread Andrew Dabrowski
You were right: it was spyscope.  I forgot I had it in .lein/profiles.clj.

-- 
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: lein repl broken under 1.9?

2018-01-13 Thread Andrew Dabrowski
Here's the minimal profile.clj

(defproject foobar "0.1.0-SNAPSHOT"
  :description "foobar explorer"
  :url ""
  :license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
  :dependencies [[org.clojure/clojure "1.9.0"]]
  :main ^:skip-aot foobar.core
  :target-path "target/%s"
  :profiles {:uberjar {:aot :all}}
  )

and core.clj

(ns foobar.core
  (:gen-class)
  )

(defn -main
  "I don't do a whole lot ... yet."
  [& args]
  (println "Hello, World!"))


which produces 

$ lein repl
Exception in thread "main" clojure.lang.ExceptionInfo: Call to 
clojure.core/ns did not conform to spec:


On Saturday, January 13, 2018 at 4:14:32 PM UTC-5, Andy Fingerhut wrote:
>
> Given the warning about seesaw.util, I would guess that your project.clj 
> file has seesaw as a dependency?  Or maybe  you have seesaw in your 
> ~/.lein/profiles.clj file as a dependency?
>
> If so, either seesaw, or some other dependency being loaded, likely has an 
> erroneous ns form somewhere.  Perhaps where that erroneous ns form is can 
> be determined from some of the error messages you have not shown.  Clojure 
> 1.9.0 checks the syntax of ns forms more strictly, and issues error 
> messages about them, more strictly than previous versions of Clojure.
>
> Andy
>
> On Sat, Jan 13, 2018 at 1:07 PM, Andrew Dabrowski  > wrote:
>
>> I can't start a lein repl under 1.9 ( clojure 1.8 still works fine).
>>
>> $ lein repl
>> WARNING: boolean? already refers to: #'clojure.core/boolean? in 
>> namespace: seesaw.util, being replaced by: #'seesaw.util/boolean?
>> Exception in thread "main" clojure.lang.ExceptionInfo: Call to 
>> clojure.core/ns did not conform to spec:
>>
>> and then follows pages more error messages.  Is there really a problem 
>> with clojure.core/ns?
>>
>> I haven't even written any code yet, this is right after creating a new 
>> project with lein.  
>>
>> I'm on ubuntu 16 LTS, 64bit.
>>
>> openjdk version "1.8.0_151"
>>
>> Leiningen 2.8.1 on Java 1.8.0_151 OpenJDK 64-Bit Server VM
>>
>>
>>
>>
>> -- 
>> 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 
>> 
>> 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 
>> 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 .
>> 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: lein repl broken under 1.9?

2018-01-13 Thread Andrew Dabrowski
I think that's just a warning.  When I remove seesaw from the project I get 
pretty much the same problem.

$ lein repl
Exception in thread "main" clojure.lang.ExceptionInfo: Call to 
clojure.core/ns did not conform to spec:



On Saturday, January 13, 2018 at 4:14:32 PM UTC-5, Andy Fingerhut wrote:
>
> Given the warning about seesaw.util, I would guess that your project.clj 
> file has seesaw as a dependency?  Or maybe  you have seesaw in your 
> ~/.lein/profiles.clj file as a dependency?
>
> If so, either seesaw, or some other dependency being loaded, likely has an 
> erroneous ns form somewhere.  Perhaps where that erroneous ns form is can 
> be determined from some of the error messages you have not shown.  Clojure 
> 1.9.0 checks the syntax of ns forms more strictly, and issues error 
> messages about them, more strictly than previous versions of Clojure.
>
> Andy
>
> On Sat, Jan 13, 2018 at 1:07 PM, Andrew Dabrowski  > wrote:
>
>> I can't start a lein repl under 1.9 ( clojure 1.8 still works fine).
>>
>> $ lein repl
>> WARNING: boolean? already refers to: #'clojure.core/boolean? in 
>> namespace: seesaw.util, being replaced by: #'seesaw.util/boolean?
>> Exception in thread "main" clojure.lang.ExceptionInfo: Call to 
>> clojure.core/ns did not conform to spec:
>>
>> and then follows pages more error messages.  Is there really a problem 
>> with clojure.core/ns?
>>
>> I haven't even written any code yet, this is right after creating a new 
>> project with lein.  
>>
>> I'm on ubuntu 16 LTS, 64bit.
>>
>> openjdk version "1.8.0_151"
>>
>> Leiningen 2.8.1 on Java 1.8.0_151 OpenJDK 64-Bit Server VM
>>
>>
>>
>>
>> -- 
>> 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 
>> 
>> 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 
>> 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 .
>> 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: lein repl broken under 1.9?

2018-01-13 Thread Andy Fingerhut
Given the warning about seesaw.util, I would guess that your project.clj
file has seesaw as a dependency?  Or maybe  you have seesaw in your
~/.lein/profiles.clj file as a dependency?

If so, either seesaw, or some other dependency being loaded, likely has an
erroneous ns form somewhere.  Perhaps where that erroneous ns form is can
be determined from some of the error messages you have not shown.  Clojure
1.9.0 checks the syntax of ns forms more strictly, and issues error
messages about them, more strictly than previous versions of Clojure.

Andy

On Sat, Jan 13, 2018 at 1:07 PM, Andrew Dabrowski 
wrote:

> I can't start a lein repl under 1.9 ( clojure 1.8 still works fine).
>
> $ lein repl
> WARNING: boolean? already refers to: #'clojure.core/boolean? in namespace:
> seesaw.util, being replaced by: #'seesaw.util/boolean?
> Exception in thread "main" clojure.lang.ExceptionInfo: Call to
> clojure.core/ns did not conform to spec:
>
> and then follows pages more error messages.  Is there really a problem
> with clojure.core/ns?
>
> I haven't even written any code yet, this is right after creating a new
> project with lein.
>
> I'm on ubuntu 16 LTS, 64bit.
>
> openjdk version "1.8.0_151"
>
> Leiningen 2.8.1 on Java 1.8.0_151 OpenJDK 64-Bit Server VM
>
>
>
>
> --
> 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.


lein repl broken under 1.9?

2018-01-13 Thread Andrew Dabrowski
I can't start a lein repl under 1.9 ( clojure 1.8 still works fine).

$ lein repl
WARNING: boolean? already refers to: #'clojure.core/boolean? in namespace: 
seesaw.util, being replaced by: #'seesaw.util/boolean?
Exception in thread "main" clojure.lang.ExceptionInfo: Call to 
clojure.core/ns did not conform to spec:

and then follows pages more error messages.  Is there really a problem with 
clojure.core/ns?

I haven't even written any code yet, this is right after creating a new 
project with lein.  

I'm on ubuntu 16 LTS, 64bit.

openjdk version "1.8.0_151"

Leiningen 2.8.1 on Java 1.8.0_151 OpenJDK 64-Bit Server VM




-- 
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.