This is the problem. when you use the script provided web2py is installed and configured to run with apache and mod_wsgi as used www- data.
If you do python web2py.py -a "hello" you run it as yourself and you do not have permisson to write on the filesystem. So after: wget http://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh chmod +x setup-web2py-ubuntu.sh sudo ./setup-web2py-ubuntu.sh you should just use your browser (remotely) and got to http://<yourhostip>/ and or https://<yourhostip>/admin If you still have problems you may want to try sudo -u www-data python web2py.py -a "hello" Massimo On Oct 5, 4:36 pm, Lobo <carlosgali...@gmail.com> wrote: > Hi everyone, > > I'm a newbie to Ubuntu/Linux, and I'm familiar (although with very > short experience) with web2py and python; my background is Smalltalk. > > I installed Ubuntu 10.04 LTS (Lucid) on my local computer, and then > proceeded to install web2py (based on web2py instructions in chapter > 11): > > wgethttp://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh > chmod +x setup-web2py-ubuntu.sh > sudo ./setup-web2py-ubuntu.sh > > I can open firefox on 'localhost', and it successfully opens web2py. > > I can also get to the admin area when using httpS. > > But I can NOT create new applications - I get the following error: > > unable to create application "x" > > I can see the following in my environment: > > + no 'welcome.w2p' file. > + no 'deposit' folder. > + no 'site-packages' folder. > + 'NEWINSTALL' file does exist, empty. > + 'parameters_443.py' file does exist. > > I read that executing the following helps, but no luck for me: > > python web2py.py -a "hello" > > I get the following error: > > OSError: [Errno 13] Permission denied: 'deposit' > > Can you please help me with this issue?. > > Thanks in advance, > > Lobo