Re: Multiple questions about i18n / pluralization in Pyramid

2013-05-29 Thread Laurent DAVERIO
Hello again, this is a follow-up to my own post. I'm slowly working my way towards the light ;-) 1/ After looking at the docs and the source code, I'm more and more convinced that Babel can't handle pluralization. Do you have any hint on the issue? All my apologies to Babel developers.

Re: Trouble storing Suds SOAP client in Configurator registry

2013-05-29 Thread ian marcinkowski
Thanks! I will take a look at that. On Tue, May 28, 2013 at 4:50 PM, Michael Merickel mmeri...@gmail.com wrote: FWIW, if you need a threadsafe connection pool and are already using SQLAlchemy for something else, the QueuePool is not db-api specific at all and can be reused for arbitrary

Re: Multiple questions about i18n / pluralization in Pyramid [SOLVED]

2013-05-29 Thread Laurent DAVERIO
Hello again, one final word, in case someone is interested (apart from me, I mean ;-)) Then, extract messages using: python setup.py extract_messages -k _p More precisely: python setup.py extract_messages -k _p:1,2 The argument _p:1,2 will tell Babel that arguments 1 and 2 of function

unit/functional test issue with SQLAlchemy

2013-05-29 Thread Aaron Krister Johnson
Hi, First of all, thanks for all the hard work and quality that goes into Pyramid to Chris and his team! At my job, we're using Pyramid to do a massive migration from both legacy ASP code and also Pylons code. I'm doing some unit and functional tests on my views and I have a couple of

issue(s) with unit and functional tests and Zope TM/SQLAlchemy

2013-05-29 Thread Aaron Krister Johnson
Hi all, First, thanks to Chris M. and the whole Pyramid team for a wonderful piece of software! Now, to my questions: I'm hitting a real wall, after having spend hours and hours trying to figure out various permutation of setup for this. I'd like to know a couple of things: how to best

Re: pyramid_persona and unexpected logout behavior

2013-05-29 Thread Peter Santoro
Georges, Thank you for the new version, but I believe the issue that I encountered is different. I believe the customized login view sample code is incomplete (at least for persona novices). Isn't the user already logged in via persona by the time the login function determines that the email

Re: unicode error?

2013-05-29 Thread Craig Sabbey
Thank you, Jonathan - this line in my development.ini makes the mako templates use the utf8 decoder: mako.default_filters = decode.utf8 ... and for the pyodbc+mssql utf8 issue, the trick seemed to be to use Python 3.2 instead of 2.7 (I didn't try others), then this got the data decoded from

Re: pyramid_persona and unexpected logout behavior

2013-05-29 Thread Jonathan Vanasco
i'm not sure if this applies or not, but Safari doesn't accept cookies on a redirect. Most (possibly all) of the other browsers do. So if you're setting a cookie and then redirecting, Safari ignores it. -- You received this message because you are subscribed to the Google Groups

scribe logging (thrift) under pryramid ?

2013-05-29 Thread Jonathan Vanasco
has anyone here done logging with scribe under pyramid? if so, a few quick questions: 1. which library did you use ? or did you just install the default lib ? 2. do you know if it's safe to use a global thrift Transport , thrift Protocol or Scribe Client - or if they should be per-request ?

Re: Collect presentation material

2013-05-29 Thread Steve Piercy
I think that's a useful idea. Suggest using: github.com/Pylons/pyramid_presentations ...which would be consistent with: github.com/Pylons/pyramid_* // lots of repos with this pattern ...and would clearly indicate the presentations are for pyramid. I noticed that GitHub has a service

Re: Collect presentation material

2013-05-29 Thread Chris McDonough
On Wed, 2013-05-29 at 11:59 -0700, Rach Belaid wrote: Hello We started 2 months ago the first Pyramid meetup in London. It makes me realize that It can be a bit tricky to find a talk ideas, or being able to adjust it to the right audience level (newcomers, or already pyramid users)