When I click the view invoice or view packinslip from within the
product order page I get an error.  It says:


==========
IOError at /admin/print/invoice/7

sys.stdout access restricted by mod_wsgi
   handle_pageBegin args=()

Request Method:         GET
Request URL:    http://batmitzva.net/admin/print/invoice/7
Exception Type:         IOError
Exception Value:

sys.stdout access restricted by mod_wsgi
   handle_pageBegin args=()

Exception Location:     /usr/lib/python2.6/urllib.py in
prompt_user_passwd, line 788
Python Executable:      /usr/bin/python
Python Version:         2.6.2
Python Path:    ['/usr/local/lib/python2.6/site-packages/
setuptools-0.6c11-py2.6.egg', '/usr/local/lib/python2.6/site-packages/
pip-0.7.2-py2.6.egg', '/usr/local/lib/python2.6/site-packages/
TRML2PDF-1.0-py2.6.egg', '/usr/local/lib/python2.6/site-packages/
elementtree-1.2.7_20070827_preview-py2.6.egg', '/usr/local/lib/
python2.6/site-packages/Sphinx-1.0b2-py2.6.egg', '/usr/local/lib/
python2.6/site-packages/docutils-0.6-py2.6.egg', '/usr/local/lib/
python2.6/site-packages/Jinja2-2.5-py2.6.egg', '/usr/local/lib/
python2.6/site-packages/Pygments-1.3.1-py2.6.egg', '/usr/local/lib/
python2.6/site-packages/South-0.7.1-py2.6.egg', '/home/batmitzva/src/
sorl-thumbnail', '/usr/local/lib/python2.6/site-packages/
MySQL_python-1.2.3-py2.6-linux-i686.egg', '/usr/local/lib/python2.6/
site-packages/python_memcached-1.45-py2.6.egg', '/usr/local/lib/
python2.6/site-packages/Satchmo-0.9_2-py2.6.egg', '/usr/local/lib/
python2.6/site-packages/django_caching_app_plugins-0.1.2-py2.6.egg', '/
usr/local/lib/python2.6/site-packages/django_keyedcache-1.4_3-
py2.6.egg', '/usr/local/lib/python2.6/site-packages/
django_livesettings-1.4_4-py2.6.egg', '/usr/local/lib/python2.6/site-
packages/django_signals_ahoy-0.1_1-py2.6.egg', '/usr/local/lib/
python2.6/site-packages/django_threaded_multihost-1.4_0-py2.6.egg', '/
usr/local/lib/python2.6/site-packages/suds-0.3.9-py2.6.egg', '/usr/
local/lib/python2.6/site-packages', '/usr/local/lib/python2.6/site-
packages/PIL', '/usr/lib/python26.zip', '/usr/lib/python2.6', '/usr/
lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/
python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/
python2.6/site-packages', '/home/batmitzva']
Server time:    Thu, 16 Sep 2010 15:12:50 -0700
==========

I google "sys.stdout access restricted by mod_wsgi" and found this and
this:
http://code.google.com/p/modwsgi/wiki/DebuggingTechniques
http://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIRestrictStdout
Anyways it seems that turning off the WSGIRestrictStdout isnt the best
idea according to Graham Dumpleton:
http://blog.dscpl.com.au/2009/04/wsgi-and-printing-to-standard-output.html

Is this the only way or do I have something else messed up.  Thanks!

-RT

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

Reply via email to