asciinema / asciicast2gif

Generate GIF animations from asciicasts (asciinema recordings)
MIT License
1.21k stars 82 forks source link

`No such namespace: asciinema.player.asciicast` #38

Closed mfowlewebs closed 6 years ago

mfowlewebs commented 6 years ago

Hey hey. Trying to build this project. Having an error from lein. On Debian/testing.

$ lein -v
Leiningen 2.8.1 on Java 1.8.0_144 Java HotSpot(TM) 64-Bit Server VM
$ pwd
/home/mfowlewebs/src/asciicast2gif
$ lein cljsbuild once main                             
Compiling ClojureScript...
Compiling ["main.js"] from ["src"]...
Compiling ["main.js"] failed.
clojure.lang.ExceptionInfo: failed compiling file:/home/rektide/projects/archive/asciicast2gif/src/asciinema/gif/main.cljs {:file #object[java.io.File 0x32ea16b7 "/home/rektide/projects/archive/asciicast2gif/src/asciinema/gif/main.cljs"]}
    at clojure.core$ex_info.invokeStatic(core.clj:4739)
    at clojure.core$ex_info.invoke(core.clj:4739)
    at cljs.compiler$compile_file$fn__3702.invoke(compiler.cljc:1562)
    at cljs.compiler$compile_file.invokeStatic(compiler.cljc:1522)
    at cljs.compiler$compile_file.invoke(compiler.cljc:1498)
    at cljs.closure$compile_file.invokeStatic(closure.clj:573)
    at cljs.closure$compile_file.invoke(closure.clj:564)
    at cljs.closure$fn__5124.invokeStatic(closure.clj:653)
    at cljs.closure$fn__5124.invoke(closure.clj:647)
    at cljs.closure$fn__5052$G__5045__5059.invoke(closure.clj:521)
    at cljs.closure$compile_sources$iter__5250__5254$fn__5255.invoke(closure.clj:1011)
    at clojure.lang.LazySeq.sval(LazySeq.java:40)
    at clojure.lang.LazySeq.seq(LazySeq.java:49)
    at clojure.lang.Cons.next(Cons.java:39)
    at clojure.lang.RT.next(RT.java:706)
    at clojure.core$next__5108.invokeStatic(core.clj:64)
    at clojure.core$dorun.invokeStatic(core.clj:3134)
    at clojure.core$doall.invokeStatic(core.clj:3140)
    at clojure.core$doall.invoke(core.clj:3140)
    at cljs.closure$compile_sources.invokeStatic(closure.clj:1007)
    at cljs.closure$compile_sources.invoke(closure.clj:996)
    at cljs.closure$build.invokeStatic(closure.clj:2817)
    at cljs.closure$build.invoke(closure.clj:2718)
    at cljs.build.api$build.invokeStatic(api.clj:208)
    at cljs.build.api$build.invoke(api.clj:189)
    at cljs.build.api$build.invokeStatic(api.clj:195)
    at cljs.build.api$build.invoke(api.clj:189)
    at cljsbuild.compiler$compile_cljs$fn__718.invoke(compiler.clj:61)
    at cljsbuild.compiler$compile_cljs.invokeStatic(compiler.clj:60)
    at cljsbuild.compiler$compile_cljs.invoke(compiler.clj:48)
    at cljsbuild.compiler$run_compiler.invokeStatic(compiler.clj:168)
    at cljsbuild.compiler$run_compiler.invoke(compiler.clj:129)
    at user$eval847$iter__895__899$fn__900$fn__926.invoke(form-init8977336585284452904.clj:1)
    at user$eval847$iter__895__899$fn__900.invoke(form-init8977336585284452904.clj:1)
    at clojure.lang.LazySeq.sval(LazySeq.java:40)
    at clojure.lang.LazySeq.seq(LazySeq.java:49)
    at clojure.lang.RT.seq(RT.java:528)
    at clojure.core$seq__5124.invokeStatic(core.clj:137)
    at clojure.core$dorun.invokeStatic(core.clj:3125)
    at clojure.core$doall.invokeStatic(core.clj:3140)
    at clojure.core$doall.invoke(core.clj:3140)
    at user$eval847.invokeStatic(form-init8977336585284452904.clj:1)
    at user$eval847.invoke(form-init8977336585284452904.clj:1)
    at clojure.lang.Compiler.eval(Compiler.java:7062)
    at clojure.lang.Compiler.eval(Compiler.java:7052)
    at clojure.lang.Compiler.load(Compiler.java:7514)
    at clojure.lang.Compiler.loadFile(Compiler.java:7452)
    at clojure.main$load_script.invokeStatic(main.clj:278)
    at clojure.main$init_opt.invokeStatic(main.clj:280)
    at clojure.main$init_opt.invoke(main.clj:280)
    at clojure.main$initialize.invokeStatic(main.clj:311)
    at clojure.main$null_opt.invokeStatic(main.clj:345)
    at clojure.main$null_opt.invoke(main.clj:342)
    at clojure.main$main.invokeStatic(main.clj:424)
    at clojure.main$main.doInvoke(main.clj:387)
    at clojure.lang.RestFn.applyTo(RestFn.java:137)
    at clojure.lang.Var.applyTo(Var.java:702)
    at clojure.main.main(main.java:37)
Caused by: clojure.lang.ExceptionInfo: No such namespace: asciinema.player.asciicast, could not locate asciinema/player/asciicast.cljs, asciinema/player/asciicast.cljc, or JavaScript source providing "asciinema.player.asciicast" in file /home/rektide/projects/archive/asciicast2gif/src/asciinema/gif/main.cljs {:tag :cljs/analysis-error}
    at clojure.core$ex_info.invokeStatic(core.clj:4739)
    at clojure.core$ex_info.invoke(core.clj:4739)
    at cljs.analyzer$error.invokeStatic(analyzer.cljc:697)
    at cljs.analyzer$error.invoke(analyzer.cljc:693)
    at cljs.analyzer$error.invokeStatic(analyzer.cljc:695)
    at cljs.analyzer$error.invoke(analyzer.cljc:693)
    at cljs.analyzer$analyze_deps.invokeStatic(analyzer.cljc:2129)
    at cljs.analyzer$analyze_deps.invoke(analyzer.cljc:2103)
    at cljs.analyzer$ns_side_effects.invokeStatic(analyzer.cljc:3476)
    at cljs.analyzer$ns_side_effects.invoke(analyzer.cljc:3471)
    at cljs.analyzer$analyze_STAR_$fn__2510.invoke(analyzer.cljc:3596)
    at clojure.lang.PersistentVector.reduce(PersistentVector.java:341)
    at clojure.core$reduce.invokeStatic(core.clj:6747)
    at clojure.core$reduce.invoke(core.clj:6730)
    at cljs.analyzer$analyze_STAR_.invokeStatic(analyzer.cljc:3596)
    at cljs.analyzer$analyze_STAR_.invoke(analyzer.cljc:3586)
    at cljs.analyzer$analyze.invokeStatic(analyzer.cljc:3616)
    at cljs.analyzer$analyze.invoke(analyzer.cljc:3598)
    at cljs.compiler$emit_source.invokeStatic(compiler.cljc:1386)
    at cljs.compiler$emit_source.invoke(compiler.cljc:1365)
    at cljs.compiler$compile_file_STAR_$fn__3672.invoke(compiler.cljc:1467)
    at cljs.compiler$with_core_cljs.invokeStatic(compiler.cljc:1285)
    at cljs.compiler$with_core_cljs.invoke(compiler.cljc:1274)
    at cljs.compiler$compile_file_STAR_.invokeStatic(compiler.cljc:1451)
    at cljs.compiler$compile_file_STAR_.invoke(compiler.cljc:1444)
    at cljs.compiler$compile_file$fn__3702.invoke(compiler.cljc:1547)
    ... 55 more
Subprocess failed
ku1ik commented 6 years ago

Have you cloned with --recursive flag as shown here https://github.com/asciinema/asciicast2gif#building-from-source ? There are some git submodules in this repo which need to be initialized.