#6322 HIGH Never A: IOError: sys.stdout access restricted by mod_wsgi

Zarro Boogs per Child bugtracker at laptop.org
Sat Feb 2 17:12:43 EST 2008


#6322: IOError: sys.stdout access restricted by mod_wsgi
---------------------+------------------------------------------------------
 Reporter:  ffm      |       Owner:  walter        
     Type:  defect   |      Status:  new           
 Priority:  high     |   Milestone:  Never Assigned
Component:  website  |     Version:                
 Keywords:           |    Verified:  0             
 Blocking:           |   Blockedby:                
---------------------+------------------------------------------------------
 ==== How to Reproduce ====

 While doing a GET operation on `/prefs/account`, Trac issued an internal
 error.

 Go to http://dev.laptop.org/prefs/account OR:
 1. Click on Preferences
 2. Click on Account


 Request parameters:
 {{{
 {'panel_id': u'account'}
 }}}


 ==== System Information ====

 || '''Trac''' || `0.11dev-r6400` ||
 || '''Python''' || `2.5.2a0 (r251:54863, Jan  3 2008, 18:13:03) ` [[br]]
 `[GCC 4.2.3 20071223 (prerelease) (Ubuntu 4.2.2-4ubuntu3)]` ||
 || '''setuptools''' || `0.6c7` ||
 || '''psycopg2''' || `2.0.6` ||
 || '''Genshi''' || `0.5dev-r789` ||

 ==== Python Traceback ====
 {{{
 Traceback (most recent call last):
   File "/home/coderanger/src/trac/trac/web/main.py", line 406, in
 _dispatch_request
     dispatcher.dispatch(req)
   File "/home/coderanger/src/trac/trac/web/main.py", line 195, in dispatch
     resp = chosen_handler.process_request(req)
   File "/home/coderanger/src/trac/trac/prefs/web_ui.py", line 73, in
 process_request
     template, data = chosen_provider.render_preference_panel(req,
 panel_id)
   File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 149, in
 render_preference_panel
     print data
 IOError: sys.stdout access restricted by mod_wsgi

 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/6322>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list