Now I see the problem.

For now you should be able to do

echo '' > NEWINSTALL
python web2py.py -a 'hello'
Ctrl+C

when starting with apache the first time it skips the logic to create 
welcome.w2p.


On Thursday, 7 June 2012 23:33:18 UTC-5, JoeCodeswell wrote:
>
> Hi Massimo. Thanks for the reply. I DID do what you said to do. Here are 
> the commands i ran. 
>
>
> [web2py]$ echo '' > NEWINSTALL
> [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
> [web2py]$ cd ..
> [w2p27]$ ls
> apache2  htdocs  web2py  web2py_src.zip
> [w2p27]$ cd apache2/bin
> [bin]$ ./stop
> [bin]$ ./start
> [bin]$ cd ../../web2py
> [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
>
>  
>
> I still don't see any *welcome.w2p* in the *web2p*y directory. In 
> addition, i think the purpose of the   $ echo '' > NEWINSTALL command was 
> to create the NEWINSTALL file. However, i am NOT sure, but i believe,  that 
> file already existed as shown by the $ ls of the web2py directory in my 
> original post.
>
> Is there something else I need to do?
>
> Thanks in advance.
>
> Love and peace,
>
> Joe
>
> On Thursday, June 7, 2012 7:53:47 PM UTC-7, Massimo Di Pierro wrote:
>>
>> cd web2py
>> echo '' > NEWINSTALL
>>
>> then web2py will create a welcome.w2p for you.
>>
>> On Thursday, 7 June 2012 20:47:02 UTC-5, JoeCodeswell wrote:
>>>
>>> This is a continuation of the "web2py still unable to create 
>>> application on 
>>> WebFaction<https://groups.google.com/forum/#!searchin/web2py/welcome.w2p/web2py/5eM4OTq-K1Q/Eru0UlZ8bs0J>"
>>>  
>>> topic.
>>>
>>> When creating a new simple app from the web admin interface i get 
>>> "unable to create application "newapp" (it may exist already)".  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. 
>>>
>>> I checked and there is NO *welcome.w2p *in the  *web2py* directory. 
>>> Here are the ssh commands i used to upgrade.  
>>>
>>>
>>> $ cd PATH/w2py/apache2/bin
>>> $ ./stop
>>>
>>> $ cd ../..
>>> $ rm web2py_src.zip
>>>
>>> $ wget -q http://www.web2py.com/examples/static/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
>>>
>>>
>>> I can see the site in a browser and get to the web-admin interface. I 
>>> cloned the Movuca demo from GitHub and it seems to be working. But when I 
>>> create a new simple app from the web admin interface I still get "unable to 
>>> create application "newapp" (it may exist already)". And subsequent $ 
>>> lscommands show there is STILL NO 
>>> *welcome.w2p *in the  *web2py* directory.
>>>
>>> I hope I have been clear enough in my description. Here is my question. 
>>>
>>> How can i get a *welcome.w2p *into the *web2py* directory so i can 
>>> create a new simple app from the web admin interface?
>>>
>>> Thanks for the help. 
>>>
>>> Love and peace,
>>>
>>> Joe
>>>
>>>

Reply via email to