[Mono-bugs] [Bug 75048][Blo] New - IronPython 0.7.5 fails due to missing Dictionary method

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed May 25 19:43:05 EDT 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by mtaylor at alias.com.

http://bugzilla.ximian.com/show_bug.cgi?id=75048

--- shadow/75048	2005-05-25 19:43:05.000000000 -0400
+++ shadow/75048.tmp.881	2005-05-25 19:43:05.000000000 -0400
@@ -0,0 +1,48 @@
+Bug#: 75048
+Product: Mono: Class Libraries
+Version: 1.1
+OS: All
+OS Details: OS X 10.4.1 and Suse 9.2
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: mtaylor at alias.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: IronPython 0.7.5 fails due to missing Dictionary method
+
+Description of Problem:
+
+Starting up the IronPython console results in this error:
+
+** (IronPythonConsole.exe:406): WARNING **: Missing method TryGetValue in assembly /
+Volumes/Data/Users/mtaylor/Desktop/IronPython-0.7.5/bin/IronPython.dll, type IDictionary`2
+
+I took a look at the IronPython source code and found a Dictionary object is being instantiated 
+like this:
+
+    this.data = new Dictionary<object, object>();
+
+Then, it is being called like this:
+
+    return data.TryGetValue(key, out value);
+
+IronPython requires some .NET 2.0 features.  I guess that this must be one of them?
+
+Steps to reproduce the problem:
+1. Download IronPython 0.7.5 
+   http://www.microsoft.com/downloads/details.aspx?FamilyId=03238F44-D75F-4
+E82-BDBB-6F6FDCA011F0&displaylang=en
+2. Unpack it
+3. cd into IronPython-0.7.5/bin
+4. run:
+   mono IronPythonConsole.exe
+
+Additional Information:
+
+I am running Mono 1.1.7 on both Suse 9.2 and OS X 10.4.1


More information about the mono-bugs mailing list