Re: [pylons-discuss] Minimize output buffer - How strip Comments

2010-05-18 Thread Walter Cruz
def process_response(self, request, response): if (text in response['Content-Type']): This will strip the html comments only if the content-type of your page is text.. -- []' - Walter http://waltercruz.com/ http://parabolashoje.com/ -- You received this message because you are

Re: pylons + elixir

2010-03-16 Thread Walter Cruz
Have you tried SQLAlchemy declarative layer? I like it. -- []' - Walter http://waltercruz.com/ http://parabolashoje.com/ Nenhum ato procedente de um motivo mau pode ser bom, ainda que algum bem pareça resultar dele. Toda a ação praticada por ira ou despeito, por exemplo, ver-se-á, afinal, que

Re: defeated by pylons: can't mount a pylons app as a controller.

2009-06-29 Thread Walter Cruz
Sorry me if I'm wrong, but I think that the whole point of this thread is the concept of subapps, apps or whatever you call it on Pylons ;) -- []' - Walter waltercruz.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Beaker 1.3.1 and MissingCacheParameter

2009-06-11 Thread Walter Cruz
On Thu, Jun 11, 2009 at 6:26 AM, Graham Higgins gjhigg...@googlemail.comwrote: But I /did/ manage to get @cache.cache to work by supplying a data_dir: @cache.cache('foobar2', type='file', data_dir='./data/cache', expire=3600) Yes, looks like the problem is that the data_dir setting

Re: trouble building docs

2009-05-12 Thread Walter Cruz
Yes, I will fill a ticket on sphinx. And I get the error with webob docs too. Reporting the bug right now! -- []' - Walter waltercruz.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To

Re: Naming virtualenvs

2009-05-12 Thread Walter Cruz
What about http://www.doughellmann.com/projects/virtualenvwrapper/ ? On Tue, May 12, 2009 at 2:43 PM, Alice Zoë Bevan–McGregor al...@gothcandy.com wrote: How do you name virtual environments? And where do you store this enviroments? Exists any recipe to manage several virtual envs and

trouble building docs

2009-05-11 Thread Walter Cruz
pylons repo get from: http://pylonshq.com/hg/pylons-dev/ (sphinx)wal...@stark ~/devel/python/pylons/pylons/docs/en$ make html mkdir -p _build/html _build/doctrees sphinx-build -b html -d _build/doctrees . _build/html Running Sphinx v0.6.1 loading pickled environment... not found building

Re: translation of the docs to portuguese

2009-02-25 Thread Walter Cruz
Have cloned the repository and will begin the work! http://bitbucket.org/waltercruz/pylons-pt_br/ -- []' - Walter waltercruz.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to

translation of the docs to portuguese

2009-02-24 Thread Walter Cruz
Hi all! Pylons has docs localization and looks that the only available language besides english is japanese (http://www.pylonshq.com/docs/ja/0.9.7/). I would like to translate it to portuguese, how should I proceed? Just clone the repository on some place, make the work and request a merge? --

Re: appengine SDK 1.1.9 and appengine-monkey

2009-02-12 Thread Walter Cruz
Same here: http://pylonshq.com/pasties/0dbeb54fd0859fd369e3efade874 -- []' - Walter waltercruz.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to

Re: appengine SDK 1.1.9 and appengine-monkey

2009-02-11 Thread Walter Cruz
I can test it tomorrow. On Wed, Feb 11, 2009 at 7:54 PM, Ian Bicking i...@colorstudy.com wrote: Reportedly (http://code.google.com/p/googleappengine/issues/detail?id=61and http://code.google.com/p/googleappengine/issues/detail?id=60) the appengine SDK (and presumably live environment) now

Re: Pylons vs Thundercats

2009-01-30 Thread Walter Cruz
On Fri, Jan 30, 2009 at 5:26 PM, Tycon adie...@gmail.com wrote: How many request per seconds can the thundercats serve ? Tigra can serve a lot, Snarf, not so many ;) Hey guys, have you seen the thundercarts fan-made preview? is kinda cool -- []' - Walter waltercruz.com

Re: Pylons vs Thundercats

2009-01-30 Thread Walter Cruz
Pylons don't have a cool movie like that: http://www.youtube.com/watch?v=fb50GMmY5nk On Fri, Jan 30, 2009 at 5:29 PM, Tom Longson (nym) toml...@gmail.com wrote: On Fri, Jan 30, 2009 at 11:26 AM, Tycon adie...@gmail.com wrote: How many request per seconds can the thundercats serve ? Old

Re: DistributionNotFound When Deploying App to GAE

2008-11-10 Thread Walter Cruz
Hi! Have your added yout buttons app to python path? In paste-deploy.py sys.path.insert(0, os.path.join(here, src, button)) -- []' - Walter waltercruz.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

pylonsbook source

2008-11-10 Thread Walter Cruz
Hi all! Where can I find the pylonsbook sourcecode? -- []' - Walter waltercruz.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to

Re: AuthKit

2008-10-31 Thread Walter Cruz
A new version was released some weeks ago.. What's the issue of yor ticket? On Fri, Oct 31, 2008 at 8:47 AM, Eric Lemoine [EMAIL PROTECTED] wrote: Hi List, We created a ticket with a patch attached to it in the AuthKit trac about 3 months ago, and the ticket hasn't received any attention.

webhelpers and cycle

2008-10-16 Thread Walter Cruz
Hi all. I'm trying to remove the webhelpers.rails from my project, but can't find a equivalent of cycle. What can I do? -- []' - Walter waltercruz.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss

Re: beaker 1.0+ broken on GAE

2008-10-15 Thread Walter Cruz
I'm still getting the Module beaker.ext.google:24 in __init__ def __init__(self, namespace, table_name='beaker_cache', **params): Creates a datastore namespace manager NamespaceManager.__init__(self, namespace, **params) def make_cache():

Re: AuthKit Newbie Woes

2008-10-14 Thread Walter Cruz
Looks like a new version from authkit was released yesterday.. Maybe the docs need a update.. On 10/14/08, Steven [EMAIL PROTECTED] wrote: I'm going through the tutorials at http://pylonsbook.com and have been trying to get through the AuthKit section for a while. I've tried both

authkit trac password

2008-10-14 Thread Walter Cruz
I'm trying to open a bug on authkit trac. What's the password? -- []' - Walter waltercruz.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to

cache by pathinfo

2008-08-25 Thread Walter Cruz
Hi! I was trying to add cache to my app, through beaker_cache, but my urls don't use query params, just pathinfo. It's planned to add pathinfo support to the cache decorator? []'s - Walter --~--~-~--~~~---~--~~ You received this message because you are

Re: beaker 1.0+ broken on GAE

2008-08-24 Thread Walter Cruz
It's broken yet :) This is the bug that I wanted to report! []'s - Walter On Sun, Aug 24, 2008 at 12:24 AM, Ben Bangert [EMAIL PROTECTED] wrote: On Aug 23, 2008, at 3:11 PM, Josh Heitzman wrote: GoogleNamespaceManager.__init__ is also in need of three new key word arguments:

beaker trac

2008-08-22 Thread Walter Cruz
How can I submit a bug to beaker? The trac requests a password :) []'s - Walter --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to

Re: Pylons on Google App Engine

2008-07-21 Thread Walter Cruz
On Sun, Jul 20, 2008 at 6:14 PM, Mike Orr [EMAIL PROTECTED] wrote: Hi JS, I'm writing a book on Python on App Engine (http://www.manning.com/gift/) and am just now sorting out what issues Pylons has on it. So any tips from others who are using Pylons on App Engine would be greatly

Re: Reddit open sources their site pylons implementation

2008-06-18 Thread Walter Cruz
On Wed, Jun 18, 2008 at 12:03 PM, aaaron [EMAIL PROTECTED] wrote: Announcement: http://blog.reddit.com/2008/06/reddit-goes-open-source.html Trac: http://code.reddit.com/ Very good news to the Pylons community :D []'s - Walter --~--~-~--~~~---~--~~ You

Re: [ANN] ToscaWidgets 0.9 has been released

2008-06-01 Thread Walter Cruz
Anyway, I'm planning to get TW + tw.forms usable in GAE before 1.0. That should be much easier now since TW no longer has any C based dependencies. If Mako or Genshi and FE can be used on GAE there TW probably can be used too or the fix should be trivial. Mako trunk is supported. Genshi info

how to test a method that has a parameter?

2008-01-14 Thread Walter Cruz
Hi all. I have a little problem. I have begin to study tests, and wish to test my pylons application. My method view take a parameters, address. I want to test it, but don't know how to pass this parameter using nosetests. from artigos.tests import * class

Re: how to test a method that has a parameter?

2008-01-14 Thread Walter Cruz
) Can somebody help me? My routing.py for template: map.connect('*address', controller='template', action='view') []'s - Walter []'s - Walter On Jan 14, 2008 12:26 PM, Walter Cruz [EMAIL PROTECTED] wrote: Hi all. I have a little problem. I have begin to study tests, and wish to test my

Re: Javascript in Pylons for ToscaWidgets with Mako

2007-07-26 Thread Walter Cruz
Hi Bruce. Have you get the javascript working? I'm searching for this, too. []'s - Walter On 7/16/07, BruceC [EMAIL PROTECTED] wrote: Hi all...I posted this in the ToscaWidget discussion board, (http:// groups.google.com/group/toscawidgets-discuss/browse_thread/thread/

Re: Pylons 0.96rc1 - Mako and ToscaWidgets Forms

2007-07-26 Thread Walter Cruz
, Walter Cruz [EMAIL PROTECTED]: Hi all.. I and a friend have a project that we use to learn about Pylons. Today, I have tried to upgrade it to Pylons 0.96. Everything gets fine (I haven't upgraded to SAContext, but I will do that ASAP). But, we use twforms, and a problem arises

Re: Pylons 0.96rc1 - Mako and ToscaWidgets Forms

2007-07-26 Thread Walter Cruz
not in range(128) []'s - Walter On 7/26/07, Walter Cruz [EMAIL PROTECTED] wrote: Hi Atsushi Odagiri! A part of this was my fault, i was using render_template from core pylons, and not from toscawidgets.mods.pylonshf . But i'm not without doubts yet :( My data are being saved as utf-8. To insert

Pylons 0.96rc1 - Mako and ToscaWidgets Forms

2007-07-25 Thread Walter Cruz
Hi all.. I and a friend have a project that we use to learn about Pylons. Today, I have tried to upgrade it to Pylons 0.96. Everything gets fine (I haven't upgraded to SAContext, but I will do that ASAP). But, we use twforms, and a problem arises: The traceback: File

Re: stripping the cgi part in h.url_for and others helpers

2007-07-22 Thread Walter Cruz
= self.app(environ,start_response) return app []'s - Walter On 7/20/07, Walter Cruz [EMAIL PROTECTED] wrote: Hi. I'm testing a Pylons app throug cgi. I have configured clean urls through .htaccess.. In the example above: h.url_for(controller='manage',action='edit',id=pagina.id

Re: Generating and consuming RSS feeds from pylons, maybe OT

2007-07-20 Thread Walter Cruz
The pylons webhelpers has a feedgenerator that is pretty cool and simple. To read rss, you can use the feedparser library (http://feedparser.org/) []'s - Walter On 7/20/07, voltron [EMAIL PROTECTED] wrote: Hi! I apologize if this should not be asked here.Does anyone have any experience

stripping the cgi part in h.url_for and others helpers

2007-07-20 Thread Walter Cruz
Hi. I'm testing a Pylons app throug cgi. I have configured clean urls through .htaccess.. In the example above: h.url_for(controller='manage',action='edit',id=pagina.id) It generates a link as : http://localhost/artigos/roda.cgi/manage/edit/11 But I want to strip the roda.cgi! If I access

Re: Generating and consuming RSS feeds from pylons, maybe OT

2007-07-20 Thread Walter Cruz
: feed_string = feed.writeString return response(feed_string) In my controllers? On Jul 20, 9:55 pm, Walter Cruz [EMAIL PROTECTED] wrote: The pylons webhelpers has a feedgenerator that is pretty cool and simple. To read rss, you can use the feedparser library (http://feedparser.org

Re: How do I set my form to be a unicode string?

2007-07-01 Thread Walter Cruz
))} (Note the u before Nova citação). How can I configure this to avoid to say that this is string is unicode? []'s - Walter On 7/1/07, Christoph Haas [EMAIL PROTECTED] wrote: On Sat, Jun 30, 2007 at 11:55:25AM -0300, Walter Cruz wrote: I'm getting this error: type 'exceptions.UnicodeDecodeError

How do I set my form to be a unicode string?

2007-06-30 Thread Walter Cruz
I'm getting this error: type 'exceptions.UnicodeDecodeError': 'ascii' codec can't decode byte 0xc3 in position 79: ordinal not in range(128) the form was passed in as an encoded string, but some data or error messages were unicode strings; the form should be passed in as a unicode string How do

Re: deploying pylons

2007-06-26 Thread Walter Cruz
changing the last 2 lines and I get it working as fastcgi! :) []'s - Walter On 6/24/07, Philip Jenvey [EMAIL PROTECTED] wrote: On Jun 24, 2007, at 3:16 PM, Walter Cruz wrote: Hi all. After a long time trying to deploy pylons with fastcgi, I fallback to cgi. I'me getting the Premature

deploying pylons

2007-06-24 Thread Walter Cruz
Hi all. After a long time trying to deploy pylons with fastcgi, I fallback to cgi. I'me getting the Premature end of script headers. The logs are above. Sun Jun 24 19:14:07 2007] [error] [client 189.10.116.120] Premature end of script headers: /home/walter/public_html/quote/novo/dispatch.cgi