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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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
_______________________________________________ users mailing list [email protected] http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
