[IronPython] bug in IronPython 2.0 with SilverLight in Firefox

Haibo Luo haiboluo at exchange.microsoft.com
Tue May 1 18:39:20 CEST 2007


Thanks for reporting this. This is known issue. In order to import a module (in Firefox), the app has to be running via http:// .

The workaround when you write your own app, is to put all code in one py file for now, so it would work in both file:// and http:// (also both IE and FF).


From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Kevin Chu
Sent: Tuesday, May 01, 2007 9:34 AM
To: Discussion of IronPython
Subject: [IronPython] bug in IronPython 2.0 with SilverLight in Firefox

I run Dynamic SilverLight sample "wordfind" in Firefox ,I get a error:
==================
Object reference not set to an instance of an object.
Source File: wordfind.py

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object..

Stack Trace:



  at __name__ in wordfind.py, line 4

=================
but I run this sample in IE7 ,it's ok!

--
Once in a Redmoon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20070501/128f9f48/attachment.html>


More information about the Ironpython-users mailing list