Hi,
When I create a python engine in a new Appdomain the "GetSearchPaths"
method return only the current directory. In default domain it returns
"Lib" as well as "Dll" directory in IronPython 2.6.1. Is there a way
to get these search paths while the engine is created in a new
Appdomain.
The reaso
Yes, it has the required namespace. Thanks :)
On Mon, Aug 16, 2010 at 8:39 PM, Dave Fugate wrote:
> Try Microsoft.Dynamic.dll ;)
>
>
>
> Dave
>
>
>
> *From:* users-boun...@lists.ironpython.com [mailto:
> users-boun...@lists.ironpython.com] *On Behalf Of *mo
Hi,
I was using Microsoft.Scripting.dll (version 0.9) which was packaged with
Iron Python 2.0.1. This assembly contains
"Microsoft.Scripting.Hosting.Shell" Namesapce. I was using an Enum "Style"
from this namespace. Now I upgraded to Iron Python 2.6.1. Here I observed
that Microsoft.Scripting asse
And
> doing the same in MbrBase will make it stay alive forever as well.
>
>
>
> *From:* users-boun...@lists.ironpython.com [mailto:
> users-boun...@lists.ironpython.com] *On Behalf Of *mohammad mustaq
> *Sent:* Wednesday, August 11, 2010 7:25 PM
>
> *To:* Discussion
not sure I can quickly cook up an example.
>
>
>
> *From:* users-boun...@lists.ironpython.com [mailto:
> users-boun...@lists.ironpython.com] *On Behalf Of *mohammad mustaq
> *Sent:* Wednesday, August 11, 2010 7:30 AM
> *To:* Discussion of IronPython
> *Subject:* Re: [IronPython]
f this) on the client
> side and then call ILease.Register so the object can call back to your
> sponser.
>
>
>
> *From:* users-boun...@lists.ironpython.com [mailto:
> users-boun...@lists.ironpython.com] *On Behalf Of *mohammad mustaq
> *Sent:* Tuesday, August 10, 2010 6:43 AM
&
Hi,
I posted this last week and I did not get a response.Hence posting it again.
I have an application that creates a python engine in a new appdomain. If I
do not specify a lease period I see that the objects are disconnected when I
leave it idle for a period of 5 minutes. I used "InitializeLife
Hi,
I have an application that creates a python engine in a new appdomain. If I
do not specify a lease period I see that the objects are disconnected when I
leave it idle for a period of 5 minutes. I used "InitializeLifetimeService"
to keep the object alive forever but it did not work. The "dlr-sp
Hi,
I have an application that creates a python engine in a new appdomain. If I
do not specify a lease period I see that the objects are disconnected when I
leave it idle for a period of 5 minutes. I used "InitializeLifetimeService"
to keep the object alive forever but it did not work. The "dlr-sp
Hi Dino,
Is there any update on this. Should you need more details let me know.
thanks,
Mustaq
On Wed, Apr 7, 2010 at 10:40 AM, mohammad mustaq wrote:
> Hi Dino,
>
> If have tweaked your code to reproduce the exception that I am facing. Let
> me know if you need more details
t;);
>
> mbr.DoItVirtually();
>
> mbr.DoIt();
>
> }
>
> }
>
>
>
> public class MbrBase : MarshalByRefObject {
>
> public virtual void DoItVirtually() {
>
> Console.WriteLine("Did it virtually {
Hi Dino,
If have tweaked your code to reproduce the exception that I am facing. Let
me know if you need more details.
thanks,
Mustaq
using System;
using Microsoft.Scripting;
using IronPython.Hosting;
using Microsoft.Scripting.Hosting;
class Foo
{
public static void Main(string[] args)
{
Hi,
I have IronPython embedded in my C# application. I face issues while
creating the python engine in a different appdomain.
It is imposed that every class in IronPython inherit the .NET base class say
ClassA. ClassA is derived from MarshalByRefObj as I need to pass an instance
of this class to
13 matches
Mail list logo