[web2py:16338] web2py + postgresql = connection limit exceeded for non-superusers

2009-02-14 Thread ionel
Hello everyone, I have this error: Traceback (most recent call last): File "gluon/restricted.py", line 62, in restricted exec ccode in environment File "/home/web2py/site/web2py/applications/docs/models/db.py", line 1, in db=SQLDB('postgres://user:p...@localhost:5432/db1') File "g

[web2py:16337] problems running web2py with GAE locally

2009-02-14 Thread Miguel Goncalves
Hi I am trying to setup a new project (using web2py version in trunk) and got the following error when trying to access the application /welcome/default/index.html INFO 2009-02-15 00:03:12,543 dev_appserver.py] "GET /welcome/default/index HTTP/1.1" 200 - DEBUG2009-02-15 00:03:12,543 dev_

[web2py:16336] Re: How to create a REST service

2009-02-14 Thread BearXu
So the gluon.tools maybe can integrate this and OAuth. 2009/2/13 Fran > > On Feb 13, 7:25 pm, Miguel Goncalves > wrote: > > I would like to create a RESTfull web service with web2py using JSON as > the > > 'encoding' format. > > I have a RESTlike controller documented here: > https://trac.sahan

[web2py:16335] Re: Web2py requires being run in CWD

2009-02-14 Thread BigBaaadBob
Incidentally, it looks like VERSION gets read in two places (main and widget). Why is that? On Feb 14, 3:57 pm, BigBaaadBob wrote: > Suppose you: > > $ mkdir foo > $ cd foo > $ wgethttp://mdp.cti.depaul.edu/examples/static/web2py_src.zip > $ unzip web2py_src.zip > > That leaves you with web2py

[web2py:16334] Re: wsgi webfaction how-to

2009-02-14 Thread yarko
Progress report: Sean of Webfaction support pointed out 2 things: [1] I cannot change the assigned port for my app (restored to what they assigned); [2] wsgihandler.py needs to change: --- *** wsgihandler.py.new Sat Feb

[web2py:16333] Web2py requires being run in CWD

2009-02-14 Thread BigBaaadBob
Suppose you: $ mkdir foo $ cd foo $ wget http://mdp.cti.depaul.edu/examples/static/web2py_src.zip $ unzip web2py_src.zip That leaves you with web2py in the web2py subdir. If you then: $ python web2py/web2py.py Traceback (most recent call last): File "web2py/web2py.py", line 7, in from g

[web2py:16332] Re: Multiple Forms Issue

2009-02-14 Thread jlegler
Actually, looking at this a bit closer, your second form is making a call against db.recurso which changes your formkey and makes web2py think you are tampering with the form when you try to submit the first form. If I were you and wanted to make this really easy, I would make sure I am running w

[web2py:16331] Re: wsgi webfaction how-to

2009-02-14 Thread yarko
Well, I'm trying this and having trouble: First: LoadModule access_module modules/mod_access.so mod_access module has been renamed, so as of today, I needed to change this to: LoadModule authz_host_module modules/mod_auth

[web2py:16330] Re: Multiple Forms Issue

2009-02-14 Thread jlegler
Do you have anything in the view or are you just using a generic view? On Feb 13, 12:41 pm, vamaq wrote: > Hi everybody, > > I'm having a problem with a multiple form page. When I submit the > first form (called form) I get the "user is tampering with form" error > at the trace. > > The model is

[web2py:16329] Re: Multiple Forms Issue

2009-02-14 Thread DenesL
Most likely a bug in sqlhtml.py, it fails in form3.accepts after form1 submit. I have to go, I would need more time to figure out why it fails... Massimo will probably fix it before I get back to it ;-) --~--~-~--~~~---~--~~ You received this message because you a

[web2py:16328] Re: Possible bug with Auth using postgresql and web2py 1.56.2

2009-02-14 Thread jlegler
Okay, thanks. I will see if I can find any side effects from doing that. I'll also see if I can figure out why it behaves in sqlite and if it behaves in mysql. Perhaps this is a good reason to not use postgresql. -Jason On Feb 14, 1:21 am, Fran wrote: > On Feb 14, 12:28 am, jlegler wrote: >

[web2py:16327] Re: Modified Preorder Tree Traversal in Web2Py?

2009-02-14 Thread mdipierro
All I mean by packaging is add any other function that may be useful and try document the example. You way also want to post it somewhere for other people to use it. Thanks for bringing this up. It is interesting. Massimo On Feb 13, 4:30 pm, sociotech wrote: > Massimo, > > Thanks very much for

[web2py:16326] Re: Possible bug with Auth using postgresql and web2py 1.56.2

2009-02-14 Thread Fran
On Feb 14, 12:28 am, jlegler wrote: > The database seems to be complaining about a foreign key violation > while trying to add the user because there is no user with an ID of > 0.  It is behaving like it tries to update auth_event with the id of a > user when no user is logged in (because the use