Re: Recent i18n Pylons changes

2006-12-19 Thread Pedro Algarvio, aka, s0undt3ch
Is it because since it's inside a it's considered to already be a string, hence does not look for a _() call inside? Pedro Algarvio --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post

Re: Recent i18n Pylons changes

2006-12-19 Thread Max Ischenko
On 12/19/06, Shannon -jj Behrens [EMAIL PROTECTED] wrote: I'm currently working on the extraction from genshi with help from http://genshi.edgewall.org/wiki/GenshiRecipes/Localization, but the regex presented there is too narrow. So far I've succeeded on extending it a bit more, I can

Re: Recent i18n Pylons changes

2006-12-19 Thread Pedro Algarvio, aka, s0undt3ch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Max Ischenko wrote: On 12/19/06, Shannon -jj Behrens [EMAIL PROTECTED] wrote: I'm currently working on the extraction from genshi with help from http://genshi.edgewall.org/wiki/GenshiRecipes/Localization, but the regex presented there is too

Re: Recent i18n Pylons changes

2006-12-19 Thread Max Ischenko
On 12/19/06, Pedro Algarvio, aka, s0undt3ch [EMAIL PROTECTED] wrote: http://trac.turbogears.org/turbogears/browser/trunk/turbogears/toolbox/admi18n/catalog.py http://trac.turbogears.org/turbogears/browser/trunk/turbogears/command/i18n.py#L163 Last few days I've been looking quite a lot on

Re: Recent i18n Pylons changes

2006-12-19 Thread Shannon -jj Behrens
On 12/18/06, Pedro Algarvio, aka, s0undt3ch [EMAIL PROTECTED] wrote: Shannon -jj Behrens wrote: I'm currently working on the extraction from genshi with help from http://genshi.edgewall.org/wiki/GenshiRecipes/Localization, but the regex presented there is too narrow. So far I've

Re: Recent i18n Pylons changes

2006-12-19 Thread Shannon -jj Behrens
On 12/19/06, Pedro Algarvio, aka, s0undt3ch [EMAIL PROTECTED] wrote: Is it because since it's inside a it's considered to already be a string, hence does not look for a _() call inside? It's true that xgettext will try to be smart about the syntax of the language at hand and not look inside

Re: Recent i18n Pylons changes

2006-12-19 Thread Pedro Algarvio, aka, s0undt3ch
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shannon -jj Behrens wrote: On 12/18/06, Pedro Algarvio, aka, s0undt3ch [EMAIL PROTECTED] wrote: Shannon -jj Behrens wrote: I'm currently working on the extraction from genshi with help from

Re: Recent i18n Pylons changes

2006-12-19 Thread Shannon -jj Behrens
On 12/19/06, Pedro Algarvio, aka, s0undt3ch [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shannon -jj Behrens wrote: On 12/18/06, Pedro Algarvio, aka, s0undt3ch [EMAIL PROTECTED] wrote: Shannon -jj Behrens wrote: I'm currently working on the extraction from

new project and so many files

2006-12-19 Thread Max Ischenko
Hello, I have created a Pylons project (with paster create --template=pylons qw) and I am a bit intimidated with amount of data pre-generated for me: 33 files with 573 lines in them (16Kb)! Similar situation in TurboGears, btw. Is it really necessarily? Is it because no one yet figured out how

Re: new project and so many files

2006-12-19 Thread James Gardner
Hi Max, Is it really necessarily? Is it because no one yet figured out how to simplify things or this approach does provide some benefits? Well, it's a simple case of trying to make things as simple as possible but leaving everything in there that a developer is actually going to use. If

Re: Pylons 0.9.3 and pylons.database module...

2006-12-19 Thread programmer.py
Hmm, I do not have any `log' related settings in my .ini file. I'm on windows, so I don't think it is a file permissions issue. Let me RTFM a bit and see if I can find info on these logging settings. I'm at a loss. I created a simple `helloworld' app, and it does not have any logging settings

Re: Pylons 0.9.2 - where did my logging info go?

2006-12-19 Thread programmer.py
Ok. I found my problem, or at least a fix. It seems that the paste.translogger middleware was automagically being used in previous versions of pylons. But 0.9.3 doesn't automagically do this for you. To fix this, I edited my middleware.py file - from paste.translogger import TransLogger #

Re: new project and so many files

2006-12-19 Thread Ian Bicking
Max Ischenko wrote: Hello, I have created a Pylons project (with paster create --template=pylons qw) and I am a bit intimidated with amount of data pre-generated for me: 33 files with 573 lines in them (16Kb)! Similar situation in TurboGears, btw. Is it really necessarily? Is it because

Re: new project and so many files

2006-12-19 Thread Shannon -jj Behrens
On 12/19/06, Max Ischenko [EMAIL PROTECTED] wrote: Hello, I have created a Pylons project (with paster create --template=pylons qw) and I am a bit intimidated with amount of data pre-generated for me: 33 files with 573 lines in them (16Kb)! Similar situation in TurboGears, btw. Is it

Re: new project and so many files

2006-12-19 Thread Mike Orr
On 12/19/06, Max Ischenko [EMAIL PROTECTED] wrote: I have created a Pylons project (with paster create --template=pylons qw) and I am a bit intimidated with amount of data pre-generated for me: 33 files with 573 lines in them (16Kb)! Similar situation in TurboGears, btw. The Pylons

Re: new project and so many files

2006-12-19 Thread Ben Bangert
On Dec 19, 2006, at 11:39 AM, Mike Orr wrote: The Pylons Execution Analysis I posted last week (http://sluggo.scrapping.cc/python/) may help to get a handle on those files and how the framework uses them. It's a bit too detailed for beginners but I wanted to get everything down for

Re: new project and so many files

2006-12-19 Thread Ian Bicking
Mike Orr wrote: On 12/19/06, Max Ischenko [EMAIL PROTECTED] wrote: I have created a Pylons project (with paster create --template=pylons qw) and I am a bit intimidated with amount of data pre-generated for me: 33 files with 573 lines in them (16Kb)! Similar situation in TurboGears, btw.

Re: new project and so many files

2006-12-19 Thread Shannon -jj Behrens
On 12/19/06, Ben Bangert [EMAIL PROTECTED] wrote: On Dec 19, 2006, at 11:39 AM, Mike Orr wrote: The Pylons Execution Analysis I posted last week (http://sluggo.scrapping.cc/python/) may help to get a handle on those files and how the framework uses them. It's a bit too detailed for

Re: SQLAlchemy, Again

2006-12-19 Thread Jeff Shell
I just came across this thread. I'm not sure if this will help anyone, but this is the implementation I came up with when I was playing around with Pylons + SQLAlchemy a couple of months ago. My experience with Pylons has been limited, and this hasn't been tested under heavy load, but it may

Re: Pudge troubles

2006-12-19 Thread Stephen F. Steiner
On Dec 17, 2006, at 10:02 PM, Ben Bangert wrote: I plan on maintaining pudge for the foreseeable future, or until a better documentation system comes along that will generate not only docs from my source code, but separate docs I designate (to my knowledge, Epydoc doesn't currently do that).

Re: Pudge troubles

2006-12-19 Thread Ben Bangert
On Dec 19, 2006, at 6:22 PM, Stephen F. Steiner wrote: I know you're very busy... Any progress or prognosis for setting up a Pudge SVN? I'm inclined to keep using the 'official' Pudge SVN for now, as I have commit access and its still up. I already have another Pudge SVN

Re: Pudge troubles

2006-12-19 Thread Stephen F. Steiner
On Dec 19, 2006, at 9:36 PM, Ben Bangert wrote: On Dec 19, 2006, at 6:22 PM, Stephen F. Steiner wrote: I know you're very busy... Any progress or prognosis for setting up a Pudge SVN? I'm inclined to keep using the 'official' Pudge SVN for now, as I have commit access

Re: comments on Unicode document

2006-12-19 Thread Damjan
Are we on the same page, or am I still lost? Not lost at all :) Except I'd prefer if all Python API's would be unicode aware, and would not encode/decode until it's utmost necessary. I think it would be nice if the Python DB-API is reviewed and make unicode a requirement (for quieries and

Re: Using Durus with Pylons

2006-12-19 Thread Damjan
And now that I re-read it again I see it's wrong. if 'tls' would've been a global variable it would made some sense --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group,

Re: AuthKit examples for 'forward' auth with Pylons, Myghty?

2006-12-19 Thread TazzleNack
James Gardner wrote: Juat a brief email now to say did you find this page: http://authkit.org/trac/browser/AuthKit/trunk/docs/pylons-lifeproject.txt The above isn't really finished either but I've been working on a complete example and I've nearly finished it so I'll try to get it checked in

Problem with the Flickr tutorial

2006-12-19 Thread Yves-Eric
Hi all, I am evaluation Pylons with the hope of porting a large webapp to it. So far, I am loving it. Thanks for the great work. Now, I am having a small problem with the Flickr tutorial. While it works great in Firefox, I get a javascript error in IE after each ajax request completes. The

Re: Pylons 0.9.2 - where did my logging info go?

2006-12-19 Thread Pedro Algarvio, aka, s0undt3ch
programmer.py wrote: Ok. I found my problem, or at least a fix. It seems that the paste.translogger middleware was automagically being used in previous versions of pylons. But 0.9.3 doesn't automagically do this for you. To fix this, I edited my middleware.py file - from paste.translogger

Re: Pylons 0.9.2 - where did my logging info go?

2006-12-19 Thread Pedro Algarvio, aka, s0undt3ch
Ok, now I actually know what you were refering to in the first place, and my post to your questions was not a valid one. So, sorry for that. Regards, Pedro Algarvio. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Is SVN trunk close to a freeze?

2006-12-19 Thread Bill
I got the ToscaWidgest sample for Pylons running but I had to change a couple of things in the sample's template (lib/base.py lib/helpers.py). The changes involve pylons.util and pylons.helpers references. I checked the Pylons SVN trunk and I see that there has been some refactoring of

Re: Problem with the Flickr tutorial

2006-12-19 Thread Philip Jenvey
On Dec 19, 2006, at 7:49 PM, Yves-Eric wrote: Hi all, I am evaluation Pylons with the hope of porting a large webapp to it. So far, I am loving it. Thanks for the great work. Now, I am having a small problem with the Flickr tutorial. While it works great in Firefox, I get a javascript

Re: new project and so many files

2006-12-19 Thread Mike Orr
On 12/19/06, Mike Orr [EMAIL PROTECTED] wrote: 3) User-defined middleware. This is what make_app() is for. We can prepopulate it with suggested middleware in comments. The transaction logger comes to mind. I would even list popular third-party components like AuthKit; that would give

Re: new project and so many files

2006-12-19 Thread Mike Orr
On 12/19/06, Max Ischenko [EMAIL PROTECTED] wrote: I read it yesterday. Took an hour and a few cups of tea but it was worth it. ;) You did a great work researching and explaining python stack of modern web apps! Thanks. :) -- Mike Orr [EMAIL PROTECTED]

Re: new project and so many files

2006-12-19 Thread Max Ischenko
Hello, I want to thank everyone for your comments and an interesting discussion. As for subject matter: I actually like the idea of putting setup code inside the application vs. hiding it inside a framework. Partially because all this web stuff is still being explored and experimented with and