[IronPython] Follow Up: Avalon/WinFX and StartUp error again...

Steven Drucker sdrucker at microsoft.com
Fri Dec 9 20:31:24 CET 2005


This is because the 'StartingUp' event changed to 'Startup' in the more
recent WPF release.
You can simply edit the avalon.py file and change app.StartingUp to
app.Startup.
--Steven 

-----Original Message-----
From: users-bounces at lists.ironpython.com
[mailto:users-bounces at lists.ironpython.com] On Behalf Of Mikolaj
Dawidowski
Sent: Friday, December 09, 2005 2:15 AM
To: users at lists.ironpython.com
Subject: [IronPython] Follow Up: Avalon/WinFX and StartUp error again...

I installed the latest .NET 2.0 (final) and WinFX libraries and got the
following error.
I look similiar to Robert Smithson problems
(http://www.mail-archive.com/users@lists.ironpython.com/msg00201.html).
Robert says that he installed WinFX SDK and it worked. However I have
SDK installed...I think. I mean WinFX SDK is called officially : MS
Windows SDK for November 2005 WinFX RC CTP , right?

I know avalon is working because XAMLPad from SDK runs fine.

...............................................
Microsoft Windows XP [Wersja 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
 
C:\IronPython\Tutorial>IronPythonConsole.bat
IronPython 0.9.5 on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
>>> from avalon import *
Unhandled exception:
>>> Traceback (most recent call last):
   at System.Threading.ThreadHelper.ThreadStart()
   at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ThreadStart.Invoke()
   at System.Threading.ThreadStart(Object )
   at avalon.start$f3() in C:\IronPython\Tutorial\avalon.py:line 50
AttributeError: 'System.Windows.Application' object has no attribute
'StartingUp'
 
Unhandled Exception: 'System.Windows.Application' object has no
attribute 'StartingUp'
 
C:\IronPython\Tutorial>
 
...............................................

Here is what I have installed:

MicrosoftR WindowsR Software Development Kit (SDK) for the November 2005
WinFXR Runtime Components Community Technology Preview (CTP)
http://www.microsoft.com/downloads/details.aspx?FamilyID=0a118d5f-21e7-4
a3e-
82d9-f30c6ce3f63d&displaylang=en
6.0.5262.0.2.WindowsSDK_Vista_idw.DVD.Rel.img
 
WinFX Runtime (Microsoft Pre-Release Software WinFX Runtime Components -
November Community Technology Preview (CTP))
http://www.microsoft.com/downloads/details.aspx?FamilyId=E5376297-DA10-4
FC3-
967D-38C96F767FC4&displaylang=en
 
Of course .NET 2.0
Visual C++ Express , C# express and Visual Studio WinFX extensions.

Almost everything from Tom Archer's recipe:
http://blogs.msdn.com/tomarcher/archive/2005/11/18/494506.aspx

_______________________________________________
users mailing list
users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com



More information about the Ironpython-users mailing list