nobody met this issue?

or, any reference, analysis all welcome. Didn't solve the problem.

Regards,

Haulyn Jason
Founder, http://domix.in
Rm. 807, Qilu Software Tower, Qilu Software Park
1 Shunhua Rd., High-Tech Development Zone
Jinan, Shandong 250101, P. R. China
Tel: +86 158 5410 3759
Website: http://haulynjason.net



On Thu, Jun 9, 2011 at 3:49 PM, Haulyn Jason <saharab...@domix.in> wrote:
> Hi, I have deployed my website under mod_wsgi with apache. I have Trac
> and moinmoin working under mod_wsgi within the same apache.
>
> my mod.wsgi is the following:
>
> import os, sys
> import site
> site.addsitedir('/opt/pylonsevn/lib/python2.6/site-packages/')
> sys.path.append('/var/www/domix.us')
> os.environ['PYTHON_EGG_CACHE'] = '/var/www/domix.us/eggcache'
> from paste.deploy import loadapp
> from paste.exceptions.errormiddleware import ErrorMiddleware
>
> application = loadapp('config:/var/www/domix.us/development.ini')
> application = ErrorMiddleware(application, debug=True)
>
> But it does not work, error information is below:
> Module paste.exceptions.errormiddleware:144 in __call__
>>>  app_iter = self.application(environ, sr_checker)
> Module paste.cascade:130 in __call__
>>>  return self.apps[-1](environ, start_response)
> Module paste.registry:375 in __call__
>>>  app_iter = self.application(environ, start_response)
> Module pylons.middleware:164 in __call__
>>>  start_response(status, headers, exc_info)
> Module paste.exceptions.errormiddleware:197 in __call__
>>>  self.start_response(*args)
> TypeError: start_response() argument 3 must be tuple, not None
>
>
> Any suggestions?
>
>
>
> Regards,
>
> Haulyn Jason
> Founder, http://domix.in
> Rm. 807, Qilu Software Tower, Qilu Software Park
> 1 Shunhua Rd., High-Tech Development Zone
> Jinan, Shandong 250101, P. R. China
> Tel: +86 158 5410 3759
> Website: http://haulynjason.net
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to