[IronPython] [0.7.5] exception on exit

Martin Maly martmaly at exchange.microsoft.com
Thu May 19 06:01:11 CEST 2005


This is because at the end of executin IronPython saves the compiled
code into snippets.dll into current directory (that would be C:\ I
guess) which you may not have access to as non-admin. Do you think that
may be it?

M. 

> -----Original Message-----
> From: users-ironpython.com-bounces at lists.ironpython.com 
> [mailto:users-ironpython.com-bounces at lists.ironpython.com] On 
> Behalf Of Keith J. Farmer
> Sent: Wednesday, May 18, 2005 8:04 PM
> To: Discussion of IronPython
> Subject: [IronPython] [0.7.5] exception on exit
> 
> I installed 0.7.5, and started it up using the following 
> batch file, after setting PATH.  I was running using a 
> non-Admin account.
> 
> FePy.cmd
> --------
> IronPythonConsole.exe %1 %2 %3 %4 %5 %6 %7 %8 %9
> 
> I got an exception trying to exit.  It triggered the 
> send-to-Microsoft dialog, which I did.
> 
> C:\>FePy
> 
> C:\>IronPythonConsole.exe
> IronPython 0.7.5 on .NET 2.0.50215.44
> Copyright (c) Microsoft Corporation. All rights reserved.
> >>> ^Z
> 
> Unhandled Exception: System.IO.IOException: I/O error occurred.
>    at System.Reflection.Module._InternalSavePEFile(String fileName,
> Int32 entryPoint, Int32 isExe, Boolean isManifestFile)
>    at System.Reflection.Module.InternalSavePEFile(String 
> fileName, MethodToken entryPoint, Int32 isExe, Boolean isManifestFile)
>    at System.Reflection.Emit.ModuleBuilder.SaveNoLock(String 
> fileName, Boolean isAssemblyFile, PortableExecutableKinds 
> portableExecutableKind, ImageFileMachine imageFileMachine)
>    at System.Reflection.Emit.ModuleBuilder.Save(String 
> fileName, Boolean isAssemblyFile, PortableExecutableKinds 
> portableExecutableKind, ImageFileMachine imageFileMachine)
>    at System.Reflection.Emit.AssemblyBuilder.SaveNoLock(String
> assemblyFileName, PortableExecutableKinds 
> portableExecutableKind, ImageFileMachine imageFileMachine)
>    at System.Reflection.Emit.AssemblyBuilder.Save(String
> assemblyFileName, PortableExecutableKinds 
> portableExecutableKind, ImageFileMachine imageFileMachine)
>    at IronPython.AST.SnippetMaker.DumpAssembly()
>    at IronPython.Hosting.PythonEngine.DumpDebugInfo()
>    at IronPythonConsole.PythonCommandLine.RunInteractive(PythonEngine
> engine)
>    at IronPythonConsole.PythonCommandLine.Main(String[] rawArgs)
> 
> 
> _______________________________________________
> users-ironpython.com mailing list
> users-ironpython.com at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> 



More information about the Ironpython-users mailing list