Re: [IronPython] how to generate multiple concurrent scriptign engines?

2011-04-18 Thread surangika ranathunga
Hi, Sorry I missed the posts on this thread. This is the code that caused me the problem (I posted this in the first post of the thread) So according to your mails, I take that this is due to a bug in the ironpython code. Is there a way I can have some alternative work-out, something that I can

Re: [IronPython] AttributeError : System.Drawing.Graphics is "read-only"

2011-04-18 Thread NikoVFR
Markus Schaber-6 wrote: > > Hi, Niko, > > A small self-contained running example would be nice. > > I tried to guess some of the missing context, and now get the exception > that MainForm has no _paint member. > > Regards, > Markus > > >> -Ursprüngliche Nachricht- >> Von: users-boun

Re: [IronPython] AttributeError : System.Drawing.Graphics is "read-only"

2011-04-18 Thread Markus Schaber
Hi, Niko, A small self-contained running example would be nice. I tried to guess some of the missing context, and now get the exception that MainForm has no _paint member. Regards, Markus > -Ursprüngliche Nachricht- > Von: users-boun...@lists.ironpython.com [mailto:users- > boun...@li

Re: [IronPython] AttributeError : System.Drawing.Graphics is "read-only"

2011-04-18 Thread NikoVFR
class MainForm(Form): def MainFormPaint(self, sender, e): print "MainFormPaint %i"%self._paint gr = e.Graphics self.MainPanel.Draw(gr,0) class MainPanel: def Draw(self,gr,starty): y = starty for c in s

Re: [IronPython] AttributeError : System.Drawing.Graphics is"read-only"

2011-04-18 Thread Markus Schaber
Hi, Doug, We get the same misleading error message with IPy 2.6 on microsoft .NET 2.0. Grüße, Markus > -Ursprüngliche Nachricht- > Von: users-boun...@lists.ironpython.com [mailto:users- > boun...@lists.ironpython.com] Im Auftrag von Doug Blank > Gesendet: Montag, 18. April 2011 14:17 >

Re: [IronPython] AttributeError : System.Drawing.Graphics is "read-only"

2011-04-18 Thread Doug Blank
On Mon, Apr 18, 2011 at 7:56 AM, NikoVFR wrote: > > Hello everybody... > > first i apologize for my bad english... i did not practice for a very long > time... > > A strange problem in a ironpython app, done with Sharpdevelop... > > I created a form, without borders, captions, icon, just a sim

Re: [IronPython] AttributeError : System.Drawing.Graphics is "read-only"

2011-04-18 Thread Jimmy Schementi
Can you send the python code that causes this error? ~Jimmy On Apr 18, 2011, at 7:56 AM, NikoVFR wrote: > > Hello everybody... > > first i apologize for my bad english... i did not practice for a very long > time... > > A strange problem in a ironpython app, done with Sharpdevelop... > > I

[IronPython] AttributeError : System.Drawing.Graphics is "read-only"

2011-04-18 Thread NikoVFR
Hello everybody... first i apologize for my bad english... i did not practice for a very long time... A strange problem in a ironpython app, done with Sharpdevelop... I created a form, without borders, captions, icon, just a simple square to draw... When I try to draw from my OnPaint Funct