Re: [Repoze-dev] routing exception when run as wsgi application

2010-06-02 Thread Yuan HOng
> You can use pdb with mod_wsgi. Read: > http://code.google.com/p/modwsgi/wiki/DebuggingTechniques > You also find in there how to use EvalException from Paste to do in > browser debugging. > Graham Thanks Graham for the tip. Now I found out what's wrong. When the application is run under Apac

Re: [Repoze-dev] routing exception when run as wsgi application

2010-05-29 Thread Graham Dumpleton
On May 26, 12:02 pm, Yuan HOng wrote: > Hi, > > I have an application with the following routing configuration: > >             path="wishlist" >         name="wishlistjson" >         header="Content-Type:application/json;*" >         xhr="true" >         factory=".order.wishlistview.wishlist_f

Re: [Repoze-dev] routing exception when run as wsgi application

2010-05-27 Thread Yuan HOng
Hi, Sorry I missed the error line in my last post. Below is the complete one: [Fri May 28 09:48:16 2010] [error] IOError: sys.stdout access restricted by mod_wsgi [Fri May 28 09:48:19 2010] [error] [client 127.0.1.1] mod_wsgi (pid=2823): Exception occurred processing WSGI script '/home/hong/hm.we

Re: [Repoze-dev] routing exception when run as wsgi application

2010-05-27 Thread Chris McDonough
Hi, That doesn't appear to be the full traceback. The most important bit is at the end. Could we see that part? - C On Wed, 2010-05-26 at 10:02 +0800, Yuan HOng wrote: > Hi, > > I have an application with the following routing configuration: > > path="wishlist" > name="