Has anything changed at tip in the view parser? Looks like there may be a problem now with colons at the end of comment lines. I have a view with the following that was working fine before I updated this morning.
{{ ## On entry, vars returned by controller are: ## problem, c, s, sc, wsc, problemid, currenthash, nparticipants bulbicon = URL(r=request, c="static", f="lightbulb32.png") gaugeicon = URL(r=request, c='static', f="gauge.png") ... *After updating it started issuing tickets about "Missing pass in view" and the ticket listing showed an unexpected indentation. * * * ## On entry, vars returned by controller are: ## problem, c, s, sc, wsc, problemid, currenthash, nparticipants bulbicon = URL </examples/global/vars/URL>(r=request </examples/global/vars/request>, c="static", f="lightbulb32.png") gaugeicon = URL </examples/global/vars/URL>(r=request </examples/global/vars/request>, c='static', f="gauge.png") ... Removing the colon at the end of the comment fixed it. * * On Thu, Jul 29, 2010 at 8:19 AM, Michael Ellis <michael.f.el...@gmail.com>wrote: > Testing under way... > > (Iceberg, I'm running OS X 10.6.4) > > Cheers, > Mike > > > > On Thu, Jul 29, 2010 at 2:57 AM, mdipierro <mdipie...@cs.depaul.edu>wrote: > >> Mike, >> >> I modified the expire_sessions.py in trunk and added a >> try:...execept... If the problem was that a file was locked and the >> cron task got stuck, it may be solved now. Can you test it? >> >> Massimo >> >> On Jul 28, 4:10 pm, MikeEllis <michael.f.el...@gmail.com> wrote: >> > Update: (Summarizes a couple of emails exchanged with Massimo) >> > >> > Yesterday I found that my instance of web2py appeared be "leaking" >> > processes at about 1 per hour. Massimo suggested running with -N to >> > disable cron. I started two instances this way -- one under winpdb >> > and another directly. They've been running almost 24 hours now and >> > neither has added any processes. As noted earlier, my app has nothing >> > in crontab. The admin and examples apps have the crontabs that are "as >> > shipped" in v1.85. >> > >> > Cheers, >> > Mike >> > >> > On Jul 27, 12:17 pm, Jonathan Lundell <jlund...@pobox.com> wrote: >> > >> > > On Jul 27, 2010, at 9:01 AM, Michael Ellis wrote: >> > >> > > > Thanks for the info about sloth. I may try it later. It was pretty >> easy to get what I needed with ipython: >> > >> > > > procs = !ps ax | grep "web2py" >> > > > pids = [r[0] for r in procs.fields()[0:-2]] >> > > > for p in pids: >> > > > print p >> > > > !lsof | grep $p | wc >> > >> > > Also: sudo launchctl limit maxfiles >> > >> > > I see 256 by default. The second limit is the "hard limit", beyond >> which you can't configure (unlimited in this case). >> > >> > >http://serverfault.com/questions/15564/where-are-the-default-ulimits-. >> .. >> > >