Re: Controller name

2008-05-28 Thread Christoph Haas
Hi, Antonia... first of all: please don't hijack threads. Start a new thread if you want to post to this list. Don't just reply to a random posting. On Mittwoch, 28. Mai 2008, Antonio Beamud Montero wrote: How I can get the controller name in the actual template context. For example, a

Re: Controller name

2008-05-28 Thread Antonio Beamud Montero
El mié, 28-05-2008 a las 12:50 +0200, Christoph Haas escribió: Hi, Antonia... first of all: please don't hijack threads. Start a new thread if you want to post to this list. Don't just reply to a random posting. I'm sorry. It's a new thread, not a hijacked one, I only forgot to delete the

Controller name

2008-05-28 Thread Antonio Beamud Montero
Hi all: How I can get the controller name in the actual template context. For example, a site.mako template used by several controllers, I want to show the controller name with something like this: ${c.name} It's possible or I must define a property for every controller with it's name?

Re: Controller name

2008-05-28 Thread Christoph Haas
On Mittwoch, 28. Mai 2008, Antonio Beamud Montero wrote: El mié, 28-05-2008 a las 12:50 +0200, Christoph Haas escribió: first of all: please don't hijack threads. Start a new thread if you want to post to this list. Don't just reply to a random posting. I'm sorry. It's a new thread, not a

Pylons Doc as compiled windows help file (chm)

2008-05-28 Thread Andrew Smart
Hi folks, after playing around with epydoc and a epydoc-to-chm conversion script for my own projects (and getting acceptable results) I tried the same without any further preperation for the Pylons 0.9.6.1 / Webhelpers 0.3.2 versions I currently use. I also did a try with paste but the

Re: Controller name

2008-05-28 Thread Mike Orr
On Wed, May 28, 2008 at 3:50 AM, Christoph Haas [EMAIL PROTECTED] wrote: Hi, Antonia... first of all: please don't hijack threads. Start a new thread if you want to post to this list. Don't just reply to a random posting. On Mittwoch, 28. Mai 2008, Antonio Beamud Montero wrote: How I can

Re: How did you begin your fun with Pylons?

2008-05-28 Thread Jonathan Vanasco
On May 22, 6:07 pm, Shannon -jj Behrens [EMAIL PROTECTED] wrote: Ben Bangert and I decided to meet for dinner in Berkeley.  I got very lost and ended up in Oakland.  I finally got to the restaurant an hour late.  Ben had already eaten.  We had a good talk about Web development.  He told me

beaker session without cookie

2008-05-28 Thread lapcchan
i am wondering if it is possible to get back the session data by id with no cookie access. i have run thru the source code and found out session.get_by_id(sessionid). but it always return None. there is only one cookie item so i am sure i have the correct session id. rgds, Vincent

Re: Controller name

2008-05-28 Thread jerry
Hi Mike, c.controller auto-assignment doesn't seem to be implemented in Routes1.8 -- (Pdb) list 22 def index(self): 23 import pdb; pdb.set_trace() 24 - #c.url_for_action = 'index' (Pdb) !c.controller 16:15:01,505 DEBUG [pylons.util] No attribute called

advice with configuration/scaling a live Pylons app.

2008-05-28 Thread SamDonaldson
Hello all. I've been using Pylons/Paster for quite some time now and am deploying it live to very high webtraffic. My current configuration is the following: Lighttpd (serves as reverse proxy, with mod_scgi) Paster (flup SCGI) -- Only one [server:main] setup, so only 1 paster process I wanted

Pylons Security Advisory - Pylons 0.9.6.2 released

2008-05-28 Thread Ben Bangert
Pylons Security Advisory Topic:Path traversal bug in default error controller Module: controllers/error.py Announced:2008-05-15 Credits: Webwise Security Affects: All Pylons releases with Routes 1.7.3 Corrected:Routes 1.7.3 or greater

Re: Pylons Security Advisory - Pylons 0.9.6.2 released

2008-05-28 Thread Ben Bangert
On May 28, 2008, at 1:31 PM, Ben Bangert wrote: Pylons Security Advisory Topic:Path traversal bug in default error controller Module: controllers/error.py Announced:2008-05-15 Credits: Webwise Security Yes, I know I have the wrong date in the

Re: Pylons Security Advisory - Pylons 0.9.6.2 released

2008-05-28 Thread Jonathan Vanasco
Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For

Re: advice with configuration/scaling a live Pylons app.

2008-05-28 Thread Jonathan Vanasco
have you been profiling your db at all? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send

Re: advice with configuration/scaling a live Pylons app.

2008-05-28 Thread SamDonaldson
Yes, we've profiled the db. Are you asking because of the concern over failed requests in the ab benchmark test? On May 28, 2:04 pm, Jonathan Vanasco [EMAIL PROTECTED] wrote: have you been profiling your db at all? --~--~-~--~~~---~--~~ You received this message

Re: advice with configuration/scaling a live Pylons app.

2008-05-28 Thread Jonathan Vanasco
On May 28, 5:24 pm, SamDonaldson [EMAIL PROTECTED] wrote: Yes, we've profiled the db.  Are you asking because of the concern over failed requests in the ab benchmark test? 1- The first bottleneck anyone hits is the usually the DB 2- You can get some idea of how connection pooling is working

Re: Controller name

2008-05-28 Thread Mike Orr
Hmm, it looks like it does it only for variables listed in the action's arguments. (In pylons.controllers.core.WSGIController._inspect_call()). I thought it did it for all routing args. So you could define your action as: def.__before__(self, controller): # Sets c.controller

Re: advice with configuration/scaling a live Pylons app.

2008-05-28 Thread SamDonaldson
Yes, lighttpd serving static and all dynamic requests forwarded to the paster process talking SCGI. Should I make the switch to nginx as it seems like everybody has something good to say about nginx, and it's a good load balancer. Also, is the fact that I'm only running a single paster process

Re: advice with configuration/scaling a live Pylons app.

2008-05-28 Thread Jonathan Vanasco
On May 28, 6:12 pm, SamDonaldson [EMAIL PROTECTED] wrote: Should I make the switch to nginx as it seems like everybody has something good to say about nginx, and it's a good load balancer. I'm biased against lighttpd from experience 2 years ago, so won't comment. I will say that it would be