On Mar 29, 9:27 am, ciastek <ciasteczk...@gmail.com> wrote:
> I've had the same problem ("unable to create application") on Ubuntu
> JeOS 8.04.3 configured as shown athttp://vimeo.com/10377947[
> web2py production deployment on vps.net (VIDEO) by mdipierro].
> Ubuntu fully upgraded, web2py installed using setup-web2py-ubuntu.sh
> script.
> Running web2py from console once, resolved the problem.

Just to be sure there is not mystery / this is clear:

When you start web2py from the console with no arguments, you are
asked to config various things (port, admin password);
You can also do this from the command line (in which case, no config-
gui comes up prior to starting the built-in server).

When you run from other than the built-in server, there is no setup:
the port and admin password must exist _somewhere_!

The way you create this information is to run from the console "once"
- because what this does is create a file:
parameters_{port_number}.py, which is then used at startup.

So (for example):

    $ python web2py.py -a 'hello'

will create  parameters_80.py   (the default port is 80).

You can edit, or copy this file - if you want to use the same
password, but on port 432, just copy this file (for example) to:
parameters_432.py

In any case, the parameters file is used to supply "command-line"
parameters when not running from the command line.

Hope this takes the mystery out of it.

Regards,
Yarko
> IMHO the source of problem is absence of web2py/deposit and web2py/
> site-packages directories.
> mdipierro - web2py rox! :)
> -- ciastek
>
> On Mar 22, 4:01 am, KMax <mkostri...@gmail.com> wrote:
>
> > Hello
> >   My web2py instalation (1.73 and newer) was affected by the same
> > issue.
> >   Running on debian by wsgi apache2. Installed by unzipping
> > web2py_src.zip in to fresh folder and coping parameters_443.py.
> >   Creation of newapplicationgive an error flash "unabletocreateapplication."
>
> >   Workaround was found accidently.
> >   Starting web2py.by at console ( typing pass and quit ) solve issue
> > at apache.
>
> > Thank you.
> > On 3 ÍÁÒ, 00:13, snfctech <tschm...@sacfoodcoop.com> wrote:
>
> > > Fedora10 web2py1.76.1 apache2/mod_wsgi
>
> > > I thought all errors generated tickets? šWhen I try tocreatean app
> > > via the admin over HTTPS on a LAN all I get is an error flash "unable
> > > tocreateapplication." šIt's not an apache permission issue because
> > > it does the same thing if all my files and dirs have 777 permissions.
> > > I don't get any apache errors in the error log and the only funny
> > > thing I get in the access log is a 303 code from the POST request to
> > > admin/default/site. šSomething must not be working out with
> > > gluon.admin.app_create.
>
> > > How should I troubleshoot this type of error, or does anybody have an
> > > idea what's going on?
>
> > > I'm going to start dissecting the app_create function - but my python
> > > skills are still pretty weak and I was hoping there would just be a
> > > good error log somewhere...
>
> > > Thanks in advance for any tips.

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@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