jonromero / music-as-data

A Live Programming language for music
mad.emotionull.com
BSD 2-Clause "Simplified" License
346 stars 22 forks source link

filenotfoundexception #3

Closed trichome closed 13 years ago

trichome commented 13 years ago

As the readme instructs, I try to run "lein compile core.clj" (core.clj being in the src/music_as_data/ directory) but I get:

Exception in thread "main" java.io.FileNotFoundException: Could not locate core/clj__init.class or core/clj.clj on classpath: (NO_SOURCE_FILE:1) and more lines (it says 12 more but doesn't list them)

I'd really like to get this running. I love repl programming and I love music so this could get crazy.

jonromero commented 13 years ago

Go inside emacs, run slime-connect, go to the core namespace, select everything and press CTRL+C, CTRL+R to compile the selection. after that, you are ready to get crazy!

denisshepelin commented 13 years ago

I got "No message. [Thrown class java.lang.ExceptionInInitializerError]" I've installed ddf.ddf.Minim extension through modifying project.clj too.
Backtrace: 0: music_as_data.elementsinit.load(Unknown Source) 1: music_as_data.elementsinit.(Unknown Source) 2: java.lang.Class.forName0(Native Method) 3: java.lang.Class.forName(Class.java:247) 4: clojure.lang.RT.loadClassForName(RT.java:1578) 5: clojure.lang.RT.load(RT.java:399) 6: clojure.lang.RT.load(RT.java:381) 7: clojure.core$load$fn4511.invoke(core.clj:4905) 8: clojure.core$load.doInvoke(core.clj:4904) 9: clojure.lang.RestFn.invoke(RestFn.java:409) 10: clojure.core$load_one.invoke(core.clj:4729) "[No Locals]" 11: clojure.core$load_lib.doInvoke(core.clj:4766) 12: clojure.lang.RestFn.applyTo(RestFn.java:143) 13: clojure.core$apply.invoke(core.clj:542) 14: clojure.core$load_libs.doInvoke(core.clj:4800) 15: clojure.lang.RestFn.applyTo(RestFn.java:138) 16: clojure.core$apply.invoke(core.clj:544) 17: clojure.core$use.doInvoke(core.clj:4880) 18: clojure.lang.RestFn.invoke(RestFn.java:513) 19: music_as_data.core$eval1491$loading4410auto__1492.invoke(NO_SOURCE_FILE:1) 20: music_as_data.core$eval1491.invoke(NO_SOURCE_FILE:1) 21: clojure.lang.Compiler.eval(Compiler.java:5424) 22: clojure.lang.Compiler.eval(Compiler.java:5415) 23: clojure.lang.Compiler.eval(Compiler.java:5391) 24: clojure.core$eval.invoke(core.clj:2382) 25: swank.commands.basic$eval_region.invoke(basic.clj:47) 26: swank.commands.basic$eval_region.invoke(basic.clj:37) 27: swank.commands.basic$eval716$interactive_eval_region717.invoke(basic.clj:62) 28: clojure.lang.Var.invoke(Var.java:365) 29: user$eval1487.invoke(NO_SOURCE_FILE) 30: clojure.lang.Compiler.eval(Compiler.java:5424) 31: clojure.lang.Compiler.eval(Compiler.java:5391) 32: clojure.core$eval.invoke(core.clj:2382) 33: swank.core$eval_in_emacs_package.invoke(core.clj:94) 34: swank.core$eval_for_emacs.invoke(core.clj:241) 35: clojure.lang.Var.invoke(Var.java:373) 36: clojure.lang.AFn.applyToHelper(AFn.java:169) 37: clojure.lang.Var.applyTo(Var.java:482) 38: clojure.core$apply.invoke(core.clj:540) 39: swank.core$eval_from_control.invoke(core.clj:101) 40: swank.core$spawn_worker_thread$fn455$fn456.invoke(core.clj:300) 41: clojure.lang.AFn.applyToHelper(AFn.java:159) 42: clojure.lang.AFn.applyTo(AFn.java:151) 43: clojure.core$apply.invoke(core.clj:540) 44: swank.core$spawn_worker_thread$fn455.doInvoke(core.clj:296) 45: clojure.lang.RestFn.invoke(RestFn.java:398) 46: clojure.lang.AFn.run(AFn.java:24) 47: java.lang.Thread.run(Thread.java:662)

jonromero commented 13 years ago

Make sure you have minim beta version installed

denisshepelin commented 13 years ago

I use ddf.minim-2.1.0.jar from org.clojars.automata/ddf.minim. It looks like it is beta version

jonromero commented 13 years ago

Try pulling the latest version and running a lein deps. I've fixed the project.clj (hopefully!)

jonromero commented 13 years ago

If it's not working, please open an issue. Thanks for your time!