[IronPython] Avalon tutorial
Catalin Lungu
lcatalin at siadv.com
Mon Jan 2 16:44:48 CET 2006
I am in a similar situation but not only with avalon. When I try to invoke "from System.Windows.Forms import *" I receive the folowing error
Traceback (most recent call last):
File , line 0, in input##26
ImportError: cannot import Windows from System
With System.Drawing too.
With Avalon:
Warning (from warnings module):
File "C:\IronPython-1.0-Beta\Tutorial\avalon.py", line 64
def LoadXaml(filename):
SyntaxWarning: import * only allowed at module level
>>>
Traceback (most recent call last):
File "C:\IronPython-1.0-Beta\Tutorial\avalon.py", line 18, in ?
sys.LoadAssemblyByName("PresentationCore")
AttributeError: 'module' object has no attribute 'LoadAssemblyByName'
Thanks,
Catalin
----- Original Message -----
From: Luis M. Gonzalez
To: users at lists.ironpython.com
Sent: Monday, January 02, 2006 2:22 PM
Subject: [IronPython] Avalon tutorial
Hi there!
I'm having trouble with the Avalon tutorial.
In fact, I can't even start... this is the reeor message I get when trying to initialize Windows Presentation Foundation:
>>> from avalon import *
Traceback (most recent call last):
File , line 0, in input##0
File C:\Documents and Settings\Usuario1\Escritorio\IronPython-1.0-Beta1\Tutori
al\avalon.py, line 27, in Initialize
ImportError: cannot import Animation from Media
Any hint?
Thanks in advance...
Luis
------------------------------------------------------------------------------
_______________________________________________
users mailing list
users at lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20060102/b94562f4/attachment.html>
More information about the Ironpython-users
mailing list