Re: [IronPython] Database Engine for Django on IronPython

2009-10-23 Thread Vernon Cole
Good question. It made me look up the documentation. The answer is a definite "sometimes". I have always used the OleDb client, so I have only experienced the qmark. I quote from the Microsoft documentation V V V V V V V V V V V V V V V V V V V V V The syntax for parameter placeholders d

Re: [IronPython] Database Engine for Django on IronPython

2009-10-23 Thread Josh
Vernon Cole wrote: "The big thing will be paramstyle format convertion. MS-SQL uses qmark. I am told that django wants pyformat." Quick question. Is this new database driver going to be specific to MS-SQL, or does the ADO.NET specification specify qmark in place of Pyformat? The reason I

Re: [IronPython] Overriding .NET methods within IronPython

2009-10-23 Thread Shri Borde
See the section on "Overriding methods" in http://ironpython.codeplex.com/SourceControl/changeset/view/60398#1011839 (IronPython_Main\Doc\dotnet-integration.rst) for more details on overriding, like dealing with ref params. We are working on making the info easily accessible, but for now, you c

[IronPython] IronPython 2.6 CodePlex Source Update

2009-10-23 Thread merllab
This is an automated email letting you know that sources have recently been pushed out. You can download these newer sources directly from http://ironpython.codeplex.com/SourceControl/changeset/view/60403. MODIFIED SOURCES $/IronPython/IronPython_2_6/Src/IronPython.Modules/IronPython.

Re: [IronPython] Database Engine for Django on IronPython

2009-10-23 Thread Markus Törnqvist
On Fri, Oct 23, 2009 at 12:41:21PM -0600, Vernon Cole wrote: >Okay, it's officially on top of my to-do list. I try to dedicate an hour or >two each day to open source projects, so this will keep me busy for a >while. If there's anything I can do to help, just ask :) >The big thing will be param

Re: [IronPython] Overriding .NET methods within IronPython

2009-10-23 Thread Brian Curtin
I'm not sure what I was doing wrong when this clearly simpler way wasn't working, but this pretty much answers my question: do this - Form.OnLoad(self, evt_args) Sorry for the noise. On Fri, Oct 23, 2009 at 13:45, Brian Curtin wrote: > Hey list, > > I think I got this right, and it seems to wor

[IronPython] Overriding .NET methods within IronPython

2009-10-23 Thread Brian Curtin
Hey list, I think I got this right, and it seems to work, but I just feel like there is probably a better way to override a method in IP. Some time spent googling doesn't bring anything up except for IP/C# code examples containing the override keyword. For example, I want to override the Form clas

Re: [IronPython] IronPython and PIL?

2009-10-23 Thread Markus Törnqvist
On Fri, Oct 23, 2009 at 12:32:01PM -0600, Jeff Hardy wrote: >> Is there any way to see what's happening in IIS, like catching >> print output? > >Not (easily) in IIS 6. IIS 7 has the fantastically awesome Failed >Request Tracing that makes tracking this stuff down a breeze. You can >always check th

Re: [IronPython] Database Engine for Django on IronPython

2009-10-23 Thread Vernon Cole
Okay, it's officially on top of my to-do list. I try to dedicate an hour or two each day to open source projects, so this will keep me busy for a while. The big thing will be paramstyle format convertion. MS-SQL uses qmark. I am told that django wants pyformat. Somebody *please* correct me if t

Re: [IronPython] Database Engine for Django on IronPython

2009-10-23 Thread Jeff Hardy
2009/10/23 Markus Törnqvist : > > So it's not only me who'd be grateful, tho it seems I'm the only guy on > the list :> I would be grateful, and I think a lot developers at MS-only shops would be too - it's just that those programmers tend to be the silent type, sadly. It's easy for Django to plug

Re: [IronPython] IronPython and PIL?

2009-10-23 Thread Jeff Hardy
2009/10/23 Markus Törnqvist : > On Fri, Oct 23, 2009 at 10:26:32AM -0600, Jeff Hardy wrote: >>2009/10/23 Markus Törnqvist : >> >>It's very possible that runserver can get a little further along than >>IIS - Django pushes things pretty hard and I haven't done a ton of >>testing with IIS 6. > > Is th

Re: [IronPython] SystemError while compiling PIL.Image

2009-10-23 Thread Dino Viehland
This seems to be the simple repro: X = (42, 43) class Y: def outer_f(self): def f((a,b)=X): return a, b return f The fix for this probably won't make it into RC2 and I'm not sure about 2.6.0 either but it'll definitely make it into 2.6.1 at the latest. Inter

Re: [IronPython] The tale of a full HybridMapping and a not so tempfile

2009-10-23 Thread Dino Viehland
Thanks for the great detail here. As you said the fix is easy and I believe I have it ready to go. We're already kicking off our RC2 build so I don't know that it'll make it until that build (or 2.6.0 for that matter) but it'll be fixed by 2.6.1 at the latest. > -Original Message- > From

Re: [IronPython] Database Engine for Django on IronPython

2009-10-23 Thread Markus Törnqvist
On Fri, Oct 23, 2009 at 11:45:46AM -0600, Vernon Cole wrote: >The sourceforge download will work out of the box on Iron Python, but it is >missing a bunch of django special tweaks that they made after they forked >off their own version -- which was *before* I added Iron Python support. If >you are

Re: [IronPython] Database Engine for Django on IronPython

2009-10-23 Thread Vernon Cole
The sourceforge download will work out of the box on Iron Python, but it is missing a bunch of django special tweaks that they made after they forked off their own version -- which was *before* I added Iron Python support. If you are serious about this project, I am willing to go to work to back p

[IronPython] IronPython 2.6 CodePlex Source Update

2009-10-23 Thread dfugate
This is an automated email letting you know that sources have recently been pushed out. You can download these newer sources directly from http://ironpython.codeplex.com/SourceControl/changeset/view/60398. MODIFIED SOURCES $/IronPython/IronPython_2_6/Src/IronPython.Modules/IronPython.

Re: [IronPython] IronPython and PIL?

2009-10-23 Thread Markus Törnqvist
On Fri, Oct 23, 2009 at 10:26:32AM -0600, Jeff Hardy wrote: >2009/10/23 Markus Törnqvist : > >It's very possible that runserver can get a little further along than >IIS - Django pushes things pretty hard and I haven't done a ton of >testing with IIS 6. Is there any way to see what's happening in I

Re: [IronPython] IronPython and PIL?

2009-10-23 Thread Jeff Hardy
2009/10/23 Markus Törnqvist : > Hi! > > Clearly PIL doesn't exist for IronPython, right? > > I figured I'd debug the weird 404 behaviour with the debug server, but > bumped into PIL not existing. > > I'm very surprised NWSGI/IIS allows the program to even start, as it > doesn't start with runserver

[IronPython] Database Engine for Django on IronPython

2009-10-23 Thread Markus Törnqvist
On Fri, Oct 23, 2009 at 08:45:03AM -0600, Vernon Cole wrote: >Markus: > What database engine are you using? I am also interested in this project >and would like to help out. MSSQL. I hacked something together called kludgemssql and it probably doesn't work, but I'm having a hard time testing it

[IronPython] IronPython 2.6 CodePlex Source Update

2009-10-23 Thread merllab
This is an automated email letting you know that sources have recently been pushed out. You can download these newer sources directly from http://ironpython.codeplex.com/SourceControl/changeset/view/60395. ADDED SOURCES $/IronPython/IronPython_Main/Src/Runtime/Microsoft.Dynamic/Interp

Re: [IronPython] IronPython and PIL?

2009-10-23 Thread Vernon Cole
Markus: What database engine are you using? I am also interested in this project and would like to help out. -- Vernon Cole 2009/10/23 Markus Törnqvist > On Fri, Oct 23, 2009 at 02:42:23PM +0100, William Reade wrote: > > Hi Markus > > > > Parts of PIL should work with IronPython if you're wil

Re: [IronPython] IronPython and PIL?

2009-10-23 Thread Markus Törnqvist
On Fri, Oct 23, 2009 at 02:42:23PM +0100, William Reade wrote: > Hi Markus > > Parts of PIL should work with IronPython if you're willing to import > ironclad first ( http://code.google.com/p/ironclad ). If you're still > using ipy 2, the latest binary release should work for you. I am not, be

Re: [IronPython] IronPython and PIL?

2009-10-23 Thread William Reade
Hi Markus Parts of PIL should work with IronPython if you're willing to import ironclad first ( http://code.google.com/p/ironclad ). If you're still using ipy 2, the latest binary release should work for you. (If you're using 2.6, it definitely won't work right now, because ipy 2.6 can't par

Re: [IronPython] IronPython integration via dotNET

2009-10-23 Thread Lukas Dubeda
Thanks again for the input. I appretiate it. Well, it seems that this will be a good excuse to take a look at C# then :) I've tried to avoid it as much as possible, but it seems I won't be able to get away without it. But I'll finish the book first :D Thanks agian, to Curt Hagenlocher as well!,

Re: [IronPython] IronPython integration via dotNET

2009-10-23 Thread Curt Hagenlocher
Execute has two variants with zero arity: a generic version and a non-generic version. It sounds like MAXScript isn't able to pick one of these. This isn't surprising for a dynamic language; I think IronPython might have the same problem. If the MAXScript language doesn't provide a way to manually

Re: [IronPython] IronPython integration via dotNET

2009-10-23 Thread Michael Foord
Lukas Dubeda wrote: Hi there everyone, it's me again with the IP integration problem :) I'm on an edge of giving up. I don't know what to do next, even after reading Lee Holmes' article as suggested by Michael Foord. Well, I tried to execute the scriptSourceFromString without specifying a scop

[IronPython] IronPython integration via dotNET

2009-10-23 Thread Lukas Dubeda
Hi there everyone, it's me again with the IP integration problem :) I'm on an edge of giving up. I don't know what to do next, even after reading Lee Holmes' article as suggested by Michael Foord. Well, I tried to execute the scriptSourceFromString without specifying a scope as I've learned tha

[IronPython] IronPython and PIL?

2009-10-23 Thread Markus Törnqvist
Hi! Clearly PIL doesn't exist for IronPython, right? I figured I'd debug the weird 404 behaviour with the debug server, but bumped into PIL not existing. I'm very surprised NWSGI/IIS allows the program to even start, as it doesn't start with runserver :/ Maybe this is related to the 404s in som

Re: [IronPython] SystemError while compiling PIL.Image

2009-10-23 Thread William Reade
Hi Dino If I comment out 2 methods, the file parses fine. Uncommenting either is enough to cause it to fail. def convert(self, mode=None, data=None, dither=None, palette=WEB, colors=256): def rotate(self, angle, resample=NEAREST, expand=0): WEB and NEAREST are both set to 0 at modu