Re: [Ironpython-users] Problem with embedding IronPython into Silverlight Application

2012-04-19 Thread Jeff Hardy
On Thu, Apr 19, 2012 at 3:43 PM, Slide wrote: > Since modules aren't loaded from the file system the same way on SL, I > think it shouldn't cause too much of an issue. You can rebuild IP with the > change and see if it causes any other issues. Yeah, GetPrefix() isn't really critical. It just se

Re: [Ironpython-users] Problem with embedding IronPython into Silverlight Application

2012-04-19 Thread Slide
Since modules aren't loaded from the file system the same way on SL, I think it shouldn't cause too much of an issue. You can rebuild IP with the change and see if it causes any other issues. On Thu, Apr 19, 2012 at 3:34 PM, Keith Rome wrote: > We were able to confirm that this problem affects

Re: [Ironpython-users] Problem with embedding IronPython into Silverlight Application

2012-04-19 Thread Keith Rome
We were able to confirm that this problem affects our product as well. It shows up in both Silverlight 4 and 5 builds. I didn't see an issue ticket created on CodePlex yet, so I created one. Is the best "fix" going to be to catch MethodAccessException and return an empty string from GetPrefix()

Re: [Ironpython-users] Problem with embedding IronPython into Silverlight Application

2012-04-19 Thread Mattias Ahlenius
I think the binaries under: lib\Sl5 is compiled with SL4 as target and not with SL5, not sure but that may be the issue. /Mattias 2012/4/19 Slide > No, that is correct, SL5 does include the FEATURE_ASSEMBLY_LOCATION > property in the build, so you should be getting that code when you > disass

Re: [Ironpython-users] Problem with embedding IronPython into Silverlight Application

2012-04-19 Thread Slide
It's not throwing a SecurityException, its throws a MemberAccessException (which does NOT inherit from SecurityException either). slide On Thu, Apr 19, 2012 at 10:05 AM, Jeff Hardy wrote: > > On Thu, Apr 19, 2012 at 7:45 AM, Slide wrote: >> >> No, that is correct, SL5 does include the FEATURE_A

Re: [Ironpython-users] Problem with embedding IronPython into Silverlight Application

2012-04-19 Thread Jeff Hardy
On Thu, Apr 19, 2012 at 7:45 AM, Slide wrote: > No, that is correct, SL5 does include the FEATURE_ASSEMBLY_LOCATION > property in the build, so you should be getting that code when you > disassemble. Can you check if there is anything in the InnerException when > you catch it? SL5 has Assembly.

Re: [Ironpython-users] Problem with embedding IronPython into Silverlight Application

2012-04-19 Thread Slide
No, that is correct, SL5 does include the FEATURE_ASSEMBLY_LOCATION property in the build, so you should be getting that code when you disassemble. Can you check if there is anything in the InnerException when you catch it? On Thu, Apr 19, 2012 at 7:28 AM, Mattias Ahlenius wrote: > Do I do someth

Re: [Ironpython-users] Problem with embedding IronPython into Silverlight Application

2012-04-19 Thread Mattias Ahlenius
Do I do something fundamentally wrong here... The below is what I get do a disasm on the SL5 assembly in the latest distribution (2.7.2.1) Greatful for any help I could get in the right direction. Best regards, Mattias 2012/4/18 Mattias Ahlenius > > I get the following when I make a disam in

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

2012-04-19 Thread no_reply
Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New comment] ScriptScope.ContainsVariable throws MissingMemberException internally -- ISSUES 1. [New comment] ScriptScope.ContainsVariable