Try upgrading to the latest version -- I encountered this in an older
version of webpy (it's related to the optional ability of db.py to use
connection pooling for performance).
-Justin
On Jan 25, 7:44 am, [EMAIL PROTECTED] wrote:
> Traceback (most recent call last):
> File "/home/mark/work/rss/web/webapi.py", line 303, in wsgifunc
> result = func()
> File "/home/mark/work/rss/web/request.py", line 125, in <lambda>
> func = lambda: handle(inp, fvars)
> File "/home/mark/work/rss/web/request.py", line 61, in handle
> return tocall(*([urllib.unquote(x) for x in args] + fna))
> File "/home/mark/work/rss/user.py", line 79, in proxyfunc
> return func(self, *args, **kw)
> File "/home/mark/work/rss/user.py", line 452, in POST
> doesexist = web.db.query("select * from users where email = $i.email",
> vars=locals())
> File "/home/mark/work/rss/web/db.py", line 365, in query
> db_cursor = web.ctx.db_cursor()
> File "/home/mark/work/rss/web/db.py", line 298, in db_cursor
> globals()['db'] = PooledDB(dbapi=db, **keywords)
> TypeError: __init__() takes at least 2 non-keyword arguments (1 given)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---