[Ironpython-users] IronPython, Daily Digest 11/14/2014

CodePlex no_reply at codeplex.com
Sat Nov 15 09:28:36 CET 2014


Hi ironpython,

Here's your Daily Digest of new issues for project "IronPython".

In today's digest:ISSUES

1. [New comment] UnboundName on invoking member for DynamicObject
2. [New comment] Fail to display WPF window containing TreeView by Python script
3. [New comment] Fail to display WPF window containing TreeView by Python script
4. [New issue] ValueError: Index was out of range. Must be non-negative and less than the size of the collection.

----------------------------------------------

ISSUES

1. [New comment] UnboundName on invoking member for DynamicObject
http://ironpython.codeplex.com/workitem/35679
User MarkusSchaber has commented on the issue:

"<p>As far as I know, IronPython always uses TryGetMember, and then tries to invoke what it gets there. This is according to the python semantics, where member access and calling are two separate steps.</p><p>Maybe you can appropriately override TryGetMember to support your use case?</p>"-----------------

2. [New comment] Fail to display WPF window containing TreeView by Python script
http://ironpython.codeplex.com/workitem/35681
User MarkusSchaber has commented on the issue:

"<p>As far as I know, not at all.</p><p>In other words, the script executes just in the thread which is calling ScriptSource.Execute(). (At least, as long as the script itsself does not spawn other threads...)</p><p>But as this is an user question and not a bug report, you should better ask it on the mailing list instead of here.</p>"-----------------

3. [New comment] Fail to display WPF window containing TreeView by Python script
http://ironpython.codeplex.com/workitem/35681
User syang has commented on the issue:

"<p>Thank you MarkusSchaber for your response.  ScriptSource.Execute() does not try to access UI even though the Python script could creates a window and display it to the user.  Is there anyway to display a WPF window safely and reliably?  As the previous message stated, my case could display the window correctly once.  </p>"-----------------

4. [New issue] ValueError: Index was out of range. Must be non-negative and less than the size of the collection.
http://ironpython.codeplex.com/workitem/35682
User s3e3 has proposed the issue:

"After installing IronPython 2.7.5b2 and later 2.7.5b3 we started getting following exception very frequently while running our IronPython build scripts:

ValueError: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

Running some of our scripts multiple times with identical input parameters gives very unpredictable results - sometime exception is raised (but almost always in different places in code), sometime script run passes without exception.

Prior to version 2.7.5b3, we used IronPython 2.7.3 and never had exception such as "ValueError: Index was out of range..." running the same code that with v2.7.5 throws this type of exception.

I am afraid it would be not very useful to provide any more details (code samples, etc), because exception is thrown in various, seemingly totally unrelated, places while running the same piece of code with identical input parameters for every code run.

Exception message " Index was out of range. Must be non-negative and less than the size of the collection." indicates that it is thrown from underlying .NET platform, it is not native standard Python exception message.

Can someone please take a look at this issue - it is showstopper for IronPython use in our company, as was some other bug in IP 2.7.4 that prevented us to upgrade from version 2.7.3 that we still must use (due to regressions in newer versions)."
----------------------------------------------



----------------------------------------------
You are receiving this email because you subscribed to notifications on CodePlex.

To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20141115/cae4aeeb/attachment.html>


More information about the Ironpython-users mailing list