Re: [Ironpython-users] IronPython on Windows Phone

2012-03-05 Thread Jeff Hardy
On Sun, Mar 4, 2012 at 5:21 AM, Cesar Mello wrote: > Hi! > > I created a Silverlight/WP project using Microsoft Visual Studio 2010 > Express for Windows Phone. Added references to all the DLLs in > IronPython-2.7.2rc1\Platforms\Sl4-WP71 . When I run the application I get > the following error: > >

Re: [Ironpython-users] Distributing apps

2012-03-05 Thread mchalkley
Monday, March 5, 2012, 8:11:18 AM, you wrote: > Sunday, March 4, 2012, 11:54:19 PM, you wrote: >> On Sun, Mar 4, 2012 at 6:35 PM, wrote: >>> I have one more question regarding deploying python apps. If I put the >>> python libraries I'm using (string, etc.) into a zip file, the app >>> doesn't

Re: [Ironpython-users] Importing modules in a restricted AppDomain

2012-03-05 Thread Cesar Mello
Please ignore my previous question. Sucessfully added FileIOPermission with PathDiscovery and it worked: var pythonLibsPath = ExpressionEvaluator.GetPythonLibsPath(); permissionSet.AddPermission(new FileIOPermission(FileIOPermissionAccess.PathDiscovery | FileIOPermissionAccess.Read, py

[Ironpython-users] Importing modules in a restricted AppDomain

2012-03-05 Thread Cesar Mello
Hi! Is there a way to load modules without giving permission to the AppDomain to read .py files from disk? I need to run user code with limited permissions. They should be able to do some simple calculations. But when I try to import a module like 'decimal', filesystem access permission is requir

[Ironpython-users] IronPython, Daily Digest 3/4/2012

2012-03-05 Thread no_reply
Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New comment] "platform" instructions on 2.7.2b1 2. [New comment] Incorrect integer conversion (long => Int32) 3. [New comment] Importer doesn't support .pth files 4. [New comment] Mislead

Re: [Ironpython-users] Distributing apps

2012-03-05 Thread mchalkley
Sunday, March 4, 2012, 11:54:19 PM, you wrote: > On Sun, Mar 4, 2012 at 6:35 PM, wrote: >> I have one more question regarding deploying python apps. If I put the >> python libraries I'm using (string, etc.) into a zip file, the app >> doesn't see it in the current working directory, for some rea

Re: [Ironpython-users] debugging ipy.exe

2012-03-05 Thread Peter Schwalm
Hello Jeff, Thank you for your answer. I could capture a non-ironpython machine and circumvent the problem by using VS 2010 remotedebugging. Peter Am 05.03.2012 05:57, schrieb Jeff Hardy: 2012/3/4 Peter Schwalm: Hello Jeff, I switched to the branch ipy-2.7-maint. Now I have the problem tha

Re: [Ironpython-users] Distributing apps

2012-03-05 Thread Markus Schaber
Hi, Mark, Von: [email protected] > I have one more question regarding deploying python apps. If I put the python > libraries I'm using (string, etc.) into a zip file, the app doesn't see it in > the current working directory, for some reason. > Since there's no PYTHONPATH on the target machine,