Max Ischenko wrote:
> Hello,
> 
> I'm testing new paste request command and get this error:

Are you using a multiprocess server?  As the error says, it doesn't work 
with that.


> $ paster request --display-headers  development.ini /
> Traceback (most recent call last):
>   File "/usr/bin/paster", line 8, in <module>
>     load_entry_point('PasteScript==1.3.7dev-r7113', 'console_scripts', 
> 'paster')()
>   File 
> "/usr/lib/python2.5/site-packages/PasteScript-1.3.7dev_r7113-py2.5.egg/paste/script/command.py",
>  
> line 79, in run
>     invoke(command, command_name, options, args[1:])
>   File 
> "/usr/lib/python2.5/site-packages/PasteScript-1.3.7dev_r7113-py2.5.egg/paste/script/command.py",
>  
> line 118, in invoke
>     exit_code = runner.run(args)
>   File 
> "/usr/lib/python2.5/site-packages/PasteScript-1.3.7dev_r7113-py2.5.egg/paste/script/command.py",
>  
> line 213, in run
>     result = self.command()
>   File 
> "/usr/lib/python2.5/site-packages/PasteScript-1.3.7dev_r7113-py2.5.egg/paste/script/request.py",
>  
> line 124, in command
>     status, headers, output, errors = raw_interactive(app, url, **environ)
>   File 
> "/usr/lib/python2.5/site-packages/Paste-1.4-py2.5.egg/paste/wsgilib.py", 
> line 341, in raw_interactive
>     app_iter = application(basic_environ, start_response)
>   File 
> "/usr/lib/python2.5/site-packages/Paste-1.4-py2.5.egg/paste/cascade.py", 
> line 92, in __call__
>     return self.apps[-1](environ, start_response)
>   File 
> "/usr/lib/python2.5/site-packages/Paste-1.4-py2.5.egg/paste/registry.py", 
> line 340, in __call__
>     app_iter = self.application(environ, start_response)
>   File 
> "/usr/lib/python2.5/site-packages/Paste-1.4-py2.5.egg/paste/recursive.py", 
> line 80, in __call__
>     return self.application(environ, start_response)
>   File 
> "/usr/lib/python2.5/site-packages/Paste-1.4-py2.5.egg/paste/errordocument.py",
>  
> line 185, in __call__
>     app_iter = self.application(environ, change_response)
>   File 
> "/usr/lib/python2.5/site-packages/Paste-1.4-py2.5.egg/paste/evalexception/middleware.py",
>  
> line 180, in __call__
>     "The EvalException middleware is not usable in a "
> AssertionError: The EvalException middleware is not usable in a 
> multi-process environment
> 
> 
> -- 
> Max
> http://maxischenko.in.ua // http://www.linkedin.com/in/maksim
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Paste-users mailing list
> [email protected]
> http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users


-- 
Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org

_______________________________________________
Paste-users mailing list
[email protected]
http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users

Reply via email to