Re: [Ironpython-users] Unhandled .Net Exception

2011-10-24 Thread Dino Viehland
This should do it - the hosting APIs changed quite a bit between 2.0 and 2.7: import clr clr.AddReference('IronPython') from IronPython.Runtime import PythonContext import System clr.GetCurrentRuntime().GetLanguage(PythonContext).FormatException(System.Exception()) There could be other variations

[Ironpython-users] Unhandled .Net Exception

2011-10-24 Thread John Dickinson
Hello, I was looking at adding a handler for otherwise-uncaught .Net exceptions, and had found this page: http://www.ironpython.info/index.php/Handling_Unhandled_Exceptions useful. However, the code shown falls over where he's trying to get a nicely formatted python exception here: from IronPy

[Ironpython-users] IronPython, Daily Digest 10/23/2011

2011-10-24 Thread no_reply
Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [Status update] Typo 2. [Status update] ArgumentException when using SetTrace 3. [Status update] Lib/config directory not present in zip distribution. 4. [Status update] Update ElementTree

Re: [Ironpython-users] Getting started reference

2011-10-24 Thread Igor Brejc
Hi Bruce, I have not done any WPF myself, but there are a lot of resources on the web: - http://www.ironpython.info/index.php/WPF_Example - google "ironpython wpf" I can also recommend "IronPython in Action" book, it has a chapter on WPF. As for "label1.contents", shouldn't it be "label1.C

[Ironpython-users] q: how to configure site-packages folder for ironpython/asp.net

2011-10-24 Thread Bernd Viehmann
Hi, currently i am trying to get a mongo-db running in an asp.net application written in ironpython. I am trying to use the python-driver pymongo. I have installed the modules in the site-packages folder and i am able to use it in my python25- and also in my ironpython- commandline interpreter. I