noir-clojure / lib-noir

A set of libraries for ring apps, including stateful sessions.
Eclipse Public License 1.0
479 stars 47 forks source link

Versions 0.8.3, 0.8.4 of lib-noir showing failure compiling hiccup #105

Closed limist closed 10 years ago

limist commented 10 years ago

Hi - I tried upgrading from lib-noir 0.8.2 to 0.8.3 as well as 0.8.4, and in both cases, after updating the project.clj file, I'm seeing an error message when trying lein repl, that blames hiccup:

(Retrieving lib-noir/lib-noir/0.8.3/lib-noir-0.8.3.pom from clojars)
(Retrieving lib-noir/lib-noir/0.8.3/lib-noir-0.8.3.jar from clojars)
#<CompilerException java.lang.RuntimeException: Unable to resolve symbol: *html-mode* in this context, compiling:(hiccup/compiler.clj:7:3)>

Switching back to lib-noir 0.8.2 gets rid of the error message. My lein deps :tree shows lib-noir is the only library depending on hiccup. Anyone else seeing the same problem?

yogthos commented 10 years ago

I'm not able to reproduce the problem, when I create a new project with lib-noir 0.8.4 it appears to run fine. Have you checked that you're using the latest version of Leiningen?

limist commented 10 years ago

Yep, am using lein 2.4.3. Do you think older Hiccup versions in the local repo might interfere? Thanks!

yogthos commented 10 years ago

That shouldn't be the case since the hiccup version is being specified explicitly. The error sounds like Hiccup is not being loaded at all though.

yogthos commented 10 years ago

@limist are you still experiencing the issue, or can we close this?