Martin,<br>
<br>
Just as a F.Y.I, IP-0.7.5 did fix it the problem, but as you can also see from below IP-0.7.4 with Beta 1 did work before.<br>
<br>
---- IP-0.7.5 with Beta 2<br>
IronPython 0.7.5 on .NET 2.0.50215.44<br>
Copyright (c) Microsoft Corporation. All rights reserved.<br>
>>> import StringIO<br>
>>> dir(StringIO)<br>
['ValueError', 'ImportError', 'RuntimeError', 'basestring', 'isinstance', 'Strin<br>
gIO', 'None', 'False', 'open', 'EINVAL', '__name__', 'str', 'min', 'max', 'len',<br>
'IOError', 'test', 'StopIteration', '__all__', '_', '__builtins__', '__file__']<br>
<br>
>>><br>
<br>
---- IP-0.7.5 with Beta 1<br>
IronPython 0.7.5 on .NET 2.0.40607.42<br>
Copyright (c) Microsoft Corporation. All rights reserved.<br>
>>> import StringIO<br>
System.MissingMethodException: Method not found: 'Boolean System.Collections.Gen<br>
eric.IDictionary`2.TryGetValue(!0, !1 ByRef)'.<br>
at IronPython.Objects.Importer.TryGetExistingModule(String fullName, Object&<br>
ret)<br>
at IronPython.Objects.Importer.Import(PythonModule mod, String fullName, List<br>
from)<br>
at IronPython.Objects.Ops.Import(PythonModule mod, String fullName)<br>
at input_0.Run(Frame frame)<br>
at IronPython.Hosting.PythonEngine.DoOneInteractive(Frame topFrame)<br>
at IronPython.Hosting.PythonEngine.RunInteractive()<br>
>>><br>
<br>
---- IP-0.7.4 with Beta 1<br>
IronPython 0.7.4 on .NET 2.0.40607.42<br>
Copyright (c) Microsoft Corporation. All rights reserved.<br>
>>> import StringIO<br>
>>><br>
<br>
<br>
<br><br><div><span class="gmail_quote">On 5/18/05, <b class="gmail_sendername">Anthony Tarlano</b> <<a href="mailto:mailinglist.account@gmail.com">mailinglist.account@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Martin,<br>
<br>
Yes indeed it is strange since it worked just fine with the previous
build. I will upgrade and let you know if that fixes the problem.<br>
<br>
Thanks,<br><span class="sg">
<br>
Anthony</span><div><span class="e" id="q_103eeac91ff3f698_2"><br><br><div><span class="gmail_quote">On 5/18/05, <b class="gmail_sendername">Martin Maly</b> <<a href="mailto:martmaly@exchange.microsoft.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
martmaly@exchange.microsoft.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2">Strange that someone reported similar thing on GotDotNet
forums. I believe that the cause is an old version of .Net.</font></span></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2">You need .Net 2.0 Beta 2 to run
IronPython:</font></span></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2">IronPython 0.7.5 on .NET <strong><font color="#ff0000">2.0.50215.44</font></strong><span><br>Copyright (c) Microsoft
Corporation. All rights reserved.<br>>>> import
StringIO<br>>>><br></span></font></span></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2">You can get Beta 2 from here:</font></span></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Arial" size="2"><a href="http://www.microsoft.com/downloads/details.aspx?familyid=7ABD8C8F-287E-4C7E-9A4A-A4ECFF40FC8E&displaylang=en" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.microsoft.com/downloads/details.aspx?familyid=7ABD8C8F-287E-4C7E-9A4A-A4ECFF40FC8E&displaylang=en</a></font></span></div><br>
<blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div align="left" dir="ltr" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b>
<a href="mailto:users-ironpython.com-bounces@lists.ironpython.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">users-ironpython.com-bounces@lists.ironpython.com</a>
[mailto:<a href="mailto:users-ironpython.com-bounces@lists.ironpython.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">users-ironpython.com-bounces@lists.ironpython.com</a>] <b>On Behalf Of
</b>Anthony Tarlano<br><b>Sent:</b> Tuesday, May 17, 2005 3:02
PM<br><b>To:</b> Discussion of IronPython<br><b>Subject:</b> [IronPython]
StringIO???<br></font><br></div><div><span>
<div></div>Martin,<br><br>I think that while fixing the 'assemblies in the
same directory' bug, a new critter may have been introduced...
<br><br>StringIO used to work in IP-0.7.4, now using IP.0.7.5 I see the
following trackback..<br><br>IronPython 0.7.5 on .NET
2.0.40607.42<br>Copyright (c) Microsoft Corporation. All rights
reserved.<br>>>> import StringIO<br>System.MissingMethodException:
Method not found: 'Boolean
System.Collections.Gen<br>eric.IDictionary`2.TryGetValue(!0, !1
ByRef)'.<br> at
IronPython.Objects.Importer.TryGetExistingModule(String fullName,
Object&<br>ret)<br> at
IronPython.Objects.Importer.Import(PythonModule mod, String fullName,
List<br> from)<br> at
IronPython.Objects.Ops.Import(PythonModule mod, String
fullName)<br> at input_0.Run(Frame frame)<br> at
IronPython.Hosting.PythonEngine.DoOneInteractive(Frame
topFrame)<br> at
IronPython.Hosting.PythonEngine.RunInteractive()<br>>>><br><br></span></div></blockquote>
</blockquote></div><br>
</span></div></blockquote></div><br>