[IronPython] Viewlets: Any F# experts here?
Shri.Borde at microsoft.com
Thu Jun 26 15:27:22 PDT 2008
Michael, what is the CLR stack trace (-X:ShowClrExceptions)?
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Jimmy Schementi
Sent: Thursday, June 26, 2008 3:04 PM
To: Discussion of IronPython
Cc: Luke Hoban
Subject: Re: [IronPython] Viewlets: Any F# experts here?
Adding Luke Hoban, the F# ninja at Microsoft =)
Luke, any ideas? Swing by my office if you are confused.
> -----Original Message-----
> From: users-bounces at lists.ironpython.com [mailto:users-
> bounces at lists.ironpython.com] On Behalf Of Michael Foord
> Sent: Thursday, June 26, 2008 2:59 PM
> To: Discussion of IronPython
> Subject: [IronPython] Viewlets: Any F# experts here?
> The viewlets that come with VSLab look *really* cool. They're based on
> F# so I decided to see if they could be used from IronPython.
> The dependencies are pretty hefty. You need F# installed *and* Managed
> DirectX (June 2008 SDK ~450mb seems to fulfil the dependency).
> To get at the viewlet assemblies you need Visual Studio Pro installed
> well, but they can be extracted from the VSLabs msi installer without
> Ok, so with all the dependencies installed I attempt to use them - and
> *boom*. Anyone here got any ideas?
> IronPython 2.0 Beta (184.108.40.20600) on .NET 2.0.50727.1434
> Copyright (c) Microsoft Corporation. All rights reserved.
> >>> import clr
> >>> clr.AddReference('vslabfsicore')
> >>> clr.AddReference('vslabviewlets')
> >>> clr.AddReference('vslabcore')
> >>> from GraphViewlet import GraphControl
> >>> g = GraphControl()
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "vslabviewlets", line unknown, in .ctor
> File "vslabfsicore", line unknown, in .ctor
> File "System.Windows.Forms", line unknown, in get_Controls
> File "System.Windows.Forms", line unknown, in get_Properties
> SystemError: Object reference not set to an instance of an object.
> Interesting that the explosion is inside winforms. Referencing that
> assembly first makes knows difference.
> Michael Foord
> Users mailing list
> Users at lists.ironpython.com
Users mailing list
Users at lists.ironpython.com
More information about the Users