[web2py] Re: web2py book now free in PDF

2012-12-17 Thread Unyo
much thanks 3 you've definitely developed one of the best web frameworks i've used so far On Tuesday, June 12, 2012 3:17:46 AM UTC-10, Massimo Di Pierro wrote: The official web2py book is now free for everybody: https://dl.dropbox.com/u/18065445/web2py/web2py_manual_4th.1.pdf Massimo --

[web2py] Re: Rocket errors on importing python library

2012-04-08 Thread Unyo
rocket breaks sometimes if you have limited memory, try entering ulimit -s 1024 into the shell before executing web2py. Not sure why it works, but it does. On Tuesday, March 27, 2012 3:33:58 AM UTC-10, Rohan wrote: any updates? On Monday, 26 March 2012 20:03:07 UTC+5:30, Rohan wrote:

[web2py] Re: Rocket errors on importing python library

2012-04-08 Thread Unyo
rocket breaks sometimes if you have limited memory, try entering ulimit -s 1024 into the shell before executing web2py. Not sure why it works, but it does.

[web2py] Re: Rocket errors on importing python library

2012-04-08 Thread Unyo
Also, how in the world did you enable debugging? I want to see if the minthreads and maxthreads settings passed via command string actually work. On Saturday, April 7, 2012 8:08:51 PM UTC-10, Unyo wrote: rocket breaks sometimes if you have limited memory, try entering ulimit -s 1024

[web2py] Re: Rocket errors on importing python library

2012-04-08 Thread Unyo
Try editing the readability logger to specify a logger name instead of just the root: https://github.com/buriy/python-readability/blob/master/readability/htmls.py -logging.getLogger().setLevel(logging.DEBUG) +logging.getLogger('readability').setLevel(logging.DEBUG) On Tuesday, March 27,

Re: [web2py] no more cherrypy wsgiserver

2012-04-07 Thread Unyo
When web2py switched from cherrypy to rocket, now I can't seem to start it on any resource-constrained VPNs (currently running w/ 96MB RAM). To me, this is a really big downer since I love web2py's ability to create prototype applications using nothing but a shell and a browser (using minimal

[web2py] Re: web2py rocket error on vps

2012-03-25 Thread Unyo
I finally figured out why this is happens. If you have a small VPN like i do (tinyvpn on ipxcore, 96MB ram), the thread size (8MB) will cause a very small amount of threads to be allowed. To fix this, enter the command below: ulimit -s 1024

[web2py] Autocomplete Widget - contains() instead of startswith()

2011-02-05 Thread Unyo
Hi, The autocomplete widget currently searches for fields starting with whatever the user puts in. Is there any way to change this behavior to be like contains() rather then startswith()? A section of my db.py is below: db.define_table('building', Field('name'), format='%(name)s')