Do we know what's going on here? I'm guessing that it's the initialization of the admin password.
On second thought, that's not it. It'd be good to track it down and fix it, though.
$ cd PATH/w2py/apache2/bin$ ./stop
$ cd ../..
$ rm web2py_src.zip
$ unzip -q web2py_src.zip
replace web2py/gluon/__init__.py? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
$ cd PATH/w2py/apache2/bin$ ./start
$ cd ../..
$ cd web2py$ ls
anyserver.py gaehandler.py options_std.py setup_exe.py
appengine_config.py gluon parameters_80.py setup.py
app.example.yaml __init__.py queue.example.yaml site-packages
applications isapiwsgihandler.py README splashlogo.gif
cgihandler.py LICENSE router.example.py VERSION
CHANGELOG logging.example.conf routes.example.py web2py.py
deposit logs scgihandler.py wsgihandler.py
epydoc.conf Makefile scripts
epydoc.css modpythonhandler.py setup_app.py
fcgihandler.py NEWINSTALL setup_exe_2.6.py
On Thursday, June 7, 2012 6:35:19 PM UTC-7, JoeCodeswell wrote:Hi Noel,I had this problem occur AGAIN, TODAY on WebFaction, when I upgraded to Version 1.99.7 (2012-03-04 22:12:08) stable, Running on Apache/2.2.17 (Unix) mod_wsgi/3.3 Python/2.7.3. When creating a new simple app from the web admin interface i get "unable to create application "newapp" (it may exist already)"I checked and there is NO welcome.w2p in the web2py directory. Here are the ssh commands i used.
> I didn't check the shell syntax, but you get the idea.
> if [ -f NEWINSTALL -a -d applications/welcome ]; then
> python -c "from gluon.fileutils import w2p_pack; w2p_pack('welcome.w2p','applications/welcome')"
> rm NEWINSTALL
> fi
sudo -u uwsgi python$PREFIX -c "from gluon.main import save_password;from gluon import widget;save_password('$PW',443);widget.console()"