I'm using clrtype.py; trying to keep everything 100% IronPython. Here's the
Converter code:
import clr
from System import Object, Type
from System.Globalization import CultureInfo
from System.Windows import Thickness
from System.Windows.Data import IValueConverter
from System.Windows.Media impor
Are you using clrtype.py or a C# stub? If you're not using either of these,
then you will get a AG_E_PARSER_BAD_TYPE when trying to tell XAML about your
Python type, since the corresponding CLR type won't be found. If send your
python and XAML code, then I can help you figure this out.
~Jimmy
I installed the Developer runtime, which incidentally is LinkID=150227 for Mac.
In any case, I got my Converter recognized as a .NET type; however I couldn't
get passed the AG_E_PARSER_BAD_TYPE error when loading the converter reference
in XAML. I initially thought there may be some namespace i
> I took a simple converter and ported it to IronPython, however
> I'm getting the ever helpful SystemError 2255.
Do you have the Silverlight "Developer" runtime? The "Consumer" runtime give
you only error codes, while the developer runtime gives you actual exception
messages. Here's the devel
I'm trying to port an existing (and working) C# Silverlight 3
application to IronPython. Right now, I working on the merging of the
resource dictionaries, and have gotten to the point where I merge the
converters. I took a simple converter and ported it to IronPython,
however I'm getting the