[IronPython] Beta3: System.StackOverflowException
Martin Maly
Martin.Maly at microsoft.com
Sat Feb 18 17:14:20 CET 2006
This is an unfortunate bug in our code. See attached for more information.
Martin
-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Anthony Tarlano
Sent: Saturday, February 18, 2006 3:10 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Beta3: System.StackOverflowException
More Info.. The import works fine if instead of clr.AddReference you
use clrAddReferenceByPartialName.. See this output
IronPython 1.0.2237 (Beta) on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import clr
>>> clr.AddReferenceByPartialName("System.Xml")
>>> import System.Xml
>>> dir(System.Xml)
['ConformanceLevel', 'EntityHandling', 'Formatting', 'IHasXmlNode', 'IXmlLineInf
o', 'IXmlNamespaceResolver', 'NameTable', 'NewLineHandling', 'ReadState', 'Schem
a', 'Serialization', 'ValidationType', 'WhitespaceHandling', 'WriteState', 'XPat
h', 'XmlAttribute', 'XmlAttributeCollection', 'XmlCDataSection', 'XmlCharacterDa
ta', 'XmlComment', 'XmlConvert', 'XmlDateTimeSerializationMode', 'XmlDeclaration
', 'XmlDocument', 'XmlDocumentFragment', 'XmlDocumentType', 'XmlElement', 'XmlEn
tity', 'XmlEntityReference', 'XmlException', 'XmlImplementation', 'XmlLinkedNode
', 'XmlNameTable', 'XmlNamedNodeMap', 'XmlNamespaceManager', 'XmlNamespaceScope'
, 'XmlNode', 'XmlNodeChangedAction', 'XmlNodeChangedEventArgs', 'XmlNodeChangedE
ventHandler', 'XmlNodeList', 'XmlNodeOrder', 'XmlNodeReader', 'XmlNodeType', 'Xm
lNotation', 'XmlOutputMethod', 'XmlParserContext', 'XmlProcessingInstruction', '
XmlQualifiedName', 'XmlReader', 'XmlReaderSettings', 'XmlResolver', 'XmlSecureRe
solver', 'XmlSignificantWhitespace', 'XmlSpace', 'XmlText', 'XmlTextReader', 'Xm
lTextWriter', 'XmlTokenizedType', 'XmlUrlResolver', 'XmlValidatingReader', 'XmlW
hitespace', 'XmlWriter', 'XmlWriterSettings', 'Xsl', '__builtins__', '__dict__',
'__name__']
>>>
On 2/18/06, Anthony Tarlano <mailinglist.account at gmail.com> wrote:
> Hi all,
>
> I after installing Beta 3, I tried to add a reference to System.Xml
> and received a System.StackOverflowException, any thoughts?
>
> Anthony
>
> IronPython 1.0.2237 (Beta) on .NET 2.0.50727.42
> Copyright (c) Microsoft Corporation. All rights reserved.
> >>> import clr
> >>> import System
> >>> clr.AddReference("System.Xml")
>
> And the Visual Studio Just-In-Time debugger popped up with the
> exception "An unhandled exception ('<System.StackOverflowException>')
> occurred in IronPythonConsole.exe[488].
>
_______________________________________________
users mailing list
users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Re IronPython IronPython 1 0 Beta 3 Released!.msg
Type: application/octet-stream
Size: 43520 bytes
Desc: Re IronPython IronPython 1 0 Beta 3 Released!.msg
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20060218/9ae8020b/attachment.obj>
More information about the Ironpython-users
mailing list