[IronPython] .NET build used for IronPython

Dan V. dan.v at ieee.org
Wed Jun 15 04:53:01 CEST 2005


Hi.

I'm not sure if you can help me with this because I don't think it's an 
IronPython exclusive problem, but it is the only thing that comes up 
broken.  I am running VS2005 build 8.0.50110.28 with .NET build 
2.0.50110.  Last night I tried upgrading to .NET build 2.0.50215, 
downloaded from the MSDN pages, by uninstalling the old one before 
installing the new package.  Once I did this my VS2005 would crash when 
I opened a project, so I reverted to 2.0.50110 and rebuilt everything.

Now any time I try to run an IronPython console I get the trace given 
below.  The only thing I haven't tried yet is a complete reinstall of 
VS.  Any ideas?

Unhandled Exception: System.TypeInitializationException: The type 
initializer fo
r 'IronPython.AST.SnippetMaker' threw an exception. ---> 
System.IO.FileLoadExcep
tion: A procedure imported by 'ISymWrapper, Version=2.0.0.0, 
Culture=neutral, Pu
blicKeyToken=b03f5f7f11d50a3a' could not be loaded.
File name: 'ISymWrapper, Version=2.0.0.0, Culture=neutral, 
PublicKeyToken=b03f5f
7f11d50a3a' ---> System.Runtime.InteropServices.COMException 
(0x8007007F): The s
pecified procedure could not be found. (Exception from HRESULT: 0x8007007F)
   at System.Reflection.Assembly.nLoad(AssemblyName fileName, String 
codeBase, E
vidence assemblySecurity, Assembly locationHint, StackCrawlMark& 
stackMark, Bool
ean throwOnFileNotFound, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, 
Evidence
 assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.InternalLoad(String assemblyString, 
Evidence as
semblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
   at System.Reflection.Assembly.Load(String assemblyString)
   at System.Reflection.Emit.AssemblyBuilder.LoadISymWrapper()
   at 
System.Reflection.Emit.AssemblyBuilder.DefineDynamicModuleInternalNoLock(S
tring name, String fileName, Boolean emitSymbolInfo, StackCrawlMark& 
stackMark)
   at 
System.Reflection.Emit.AssemblyBuilder.DefineDynamicModuleInternal(String
name, String fileName, Boolean emitSymbolInfo, StackCrawlMark& stackMark)
   at System.Reflection.Emit.AssemblyBuilder.DefineDynamicModule(String 
name, St
ring fileName, Boolean emitSymbolInfo)
   at IronPython.AST.AssemblyGen..ctor(String sourceFileName, String 
moduleName,
 String outDir, String outFile) in 
C:\code\IronPython-0.7.6\IronPython\AST\Assem
blyGen.cs:line 84
   at IronPython.AST.AssemblyGen..ctor(String source, String module, 
String outp
ut) in C:\code\IronPython-0.7.6\IronPython\AST\AssemblyGen.cs:line 40
   at IronPython.AST.SnippetMaker..cctor() in 
C:\code\IronPython-0.7.6\IronPytho
n\AST\SnippetMaker.cs:line 27


   --- End of inner exception stack trace ---
   at IronPython.Hosting.PythonEngine..ctor() in 
C:\code\IronPython-0.7.6\IronPy
thon\Hosting\PythonEngine.cs:line 59
   at IronPython.Hosting.PythonEngine..ctor(ArrayList args) in 
C:\code\IronPytho
n-0.7.6\IronPython\Hosting\PythonEngine.cs:line 70
   at IronPythonConsole.PythonCommandLine.Main(String[] rawArgs) in 
C:\code\Iron
Python-0.7.6\IronPythonConsole\PythonCommandLine.cs:line 34


Cheers,

Dan.



More information about the Ironpython-users mailing list