[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 into the

[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,

[web2py] Re: Rocket errors on importing python library

2012-03-27 Thread Rohan
any updates? On Monday, 26 March 2012 20:03:07 UTC+5:30, Rohan wrote: Web2py Version 1.99.7 (2012-03-04 22:12:08) stable Python 2.7.2+ I am trying to load external library from python ( http://pypi.python.org/pypi/readability-lxml/0.2.3) import urllib2 import readability