Massimo,

I'm not sure if this is a related issue, but I see the following when
I run...

r...@vm-debian-5:/opt/web2py# ./web2py.py -S admin -M
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...
Traceback (most recent call last):
  File "/opt/web2py/gluon/restricted.py", line 107, in restricted
    exec ccode in environment
  File "applications/admin/models/access.py", line 34, in <module>
    port = int(request.env.server_port)
TypeError: int() argument must be a string or a number, not 'NoneType'

The syntax listed below works fine without the -M

r...@vm-debian-5:/opt/web2py# ./web2py.py -S admin
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...
WARNING:root:import IPython error, use default python shell
Python 2.5.2 (r252:60911, Jan  4 2009, 17:40:26)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>>


Christopher



mdipierro wrote:
> You found a bug!
>
> Will fix it now.
>
> On May 22, 9:35 am, cesmiga <[email protected]> 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 <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to