That is a bug fixed in trunk. A leftover debug statement. Please
remove that print statement. I will post a new web2py shortly.


On Mar 31, 2:58 pm, Miguel <[email protected]> wrote:
> hello to all, today i upgraded to 1.94.6 using the admin interface,
> after that i tryid to create a new project using the wizard, all went
> fine until Step 6: Generate app "monitoreando"
>
> This is the trace:
>
> Traceback (most recent call last):
>   File "/home/www-data/web2py/gluon/restricted.py", line 188, in
> restricted
>     exec ccode in environment
>   File "/home/www-data/web2py/applications/admin/controllers/
> wizard.py", line 598, in <module>
>   File "/home/www-data/web2py/gluon/globals.py", line 124, in <lambda>
>     self._caller = lambda f: f()
>   File "/home/www-data/web2py/applications/admin/controllers/
> wizard.py", line 212, in step6
>     create(form.vars)
>   File "/home/www-data/web2py/applications/admin/controllers/
> wizard.py", line 546, in create
>     fix_db(model)
>   File "/home/www-data/web2py/applications/admin/controllers/
> wizard.py", line 367, in fix_db
>     auth_user = make_table('auth_user',session.app['table_auth_user'])
>   File "/home/www-data/web2py/applications/admin/controllers/
> wizard.py", line 278, in make_table
>     print ftype
> IOError: sys.stdout access restricted by mod_wsgi
>
> Im using apache + mod_wsgi
> I dont remember what was the previus version, but i used the wizard
> before without any problem.
> Googling around appears that it is a web2py problem for not following
> the wsgi's "dont use print statement" rule
> what should i check?

Reply via email to