--
You received this message because you are subscribed to the Google Groups "clojure-clr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure-clr...@googlegroups.com.
To post to this group, send email to cloju...@googlegroups.com.
Visit this group at https://groups.google.com/group/clojure-clr.
For more options, visit https://groups.google.com/d/optout.
Hi David,
I’m running Windows 10 (with all updates). Yes, it’s the sourceforge Version. I simply followed the tutorial on the homepage.
The strange thing is, everything is doing fine in the installation folder of Clojure but in a project folder the loadpath Information is not used.
Thanks
Benno
Gesendet von Mail für Windows 10
To unsubscribe from this group and stop receiving emails from it, send an email to clojure-clr+unsubscribe@googlegroups.com.
Hi,
the Problem is solved but there is a new Problem involving Environment variables.
Compiling cljtest.core to X:\Documents\GitHub\CljTest\build;System.ArgumentException: Ungültiges Verzeichnis "X:\ Documents \GitHub\CljTest\build;".
bei System.Reflection.Emit.AssemblyBuilder.SaveNoLock(String assemblyFileName, PortableExecutableKinds portableExecutableKind, ImageFileMachine imageFileMachine)
bei System.Reflection.Emit.AssemblyBuilder.Save(String assemblyFileName, PortableExecutableKinds portableExecutableKind, ImageFileMachine imageFileMachine)
bei clojure.lang.CljCompiler.Ast.GenContext.SaveAssembly() in d:\work\clojure-clr\Clojure\Clojure\CljCompiler\Ast\GenContext.cs:Zeile 213.
bei clojure.lang.GenClass.GenerateClass(String className, Type superclass, ISeq interfaces, ISeq ctors, ISeq ctorTypes, ISeq methods, IPersistentMap exposesFields, IPersistentMap exposesMethods, String prefix, Boolean hasMain, String factoryName, String stateName, String initName, String postInitName, String implCname, String implNamespace, Boolean loadImplNamespace, IPersistentMap attributes) in d:\work\clojure-clr\Clojure\Clojure\CljCompiler\GenClass.cs:Zeile 144.
bei clojure/core$generate_class__9057.invokeStatic(Object )
bei clojure/core$gen_class__9063.invokeStatic(Object , Object , ISeq )
bei clojure.lang.Compiler.MacroexpandSeq1(ISeq form) in d:\work\clojure-clr\Clojure\Clojure\CljCompiler\Compiler.cs:Zeile 1168.
bei clojure.lang.Compiler.AnalyzeSeq(ParserContext pcon, ISeq form, String name) in d:\work\clojure-clr\Clojure\Clojure\CljCompiler\Compiler.cs:Zeile 2025., compiling: (cljtest/core.clj:1:2)
Now the compile path is not found.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure-clr...@googlegroups.com.
To post to this group, send email to cloju...@googlegroups.com.
Visit this group at https://groups.google.com/group/clojure-clr.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "clojure-clr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure-clr...@googlegroups.com.
*** Assembly Binder Log Entry (1/5/2019 @ 12:20:12 AM) *** The operation failed. Bind result: hr = 0x80070002. The system cannot find the file specified. Assembly manager loaded from: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll Running under executable C:\Users\larry.jones\professional\software\languages\clojure-clr\clojure-clr-1.9.0\Release 4.0\Clojure.Main.exe --- A detailed error log follows. === Pre-bind state information === LOG: Where-ref bind. Location = C:\Users\larry.jones\professional\projects\scratch-clojure-clr\clojure.spec.alpha.dll LOG: Appbase = file:///C:/Users/larry.jones/professional/software/languages/clojure-clr/clojure-clr-1.9.0/Release 4.0/ LOG: Initial PrivatePath = NULL LOG: Dynamic Base = NULL LOG: Cache Base = NULL LOG: AppName = Clojure.Main.exe Calling assembly : (Unknown). === LOG: This bind starts in LoadFrom load context. WRN: Native image will not be probed in LoadFrom context. Native image will only be probed in default load context, like with Assembly.Load(). LOG: No application configuration file found. LOG: Using host configuration file: LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config. LOG: Attempting download of new URL file:///C:/Users/larry.jones/professional/projects/scratch-clojure-clr/clojure.spec.alpha.dll. LOG: All probing URLs attempted and failed.
And the output trying to load this assembly from IronPython is similar:
larry.jones@JONES-E5570 ~/professional/software/languages/clojure-clr/clojure-clr-1.9.0/Release-4.0 λ ipy IronPython 2.7.7 (2.7.7.0) on .NET 4.0.30319.42000 (64-bit) Type "help", "copyright", "credits" or "license" for more information. >>> import clr >>> clr.AddReferenceToFile("clojure.spec.alpha.dll") Traceback (most recent call last): File "<stdin>", line 1, in <module> IOError: System.IO.IOException: Could not add reference to assembly clojure.spec.alpha.dll at IronPython.Runtime.ClrModule.AddReferenceToFile(CodeContext context, String file) at IronPython.Runtime.ClrModule.AddReferenceToFile(CodeContext context, String[] files) at Microsoft.Scripting.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.LightLambda.Run4[T0,T1,T2,T3,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3) at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2) at Microsoft.Scripting.Interpreter.FuncCallInstruction`6.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.LightLambda.Run4[T0,T1,T2,T3,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3) at IronPython.Compiler.Ast.CallExpression.Invoke1Instruction.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1) at IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx) at IronPython.Hosting.PythonCommandLine.<>c__DisplayClass27_0.<RunOneInteraction>b__0()
I would appreciate any help. I suspect I can workaround the issue by copying the contents of `Release-4.0`
into the directory I want to work on, but I think that a better solution must exist. Thanks.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure-clr...@googlegroups.com.
Running the tree command on my local folder I get: Walking the Clojure CLR it needs the Clojure.core.specs.alpha.dll & clojure.specs.alpha.dll in the running directory. Let me know if this works for you.
tree:
│ clojure.core.specs.alpha.dll
│ clojure.spec.alpha.dll
│ env.bat
│ env.sh
│ README.md
│
├───build
│ Clojure.Compile.exe
│ Clojure.Compile.pdb
│ clojure.core.specs.alpha.dll
│ Clojure.dll
│ Clojure.Main.exe
│ Clojure.Main.exe.config
│ Clojure.Main.pdb
│ Clojure.pdb
│ Clojure.Source.dll
│ Clojure.Source.pdb
│ clojure.spec.alpha.dll
│ Microsoft.Dynamic.dll
│ Microsoft.Scripting.dll
│ Microsoft.Scripting.Metadata.dll
│
├───Clojure.1.9.0
│ │ Clojure.Compile.exe
│ │ Clojure.Compile.pdb
│ │ clojure.core.specs.alpha.dll
│ │ Clojure.dll
│ │ Clojure.Main.exe
│ │ Clojure.Main.exe.config
│ │ Clojure.Main.pdb
│ │ Clojure.pdb
│ │ Clojure.Source.dll
│ │ Clojure.Source.pdb
│ │ clojure.spec.alpha.dll
│ │ Microsoft.Dynamic.dll
│ │ Microsoft.Dynamic.xml
│ │ Microsoft.Scripting.dll
│ │ Microsoft.Scripting.Metadata.dll
│ │
│ └───clojure
│ │ ants.clj
│ │ core.clj
│ │ core_clr.clj
│ │ core_deftype.clj
│ │ core_print.clj
│ │ core_proxy.clj
│ │ data.clj
│ │ dm-test.clj
│ │ edn.clj
│ │ genclass.clj
│ │ gvec.clj
│ │ instant.clj
│ │ main.clj
│ │ pprint.clj
│ │ reflect.clj
│ │ repl.clj
│ │ set.clj
│ │ stacktrace.clj
│ │ string.clj
│ │ template.clj
│ │ test.clj
│ │ uuid.clj
│ │ walk.clj
│ │ zip.clj
│ │
│ ├───clr
│ │ io.clj
│ │ shell.clj
│ │
│ ├───core
│ │ protocols.clj
│ │ reducers.clj
│ │ server.clj
│ │
│ ├───pprint
│ │ cl_format.clj
│ │ column_writer.clj
│ │ dispatch.clj
│ │ pprint_base.clj
│ │ pretty_writer.clj
│ │ print_table.clj
│ │ utilities.clj
│ │
│ ├───reflect
│ │ clr.clj
│ │
│ ├───samples
│ │ │ ants.clj
│ │ │ await-test.clj
│ │ │ celsius.clj
│ │ │ counter.clj
│ │ │
│ │ ├───attributes
│ │ │ testattribute.clj
│ │ │
│ │ ├───deftype
│ │ │ testdeftype.clj
│ │ │ testprotocol.clj
│ │ │
│ │ ├───genclass
│ │ │ testgenclass.clj
│ │ │ testgenclass2.clj
│ │ │ testgenclass3.clj
│ │ │ testmvc.clj
│ │ │
│ │ ├───interop
│ │ │ testinterop.clj
│ │ │
│ │ ├───proxy
│ │ │ testproxy.clj
│ │ │
│ │ └───stm
│ │ teststm.clj
│ │
│ └───test
│ junit.clj
│ tap.clj
├───src
├───tests
--Devin
To unsubscribe from this group and stop receiving emails from it, send an email to clojure-clr+unsubscribe@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "clojure-clr" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clojure-clr/_igHpVPOstc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clojure-clr...@googlegroups.com.