now i got this

TypeError: start_response() argument 3 must be tuple, not None

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 Mon, Jun 6, 2011 at 1:52 AM, Haulyn Jason <saharab...@domix.in> wrote:
> Hi,
>
> I am deploying a pylons app to apache. I am sure the mod_wsgi is
> working because I have a trac working now.
>
> I copy all my files to /var/www/mysite, then create mysite.wsgi here
>
> import os, sys
> import site
> sys.path.append('/var/www/mysite')
> os.environ['PYTHON_EGG_CACHE'] = '/var/www/domix.us/mysite.egg-info'
> site.addsitedir('/var/www/mysite')
> from paste.deploy import loadapp
>
> application = loadapp('config:/var/www/mysite/development.ini')
>
> But it looks that I got 500 and the error log is here:
>   needed = self.resolve(parse_requirements(requirements))
> [Sun Jun 05 18:48:39 2011] [error] [client 199.19.224.75]   File
> "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in
> resolve
> [Sun Jun 05 18:48:39 2011] [error] [client 199.19.224.75]     raise
> DistributionNotFound(req)
> [Sun Jun 05 18:48:39 2011] [error] [client 199.19.224.75]
> DistributionNotFound: domixus
>
>
> I am suer my application works well with $paster serve development.ini
> and listen to port 5000.
>
> Is there something I forget? I have pylons and dependencies global via
> #easy_install.
>
>
> 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