[web2py] Deployment recipes chapter in book needs new handlers directory

2013-11-06 Thread ptressel
Are we still reporting errata for the book in the forum? (Wasn't sure whether to revive the old thread that asked this.) If so... The deployment recipes chapter in the book... http://web2py.com/books/default/chapter/29/13/deployment-recipes ...has references to wsgihandler.py and fcgihandler.py

[web2py] Re: Best practice using scheduler as a task queue?

2012-06-27 Thread ptressel
Michael -- Here's a common scenario. I'm looking for the best implementation using the > scheduler. > > I want to support a set of background tasks (task1, task2...), where each > task: > • processes a queue of items > • waits a few seconds > > It's safe to have task1 and task2 running in pa

[web2py] Re: Powertable and DAL count

2011-10-31 Thread ptressel
> Note, technically that last version (i.e., the actual SQL expression) could > be DB specific, so it's best to use the variable (i.e., datasource[count1]). Aha! Thanks for correcting that, Anthony! -- Pat

[web2py] Re: Powertable and DAL count

2011-10-31 Thread ptressel
Hi, Wes! I didn't get back online til after you had left -- sorry! On Oct 30, 10:57 am, Wes Hall wrote: > I am trying to show a grouped count in a powertable. How do I > reference the count's storage object? > > > def event_list(): >     class Virtual(object): >         @virtualsettings(label='C

[web2py] Can cron be disabled via options.py?

2010-06-27 Thread ptressel
I'd like to disable cron without use of a command line option. This is for testing -- I'm running with pychecker and am not starting web2py from the command line. So I can't use -N...but I also can't use --config. Is there any other way to specify options, or an options file? Thanks! -- Pat Tr

[web2py] Re: web2py 1.78.2

2010-05-19 Thread ptressel
On May 18, 6:31 am, mdipierro wrote: > Please use 1.78.3 For those of us who have it checked out from launchpad, that's rev 1900, no? Thanks! -- Pat