Ian,

I'm running into some difficulty running WSGI-Webware. It seems to be getting
hung up in urlparser.py. the 'application' object is always 'None', I get a 404 error.

The problem seems to be that the 'get_application' method always returns a null
values because the 'constructors' environment dictionary has null key-pairs:

{'*': , '.py': , 'dir': }

The value of 'self.filename' is the correct path to my test page, so it is
parsing the URL correctly.

# test.py

from WSGIWebKit.wkservlet import Page

class test(Page):
    def writeHTML(self):
        self.writeln("This is a working site!")

How does 'get_application()' work, and what do I need to set to make it happy?


-- 
Eric Radman  |  http://eradman.com


-------------------------------------------------------
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