You found a bug!

Will fix it now.

On May 22, 9:35 am, cesmiga <cesm...@gmail.com> wrote:
> Massimo,
>
> Here is what I see when I try to create a new application with the
> latest Web2Py.  From the webUI, I have no problem creating a new
> application.
>
> Christopher
>
> ++++++++++++++++++++++++++++++++++++++++++++++
>
> r...@vm-debian-5:/opt/web2py# ./web2py.py -S testApp
> WARNING:root:Informix support is experimental
> WARNING:root:GUI not available because Tk library is not installed
> default applications appear to be installed already
> web2py Enterprise Web Framework
> Created by Massimo Di Pierro, Copyright 2007-2009
> Version 1.62.3 (2009-05-19 23:25:03)
> Database drivers available: SQLite3, Postgre, Informix
> Starting cron...
> application testApp does not exist, create (y/n)?y
> Traceback (most recent call last):
>   File "./web2py.py", line 20, in <module>
>     gluon.widget.start(cron=True)
>   File "/opt/web2py/gluon/widget.py", line 752, in start
>     import_models=options.import_models, startfile=options.run)
>   File "/opt/web2py/gluon/shell.py", line 141, in run
>     gluon.fileutils.untar('welcome.tar', adir)
>   File "/opt/web2py/gluon/fileutils.py", line 151, in untar
>     _extractall(file, dir)
>   File "/opt/web2py/gluon/fileutils.py", line 133, in _extractall
>     return _cls(filename, 'r').extractall(path, members)
>   File "/usr/lib/python2.5/tarfile.py", line 1062, in __init__
>     fileobj = file(name, self.mode)
> IOError: [Errno 2] No such file or directory: 'welcome.tar'
>
> +++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Here is what I see in the directory.
>
> r...@vm-debian-5:/opt/web2py# ls -l applications/testApp/
> total 4
> drwxr-xr-x 2 root root 4096 2009-05-22 06:35 cron
>
> mdipierro wrote:
> > Have you tried?
>
> > web2py.py -h
>
> > On May 22, 8:47 am, cesmiga <cesm...@gmail.com> wrote:
> > > All:
>
> > > I'm looking for documentation about how to create a web2py application
> > > from the shell.  Does anyone have information on this?  Also, does
> > > anyone have information about the Web2Py shell and/or DAL.
>
> > > Thank you,
> > > Christopher
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to