Re: Is request.environ['REMOTE_ADDR'] useless when Pyramid App is deployed via Apache/ProxyPass?

2011-03-03 Thread Yannick Gingras
. -- Yannick Gingras http://ygingras.net signature.asc Description: This is a digitally signed message part.

Re: email?

2011-03-01 Thread Yannick Gingras
place. -- Yannick Gingras http://ygingras.net signature.asc Description: This is a digitally signed message part.

New Pylons powered website: thesector.ca

2011-02-22 Thread Yannick Gingras
reflections on the joy of using an OLAP cube on my blog: http://ygingras.net/b/2011/2/exploring-the-charitable-sector-through-a-star-schema Thanks a lot to the Pylons developers, you delivered a massive amount of happiness to our small dev team while we were putting this together. -- Yannick Gingras

Re: New Pylons powered website: thesector.ca

2011-02-22 Thread Yannick Gingras
: http://montrealpython.org/2011/02/flash-collectivized-cucumber/ We'll try to put video of interview online. -- Yannick Gingras http://ygingras.net signature.asc Description: This is a digitally signed message part.

ConFoo 2011 Call for Speakers

2010-10-06 Thread Yannick Gingras
the word! -- Yannick Gingras http://montrealpython.org -- lead organizer signature.asc Description: This is a digitally signed message part.

Pylons video from Montréal-Python

2010-07-30 Thread Yannick Gingras
Greetings Pyloneers, we've just uploaded the video of Alexandre Bourget's presentation: http://montrealpython.org/mp-11/ We only had one camera at this event so you can't see the screen very well but it's a good fast paced one. Very entertaining. Cheers, -- Yannick Gingras http

[patch] Beaker region_invalidate() problem

2010-01-07 Thread Yannick Gingras
, -- Yannick Gingras http://ygingras.net http://confoo.ca -- track coordinator http://montrealpython.org -- lead organizer signature.asc Description: This is a digitally signed message part.

ConFoo.ca call for speakers

2009-09-22 Thread Yannick Gingras
fascinating aspects of Python, do not hesitate to submit a talk to PyCon [2], which is also running its call for speakers as I write this. Share the word! [1]: http://confoo.ca/en/cfp [2]: http://us.pycon.org/2010/about/ -- Yannick Gingras http://ygingras.net signature.asc Description

Re: Extra / normalization

2008-04-30 Thread Yannick Gingras
, but there hasn't been any proposed solution. For this particular problem, I can work around the slashes collapsing with a regexp but it would indeed be nice to have a general workaround in WSGI 2. Where is it discussed? -- Yannick Gingras --~--~-~--~~~---~--~~ You

Extra / normalization

2008-04-29 Thread Yannick Gingras
that the stripping occurs after the URL decoding. Does anyone know where this stripping occurs and if it's possible to selectively disable it? -- Yannick Gingras --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons

Auth and Auth

2008-03-27 Thread Yannick Gingras
authentication system would be like. -- Yannick Gingras --~--~-~--~~~---~--~~ 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

Re: Where in the reference docs is h.url_for (and other 'globals')?

2008-01-08 Thread Yannick Gingras
to go to the source? In `paster shell`, in a template, or in a controller action, you can do: print h.url_for.__module__ The best thing is to install ipython and to do: h.url_for? and if it's not enough, do h.url_for?? -- Yannick Gingras

Pylons Pictures for the Logo

2007-12-09 Thread Yannick Gingras
them for the logo. -- Yannick Gingras --~--~-~--~~~---~--~~ 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

Problems with virtualenv and entry_points

2007-11-17 Thread Yannick Gingras
. Here is a typical session: $ easy_install gazest_extra_macros-0.3.3.tar.gz python from pkg_resources import iter_entry_points list(iter_entry_points('gazest.wiki_macros')) [] Anyone has an idea of what is going on? -- Yannick Gingras

Text-only Paste error mail

2007-11-14 Thread Yannick Gingras
Is it possible to get the error mails in text only format? I see text formaters and stuff like that but I can't see how to specify that I want to use them. -- Yannick Gingras --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Text-only Paste error mail

2007-11-14 Thread Yannick Gingras
... there is indeed a plain text alternative. I really can't see why I'd want a text only email. Just forget about this question. : ) -- Yannick Gingras --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss

Re: About paste traceback emails

2007-11-13 Thread Yannick Gingras
', error_subject_prefix='', error_message=None, simple_html_error=False) I think I'll just log `str(exception)` for now. :-) -- Yannick Gingras --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: About paste traceback emails

2007-11-13 Thread Yannick Gingras
a solution working with the stable componenents out there. Any idea? Monkey patching? Also, the get all the variables in the manually sent error mails, should I use this? paste.exceptions.errormiddleware.send_report(...) -- Yannick Gingras

New Trove Classifier

2007-11-13 Thread Yannick Gingras
Greetings Pyloneers, There is a new Trove classifier on PyPI: Framework :: Pylons We should all make an effort to put our stuff on PyPI: http://cheeseshop.python.org/pypi/ with the new classifier to give Pylons some visibility. -- Yannick Gingras

Re: About paste traceback emails

2007-11-13 Thread Yannick Gingras
. Any idea? -- Yannick Gingras --~--~-~--~~~---~--~~ 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

Re: Having pylons.render() to return Unicode

2007-11-06 Thread Yannick Gingras
. It would have been just at easy to return Unicode. Ok, I'll do the re-decoding by hand. -- Yannick Gingras --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email

Having pylons.render() to return Unicode

2007-11-05 Thread Yannick Gingras
and return the unicode object directly? -- Yannick Gingras --~--~-~--~~~---~--~~ 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

Re: ANNOUNCE: Gazest 0.3.7 -- a Pylons powered wiki

2007-10-23 Thread Yannick Gingras
will merge any clean patch. -- Yannick Gingras --~--~-~--~~~---~--~~ 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: ANNOUNCE: Gazest 0.3.7 -- a Pylons powered wiki

2007-10-22 Thread Yannick Gingras
://ygingras.net/files/hg.setuptools-0.1.2.tar.gz BTW: Is there any docs available now? There is some doc in the tarball but not much. I imagine there will be a wiki for the user doc in the near future. I'm a bit out of my app slots at webfaction but I'm working on a new hosting deal. -- Yannick Gingras

Re: Messages in error documents

2007-10-19 Thread Yannick Gingras
['pylons.error.message'] in your ErrorController (hopefully it's still there). Nope, there is nothing in there when I arrive at the error controller. The request is overwritten by paste.httpexceptions? -- Yannick Gingras --~--~-~--~~~---~--~~ You received

Re: FormEncode form validators

2007-10-18 Thread Yannick Gingras
it in my project. -- Yannick Gingras --~--~-~--~~~---~--~~ 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

ANNOUNCE: Gazest 0.3.7 -- a Pylons powered wiki

2007-10-17 Thread Yannick Gingras
://gazdemo.ygingras.net/ Code: http://ygingras.net/files/gazest-0.3.7.tar.gz http://ygingras.net/files/gazest_extra_macros-0.3.tar.gz Bleeding edge: $ git clone http://ygingras.net/files/gazest.git $ git clone http://ygingras.net/files/gazest_extra_macros.git Enjoy! -- Yannick Gingras

Messages in error documents

2007-10-14 Thread Yannick Gingras
Greetings Pyloneers, I try to pass some messages along my errors. I do something like: abort(403, Write attempt while in read-only mode.) But, how do I get the message back in my error controller? -- Yannick Gingras --~--~-~--~~~---~--~~ You received

Re: Syntax for calling a func in another controller

2007-10-13 Thread Yannick Gingras
Dalius Dobravolskas [EMAIL PROTECTED] writes: return render(action=func, controller=) Maybe you need: redirect_to(h.url_for(controller='', actions='')) I'd go for: from theapp.controllers import somecontroller return somecontroller.niceaction(arg1, arg2) -- Yannick

Implementing read-only mode

2007-10-13 Thread Yannick Gingras
'] should you want to check # the action or route vars here model.ctx.current = make_session() if asbool(config[site_readonly]): model.ctx.current.flush = abort_ro It works but I'm sure there is a better way to do it. Any advice on that? -- Yannick

Hacking the .ini and generation time

2007-10-12 Thread Yannick Gingras
and change the .ini_tmpl before I save the .ini. There are a few things that can be done, like setting a uuid for the beaker session secret. Is there a way to do that? -- Yannick Gingras --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Unicode and QuickWiki

2007-10-10 Thread Yannick Gingras
- part is important. My website is a Pylons app, is it possible to have it launch the CGI? -- Yannick Gingras --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email

Re: FIXED: Cascading pylons.paths: templates vs static files

2007-10-10 Thread Yannick Gingras
javascripts_app = StaticJavascripts() static_apps = [StaticURLParser(path) for path in config['pylons.paths']['static_files']] app = Cascade(static_apps + [javascripts_app, app]) return app -- Yannick Gingras --~--~-~--~~~---~--~~ You

Cascading pylons.paths: templates vs static files

2007-10-08 Thread Yannick Gingras
with the static files; the css and images could easily be changed by the user. Unfortunately, passing a list to `static_files` won't work. Is there a way to have cascading static files? There must be one because Pylons supply it's own images and css for the error pages. -- Yannick Gingras

FIXED: Cascading pylons.paths: templates vs static files

2007-10-08 Thread Yannick Gingras
Yannick Gingras [EMAIL PROTECTED] writes: Unfortunately, passing a list to `static_files` won't work. Is there a way to have cascading static files? Thanks to Chairos on #pylons, on just have to hack middleware.py: static_apps = [StaticURLParser(path) for path in config

Unicode and QuickWiki

2007-10-02 Thread Yannick Gingras
title until we have a fix? That sounds like a good compromise; it shows how to use unicode with pylons without spawning a long discussion on ugly hacks to work around bug (accidental features?) in helpers. Any ideas on that? -- Yannick Gingras

AsciiDoc as an alternative to Pudge

2007-10-01 Thread Yannick Gingras
? What features a documentation rendering system should have for you to adopt it? -- Yannick Gingras --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons

Re: AsciiDoc as an alternative to Pudge

2007-10-01 Thread Yannick Gingras
, and I think that many semantic blocks can be plugged over ReST without real clash. The current implementation is just a proof of concept; there is much more to be done and I think that it's worth it. Don't you think? -- Yannick Gingras --~--~-~--~~~---~--~~ You

Pudge on Pylons 0.9.6

2007-09-26 Thread Yannick Gingras
and produce good looking doc. I have asciidoc in mind but maybe there is something better. What do you all use for user documentation or your pylons projects? -- Yannick Gingras --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Logging in Paster shell

2007-09-07 Thread Yannick Gingras
the logging system in the shell? -- Yannick Gingras --~--~-~--~~~---~--~~ 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

[fixed] Re: url_for() and wildcards

2007-09-04 Thread Yannick Gingras
and exactly how we all expext it to. Best regards, -- Yannick Gingras --~--~-~--~~~---~--~~ 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

url_for() and wildcards

2007-09-02 Thread Yannick Gingras
/edit /wiki/Tomato /wiki/Tomato/recent_changes /wiki/Programming/Languages/Functional/Standardized/Common%20Lisp and so on. It seems to me that wild URL part is the way to go but I'm open to other suggestions. Best regards, -- Yannick Gingras