On Sat, Sep 19, 2009 at 12:43 PM, Markus Törnqvist <m...@nysv.org> wrote: > On Sat, Sep 19, 2009 at 10:44:10AM -0600, Jeff Hardy wrote: > I also had to add the Microsoft.Scripting.ExtensionAttribute.dll, > Microsoft.Dynamic.dll and Microsoft.Scripting.Debugging.dll > to C:\...myapp\bin\
(Note to IronPython team: stop adding so many assemblies!). > > (The Debugging part is probably related to Full frames? when it was > missing the traceback showed something trying to access getframe() :) > > Anyway, the PROBLEM is THIS: > > osEnviron is obviously not available in medium trust, like said in > http://nwsgi.codeplex.com/Wiki/View.aspx?title=Configuration The documentation on the website still refers to 1.0; I just haven't had a chance to update it. Sorry. > > Parser Error Message: Unrecognized element 'osEnviron'. Actually, I pulled the osEnviron section out of 2.0 because it caused problems with medium trust. I believe you can set the settings path, with a WSGI variable, but that variable doesn't seem to be documented anywhere (I really should open a Django bug about that). As a workaround, you can use the .wsgi script at http://code.google.com/p/modwsgi/wiki/IntegrationWithDjango. I've tried to make NWSGI as similar to mod_wsgi as possible. So I don't thinkthis has anything to do with partial trust. - Jeff > > -- > mjt > > _______________________________________________ > Users mailing list > Users@lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > _______________________________________________ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com