> I'm not clear what you mean by this..?  You mean, there is a None value
> in that dictionary?  That would be a problem; a None value means that
> there is explicitly no constructor, and you should get a 404.

My mistake: it's not None, it's ''.

> I'm not sure what self.filename you are speaking of?  You mean the 
> filename argument to get_application?

Yes, I'm referring to the filename argument used when calling
get_application().

> Well, get_application should run make_py(environ, filename).  make_py
> should load the module, and look for a variable called "application",
> which is a ready-made WSGI application.  Or, if it fails to find that
> (which should be the case), then it will look for a variable with the
> same name as the module (i.e., test), and it will call that value to get
> an application.  Which is what should happen.

The problem was that load_module() was returning None because __init__.py
didn't exist in my test folder, and it couldn't write to that folder. The
failure was logged by Apache, I just didn't see it in the error log before.

Eric


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to