[Mono-winforms-list] Windows.Forms under IronPython

Jonathan Chambers joncham at gmail.com
Mon Jun 4 12:05:04 EDT 2007


Doug,
     Do you have the latest libgdiplus as well (same level as mono in svn)?
It needs to match your System.Drawing version.

Thanks,
Jonathan

On 6/1/07, Douglas S. Blank <dblank at cs.brynmawr.edu> wrote:
>
> New user of mono through IronPython just joining the mailing list. I've
> read some of the getting started docs with mono and winforms, and looked
> over what has been implemented, but didn't an answer to the following
> problem. I'm running mono on Linux out of CVS with latest FePy:
>
> % mono -V
> Mono JIT compiler version 1.2.4 (/trunk/ r78467)
> Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
>         TLS:           __thread
>         GC:            Included Boehm (with typed GC)
>         SIGSEGV:       normal
>         Architecture:  x86
>         Disabled:      none
> % mono ipy.exe
> IronPython 1.1 (1.1) on .NET 2.0.50727.42
> Copyright (c) Microsoft Corporation. All rights reserved.
> >>> import clr
> >>> clr.AddReference("System.Windows.Forms")
> >>> from System.Windows.Forms import Application, Form
> >>> f = Form()
> >>> Application.Run(f)
> type: 10 Not implemented
> Traceback (most recent call last):
>   File System.Windows.Forms, line unknown, in Run
>   File System.Windows.Forms, line unknown, in RunLoop
>   File System.Windows.Forms, line unknown, in set_Visible
>   File System.Windows.Forms, line unknown, in SetVisibleCore
>   File System.Windows.Forms, line unknown, in SetVisibleCore
>   File System.Windows.Forms, line unknown, in CreateControl
>   File System.Windows.Forms, line unknown, in CreateHandle
>   File System.Windows.Forms, line unknown, in SetIcon
>   File System.Windows.Forms, line unknown, in SetIcon
>   File System.Windows.Forms, line unknown, in SetIcon
>   File System.Drawing, line unknown, in ToBitmap
>   File System.Drawing, line unknown, in GetInternalBitmap
>   File System.Drawing, line unknown, in LoadFromStream
>   File System.Drawing, line unknown, in InitFromStream
>   File System.Drawing, line unknown, in CheckStatus
> NotImplementedError: The requested feature is not implemented [GDI+
> status: NotImplemented]
>
> First, am I running this correctly? If so, I assume that it is that GDI+
> status is not implemented. I looked over the sources, but it wasn't clear
> where the problem was. Is this a known issue?
>
> Thanks for any pointers,
>
> -Doug
>
> _______________________________________________
> Mono-winforms-list maillist  -  Mono-winforms-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-winforms-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20070604/8fab486f/attachment.html 


More information about the Mono-winforms-list mailing list