[IronPython] Parsing Stack Traces

2008-02-12 Thread Slide
I have a current script engine I wrote which deals with CodeDom for JScript.NET scripts and I am currently adding Python capabilities to it. On the JScript.NET side, I can get the CompilerErrors from the CompileResults after I've compiled and run the main entry point of the script. On the Python si

Re: [IronPython] Please help me out its very urgent

2008-02-12 Thread Dino Viehland
Yeah, if it's released in 2006 it looks like it had to be 1.0 (1.1 was released in 2007) - so it's not going to have the fix. I would suggest using ASP.NET Futures if that's possible. Unfortunately I'm not too familiar with the ASP.NET support either and our expert is currently on vacation for

[IronPython] Import xlrd

2008-02-12 Thread Praveen Kumar
Ok, now i am too much confused, tried with different way as possible. Now my simple question is-- May i use xlrd module ItonPython for ASP.Net CTP(1.0) if i can then please tell me the brief information about configuration,library,classetc or i may use ASP.Net futures then how can i make it pos

Re: [IronPython] Help with Ops.GetAttr

2008-02-12 Thread Paul Turbett
That did it, thanks! Dino Viehland wrote: > You could use Ops.TryGetAttr which doesn't take a context (and flows the > default context in for you). > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Turbett > Sent: Tuesday, February 12, 2008 5:30

Re: [IronPython] Please help me out its very urgent

2008-02-12 Thread John Machin
Dino Viehland wrote: > Can you try using the library just from the command line and see what > the result is? You might want to try running w/ -X:ExceptionDetail to > see where the exception is actually coming from. > > > > I tried and was able to open a XLS saved in Office 2003 and earlier

Re: [IronPython] Please help me out its very urgent

2008-02-12 Thread Dino Viehland
Can you try using the library just from the command line and see what the result is? You might want to try running w/ -X:ExceptionDetail to see where the exception is actually coming from. I tried and was able to open a XLS saved in Office 2003 and earlier format w/o any problems using this li

Re: [IronPython] Help with Ops.GetAttr

2008-02-12 Thread Dino Viehland
You could use Ops.TryGetAttr which doesn't take a context (and flows the default context in for you). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Turbett Sent: Tuesday, February 12, 2008 5:30 AM To: users@lists.ironpython.com Subject: [IronPython

[IronPython] Help with Ops.GetAttr

2008-02-12 Thread Paul Turbett
Hi, I'm attempting to get an attribute from python object from C# using a method like this: public object GetAttr(object pyObject, string name) { ICallerContext context = _pythonEngine.DefaultModule as ICallerContext; object value = Ops.GetAttr( context, pyObject, SymbolTable.StringToId(n