Hello Dino: I send you the results running from my DOS WinXP SP2 console: .ipy -X:ExceptionDetail IronPython 1.1 (1.1) on .NET 2.0.50727.1433 Copyright (c) Microsoft Corporation. All rights reserved. ['c:\\os\\ipy\\src', 'c:\\os\\ipy\\lib', 'c:\\python25\\lib', 'c:\\os\ \IPY', 'c:\\os\\IPY\\Tutorial', 'C:\\os\\ic_ora\\ tantclient_11_1\\odp.net\\bin\\2.x', 'C:\\os\\SQLite\\bin', 'c:\\os\ \ipy\\django_src', 'c:\\os\\ipy\\django_src\\django in', 'c:\\os\\IPY\\IronPython-1.1\\Lib', 'c:\\os\\IPY\ \IronPython-1.1', 'c:/os/ipy/django_src'] >>> import sys >>> import clr >>> import System >>> clr.AddReference("Oracle.DataAccess") >>> import Oracle.DataAccess.Client Object reference not set to an instance of an object. at IronPython.Runtime.Importer.LoadPreCompiled(SystemState state, String fullName, String fileName) at IronPython.Runtime.Importer.TryLoadModule(SystemState state, String fullName, String pathName, PythonModule& ret) at IronPython.Runtime.Importer.ImportFromPath(SystemState state, String name, String fullName, List path) at IronPython.Runtime.Importer.ImportTopAbsolute(PythonModule mod, String name) at IronPython.Runtime.Importer.ImportModule(ICallerContext context, String modName, Boolean bottom) at IronPython.Modules.Builtin.__import__(ICallerContext context, String name, Object globals, Object locals, Object mList) at __import__##4(ICallerContext , Object , Object , Object , Object ) at IronPython.Runtime.Calls.FastCallableWithContextAny.Call(ICallerContext context, Object arg0, Object arg1, Object g2, Object arg3) at IronPython.Runtime.Calls.BuiltinFunction.Call(ICallerContext context, Object arg0, Object arg1, Object arg2, Obje arg3) at IronPython.Runtime.Operations.Ops.CallWithContext(ICallerContext context, Object func, Object arg0, Object arg1, ect arg2, Object arg3) at IronPython.Runtime.Operations.Ops.Import(PythonModule mod, String fullName) at <stdin>##91(ModuleScope ) at IronPython.Hosting.CompiledCode.Run(ModuleScope moduleScope) at IronPython.Hosting.PythonEngine.ExecuteToConsole(String text, EngineModule engineModule, IDictionary`2 locals) at IronPython.Hosting.PythonEngine.ExecuteToConsole(String text) at IronPythonConsole.PythonCommandLine.DoOneInteractive() at IronPythonConsole.PythonCommandLine.<RunInteractiveLoop>b__6(Boolean& continueInteractionArgument) at IronPythonConsole.PythonCommandLine.TryInteractiveAction(InteractiveAction interactiveAction, Boolean& continueIn action) SystemError: Object reference not set to an instance of an object. >>>
Note. I am now testing IronPython Studio and when using and executing the same previous commands I had no errors!!. I show you the results: >>>import sys >>>print sys.version 2.4.0 (IronPython 1.1.1 (1.1.1) on .NET 2.0.50727.1433) >>>import sys >>>import clr >>>import System >>>clr.AddReference("Oracle.DataAccess") >>>import Oracle.DataAccess.Client >>>dir(Oracle.DataAccess.Client) ['FailoverEvent', 'FailoverReturnCode', 'FailoverType', 'OnChangeEventHandler', 'OracleBulkCopy', 'OracleBulkCopyColumnMapping', 'OracleBulkCopyColumnMappingCollection', 'OracleBulkCopyOptions', 'OracleClientFactory', 'OracleCollectionType', 'OracleCommand', 'OracleCommandBuilder', 'OracleConnection', 'OracleConnectionStringBuilder', 'OracleDataAdapter', 'OracleDataReader', 'OracleDataSourceEnumerator', 'OracleDbType', 'OracleDependency', 'OracleError', 'OracleErrorCollection', 'OracleException', 'OracleFailoverEventArgs', 'OracleFailoverEventHandler', 'OracleGlobalization', 'OracleInfoMessageEventArgs', 'OracleInfoMessageEventHandler', 'OracleNotificationEventArgs', 'OracleNotificationInfo', 'OracleNotificationRequest', 'OracleNotificationSource', 'OracleNotificationType', 'OracleParameter', 'OracleParameterCollection', 'OracleParameterStatus', 'OracleRowUpdatedEventArgs', 'OracleRowUpdatedEventHandler', 'OracleRowUpdatingEventArgs', 'OracleRowUpdatingEventHandler', 'OracleRowidInfo', 'OracleRowsCopiedEventArgs', 'OracleRowsCopiedEventHandler', 'OracleTransaction', 'OracleXmlCommandType', 'OracleXmlQueryProperties', 'OracleXmlSaveProperties', '__builtins__', '__dict__', '__name__'] >>> I am a little confused by this. Thanks!! _______________________________________________ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com