[IronPython] IronPython 1.0 Beta 3 Released!
Steven Drucker
sdrucker at microsoft.com
Thu Feb 16 03:10:41 CET 2006
Also having problems with Assemblies.
I've got an assembly that references another assembly.
Even when I do the following:
import clr
clr.Path = ['C://code//assemblyloc']
clr.AddReferenceToFile('Aforge.Imaging.dll')
I get an error that it can't load 'AForge.Math' . Aforge.Math is in the
given location. In fact, if I just do a
clr.AddReferenceToFile('Aforge.Math.dll'), it works fine.
This was broken in Beta1, fixed in Beta2, but seems to be broken again.
(Or at least, I'm not sure of the proper calling procedure).
--S
-----Original Message-----
From: users-bounces at lists.ironpython.com
[mailto:users-bounces at lists.ironpython.com] On Behalf Of Jon Kale
Sent: Wednesday, February 15, 2006 5:35 PM
To: 'Discussion of IronPython'
Subject: Re: [IronPython] IronPython 1.0 Beta 3 Released!
Trying to add a reference to System.Xml, I get StackOverflowException.
[] C:\Program Files\IronPython (Thu 16/02 1:19)
>IronPythonConsole.exe -X:TabCompletion
IronPython 1.0.2237 (Beta) on .NET 2.0.50727.42 Copyright (c) Microsoft
Corporation. All rights reserved.
>>> import clr
>>> clr.AddReference("System.Xml")
Process is terminated due to StackOverflowException.
The fix appears to be to change AddReference(object reference):
private void AddReference(object reference) {
string strRef = reference as string;
if (strRef != null) {
AddReference(strRef);
return;
}
AddReference(reference, null);
}
but since this is my first time in the IP code I could well be wrong...
--
Jon
_______________________________________________
users mailing list
users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
More information about the Ironpython-users
mailing list