Cool, thank you very much.

I've set up the example but am encountering a strange error:

Traceback (most recent call last):\n
  File "/home/munch/trunk/munch/modpython_gateway.py", line 131, in run
\n
    result = application(self.environ, self.start_response)\n
  File "/usr/local/lib/python2.5/site-packages/web/application.py",
line 243, in wsgi\n
    self.load(env)\n
  File "/usr/local/lib/python2.5/site-packages/web/application.py",
line 341, in load\n
    ctx.fullpath = ctx.path + ctx.query\n
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'\n


My test.py looks like this:

import web
urls = (
        '/', 'index'
)
app = web.application(urls, globals())
main = app.wsgifunc()
class index:
        def GET(self):
                return "hello world!"

Any assisntance would be greatly appreciated.

With thanks.


On Mar 21, 9:08 pm, paul jobs <[email protected]> wrote:
> http://svn.aminus.net/misc/modpython_gateway.py
> On 3/21/09, fourthdim <[email protected]> wrote:
>
>
>
> > Hi,
>
> > I was just looking at the install instructions for getting web.py to
> > work with mod_python, but it seems the URL to fetch the
> > modpython_gateway.py is unavailable. Please could someone advise me on
> > how to proceed with running web.py through mod_python.
>
> > With thanks,
> > fourthdim
>
> --
> BidEgg - Worlds best low price Auction sitehttp://bidegg.com
>
> BidEgg - Worlds best low price Auction site
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to