Re: [ANN] Clojure 1.10.0-alpha7

2018-09-07 Thread Mamun
After update to version "1.10.0-alpha7", I found pedestal/log is broken 

pedestal version 0.5.4. 

Here is details info in bellow 

(ns io.pedestal.log 
"Logging via slf4j. Each logging level is a macro: trace, debug, 
info, warn, and error. Each namespace gets its own Logger. Arguments 
are key-value pairs, which will be printed as with 'pr'. The special 
key :exception should have a java.lang.Throwable as its value, and 
will be passed separately to the underlying logging API. 
One can override the logger via JVM or ENVAR settings." 
(:require clojure.string) 
(:import (org.slf4j Logger 
LoggerFactory 
MDC) 
(org.slf4j.spi MDCAdapter) 
(com.codahale.metrics MetricRegistry 
Gauge Counter Histogram Meter 
Slf4jReporter) 
(com.codahale.metrics.jmx JmxReporter) 
(io.opentracing Scope 
Span 
SpanContext 
Tracer 
Tracer$SpanBuilder) 
(io.opentracing.log.Fields) 
(io.opentracing.util GlobalTracer) 
(java.util Map) 
(java.util.concurrent TimeUnit) 
(clojure.lang IFn)))



Error msg 

Syntax error macroexpanding clojure.core/ns at (io/pedestal/log.clj:13:1). 
Cause: Call to clojure.core/ns did not conform to spec.
() - failed: Insufficient input at: [:ns-clauses :import :classes 
:package-list :classes] spec: :clojure.core.specs.alpha/package-list
(io.opentracing.log.Fields) - failed: simple-symbol? at: [:ns-clauses 
:import :classes :class] spec: :clojure.core.specs.alpha/ns-import
:import - failed: #{:refer-clojure} at: [:ns-clauses :refer-clojure 
:clause] spec: :clojure.core.specs.alpha/ns-refer-clojure
:import - failed: #{:require} at: [:ns-clauses :require :clause] spec: 
:clojure.core.specs.alpha/ns-require
:import - failed: #{:use} at: [:ns-clauses :use :clause] spec: 
:clojure.core.specs.alpha/ns-use
:import - failed: #{:refer} at: [:ns-clauses :refer :clause] spec: 
:clojure.core.specs.alpha/ns-refer
:import - failed: #{:load} at: [:ns-clauses :load :clause] spec: 
:clojure.core.specs.alpha/ns-load
:import - failed: #{:gen-class} at: [:ns-clauses :gen-class :clause] spec: 
:clojure.core.specs.alpha/ns-gen-class



Br,
Mamun



On Wednesday, September 5, 2018 at 2:39:36 PM UTC+2, stuart@gmail.com 
wrote:
>
> deps.edn dependency:
>
>   org.clojure/clojure {:mvn/version "1.10.0-alpha7"}
>
> 1.10.0-alpha7 includes the following changes since 1.10.0-alpha6:
>
>- Update deps to latest spec.alpha (0.2.176) and core.specs.alpha 
>(0.2.44)
>- CLJ-2373  - categorize 
>and overhaul printing of exception messages at REPL
>- CLJ-1279  - report 
>correct arity count for function arity errors inside macros
>- CLJ-2386  - omit 
>ex-info construction stack frames
>- CLJ-2394  - warn in 
>pst that stack trace for syntax error failed before execution
>- CLJ-2396  - omit :in 
>clauses when printing spec function errors if using default explain printer
>
>

-- 
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: [ANN] Clojure 1.10.0-alpha7

2018-09-07 Thread Alex Miller
Hi Mamun, this was already broken but the spec on ns import clauses was 
tightened to be able to discover it.

In particular, this:
  (io.opentracing.log.Fields)  
is invalid - it should be:
  (io.opentracing.log Fields)

That was silently doing nothing before (it was not being imported) but now 
is erroring.

I'll try to poke the right people to get pedestal updated.



On Friday, September 7, 2018 at 1:59:45 AM UTC-5, Mamun wrote:
>
> After update to version "1.10.0-alpha7", I found pedestal/log is broken 
>
> pedestal version 0.5.4. 
>
> Here is details info in bellow 
>
> (ns io.pedestal.log 
> "Logging via slf4j. Each logging level is a macro: trace, debug, 
> info, warn, and error. Each namespace gets its own Logger. Arguments 
> are key-value pairs, which will be printed as with 'pr'. The special 
> key :exception should have a java.lang.Throwable as its value, and 
> will be passed separately to the underlying logging API. 
> One can override the logger via JVM or ENVAR settings." 
> (:require clojure.string) 
> (:import (org.slf4j Logger 
> LoggerFactory 
> MDC) 
> (org.slf4j.spi MDCAdapter) 
> (com.codahale.metrics MetricRegistry 
> Gauge Counter Histogram Meter 
> Slf4jReporter) 
> (com.codahale.metrics.jmx JmxReporter) 
> (io.opentracing Scope 
> Span 
> SpanContext 
> Tracer 
> Tracer$SpanBuilder) 
> (io.opentracing.log.Fields) 
> (io.opentracing.util GlobalTracer) 
> (java.util Map) 
> (java.util.concurrent TimeUnit) 
> (clojure.lang IFn)))
>
>
>
> Error msg 
>
> Syntax error macroexpanding clojure.core/ns at (io/pedestal/log.clj:13:1). 
> Cause: Call to clojure.core/ns did not conform to spec.
> () - failed: Insufficient input at: [:ns-clauses :import :classes 
> :package-list :classes] spec: :clojure.core.specs.alpha/package-list
> (io.opentracing.log.Fields) - failed: simple-symbol? at: [:ns-clauses 
> :import :classes :class] spec: :clojure.core.specs.alpha/ns-import
> :import - failed: #{:refer-clojure} at: [:ns-clauses :refer-clojure 
> :clause] spec: :clojure.core.specs.alpha/ns-refer-clojure
> :import - failed: #{:require} at: [:ns-clauses :require :clause] spec: 
> :clojure.core.specs.alpha/ns-require
> :import - failed: #{:use} at: [:ns-clauses :use :clause] spec: 
> :clojure.core.specs.alpha/ns-use
> :import - failed: #{:refer} at: [:ns-clauses :refer :clause] spec: 
> :clojure.core.specs.alpha/ns-refer
> :import - failed: #{:load} at: [:ns-clauses :load :clause] spec: 
> :clojure.core.specs.alpha/ns-load
> :import - failed: #{:gen-class} at: [:ns-clauses :gen-class :clause] spec: 
> :clojure.core.specs.alpha/ns-gen-class
>
>
>
> Br,
> Mamun
>
>
>
> On Wednesday, September 5, 2018 at 2:39:36 PM UTC+2, stuart@gmail.com 
> wrote:
>>
>> deps.edn dependency:
>>
>>   org.clojure/clojure {:mvn/version "1.10.0-alpha7"}
>>
>> 1.10.0-alpha7 includes the following changes since 1.10.0-alpha6:
>>
>>- Update deps to latest spec.alpha (0.2.176) and core.specs.alpha 
>>(0.2.44)
>>- CLJ-2373  - 
>>categorize and overhaul printing of exception messages at REPL
>>- CLJ-1279  - report 
>>correct arity count for function arity errors inside macros
>>- CLJ-2386  - omit 
>>ex-info construction stack frames
>>- CLJ-2394  - warn in 
>>pst that stack trace for syntax error failed before execution
>>- CLJ-2396  - omit :in 
>>clauses when printing spec function errors if using default explain 
>> printer
>>
>>

-- 
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: [ANN] Clojure 1.10.0-alpha7

2018-09-07 Thread Alex Miller
PR'ed here:
https://github.com/pedestal/pedestal/pull/591

For now, you could peg to the prior version of org.clojure/core.specs.alpha 
dep, version 0.2.36, to avoid this.



On Friday, September 7, 2018 at 8:34:03 AM UTC-5, Alex Miller wrote:
>
> Hi Mamun, this was already broken but the spec on ns import clauses was 
> tightened to be able to discover it.
>
> In particular, this:
>   (io.opentracing.log.Fields)  
> is invalid - it should be:
>   (io.opentracing.log Fields)
>
> That was silently doing nothing before (it was not being imported) but now 
> is erroring.
>
> I'll try to poke the right people to get pedestal updated.
>
>
>
> On Friday, September 7, 2018 at 1:59:45 AM UTC-5, Mamun wrote:
>>
>> After update to version "1.10.0-alpha7", I found pedestal/log is broken 
>>
>> pedestal version 0.5.4. 
>>
>> Here is details info in bellow 
>>
>> (ns io.pedestal.log 
>> "Logging via slf4j. Each logging level is a macro: trace, debug, 
>> info, warn, and error. Each namespace gets its own Logger. Arguments 
>> are key-value pairs, which will be printed as with 'pr'. The special 
>> key :exception should have a java.lang.Throwable as its value, and 
>> will be passed separately to the underlying logging API. 
>> One can override the logger via JVM or ENVAR settings." 
>> (:require clojure.string) 
>> (:import (org.slf4j Logger 
>> LoggerFactory 
>> MDC) 
>> (org.slf4j.spi MDCAdapter) 
>> (com.codahale.metrics MetricRegistry 
>> Gauge Counter Histogram Meter 
>> Slf4jReporter) 
>> (com.codahale.metrics.jmx JmxReporter) 
>> (io.opentracing Scope 
>> Span 
>> SpanContext 
>> Tracer 
>> Tracer$SpanBuilder) 
>> (io.opentracing.log.Fields) 
>> (io.opentracing.util GlobalTracer) 
>> (java.util Map) 
>> (java.util.concurrent TimeUnit) 
>> (clojure.lang IFn)))
>>
>>
>>
>> Error msg 
>>
>> Syntax error macroexpanding clojure.core/ns at 
>> (io/pedestal/log.clj:13:1). Cause: Call to clojure.core/ns did not conform 
>> to spec.
>> () - failed: Insufficient input at: [:ns-clauses :import :classes 
>> :package-list :classes] spec: :clojure.core.specs.alpha/package-list
>> (io.opentracing.log.Fields) - failed: simple-symbol? at: [:ns-clauses 
>> :import :classes :class] spec: :clojure.core.specs.alpha/ns-import
>> :import - failed: #{:refer-clojure} at: [:ns-clauses :refer-clojure 
>> :clause] spec: :clojure.core.specs.alpha/ns-refer-clojure
>> :import - failed: #{:require} at: [:ns-clauses :require :clause] spec: 
>> :clojure.core.specs.alpha/ns-require
>> :import - failed: #{:use} at: [:ns-clauses :use :clause] spec: 
>> :clojure.core.specs.alpha/ns-use
>> :import - failed: #{:refer} at: [:ns-clauses :refer :clause] spec: 
>> :clojure.core.specs.alpha/ns-refer
>> :import - failed: #{:load} at: [:ns-clauses :load :clause] spec: 
>> :clojure.core.specs.alpha/ns-load
>> :import - failed: #{:gen-class} at: [:ns-clauses :gen-class :clause] 
>> spec: :clojure.core.specs.alpha/ns-gen-class
>>
>>
>>
>> Br,
>> Mamun
>>
>>
>>
>> On Wednesday, September 5, 2018 at 2:39:36 PM UTC+2, stuart@gmail.com 
>> wrote:
>>>
>>> deps.edn dependency:
>>>
>>>   org.clojure/clojure {:mvn/version "1.10.0-alpha7"}
>>>
>>> 1.10.0-alpha7 includes the following changes since 1.10.0-alpha6:
>>>
>>>- Update deps to latest spec.alpha (0.2.176) and core.specs.alpha 
>>>(0.2.44)
>>>- CLJ-2373  - 
>>>categorize and overhaul printing of exception messages at REPL
>>>- CLJ-1279  - report 
>>>correct arity count for function arity errors inside macros
>>>- CLJ-2386  - omit 
>>>ex-info construction stack frames
>>>- CLJ-2394  - warn in 
>>>pst that stack trace for syntax error failed before execution
>>>- CLJ-2396  - omit :in 
>>>clauses when printing spec function errors if using default explain 
>>> printer
>>>
>>>

-- 
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: Just shoot me...: [ANN] Clojure 1.10.0-alpha5

2018-09-07 Thread Alex Miller
Good to know. :)

On Thursday, September 6, 2018 at 11:18:32 PM UTC-5, Sean Corfield wrote:
>
> Having posted about our success with testing Alpha 7, I need to ‘fess up 
> about the end result of all this palaver from July:
>
>  
>
> With a bit of instrumentation in our build pipeline it turned out that we 
> were thrashing on heap space in a few places and, for whatever reason, that 
> was causing all the ClassNotFoundException problems. Sigh. I bumped the 
> heap size up in the JVM options for Boot and everything ran flawlessly…
>
>  
>
> …the hint that pushed me in this direction was that, even on Clojure 
> 1.9.0, we _*occasionally*_ saw problems loading instant18 (which I’d 
> assumed was a weird edge case in Boot’s async pod setup/refresh)… and that 
> started cropping up more often, and then we started seeing the same CFNE 
> problems with 1.9.0 and that WebDriver test when run in a long Boot 
> pipeline…
>
>  
>
> …so clearly the issue WASN’T the new Alpha build: that just happened to 
> push us nearer the heap/GC issue.
>
>  
>
> Sean Corfield -- (970) FOR-SEAN -- (904) 302-SEAN
> An Architect's View -- http://corfield.org/
>
>

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