Re: 'Pylons - carries the load'

2007-06-05 Thread Garland, Ken R
On 6/5/07, John_Nowlan [EMAIL PROTECTED] wrote: - 'Pylons - carries the load' I like this one, with the electrical and works connotations. I think a tag line should be short - memorable rather than explanatory. A succint summary of Pylons can follow. I've enjoyed reading the ideas and

Re: enviroment variables

2007-06-12 Thread Garland, Ken R
remove request. environ['paste.auth_tkt.set_user'](username, tokens='') On 6/12/07, voltron [EMAIL PROTECTED] wrote: I get key errors when trying to set request.environ['paste.auth_tkt.set_user'](username) in my controller. In fact, all the enviroment variables dont work using

Re: AuthKit Authorization Manager?

2007-06-14 Thread Garland, Ken R
Instead of deleteing REMOTE_USER, set a logout url in your development.ini: authkit.cookie.signout = /myapp/logout for the action something like: def logout(self): if request.environ.has_key('REMOTE_USER'): return redirect_to(controller = '/myapp/logout') else: return

Re: reloading routes

2007-06-18 Thread Garland, Ken R
Is there a reload option in [exe] for daemon mode? reload = true hmm, tried that and it didn't seem to work. On 6/16/07, voltron [EMAIL PROTECTED] wrote: the reload flag causes a lot of problems on Debian, I posted this a while back, besides, I´m daemonizing the server. Maybe I´ll just

Re: New to Pylons - Running an existing python script?

2007-07-02 Thread Garland, Ken R
simple pylons output can be done like so: return Response(something) that would show hello on the website. If you wanted some output from a script just put the code of the script inside an action and when it comes time to return the output instead of using print use the return response. If

Re: authkit.org is down?

2007-07-03 Thread Garland, Ken R
.4 is in SVN and not officially released. As for the pylons wiki, the DNS took a spill, or squid or something. You can access it via: http://wiki.pylonshq.com/ On 7/3/07, Ksenia [EMAIL PROTECTED] wrote: You can download it from cheese shop. http://www.python.org/pypi/AuthKit/0.3.0pre5

Re: authkit.org is down?

2007-07-03 Thread Garland, Ken R
is at another url or on the same site as authkit.org - best of luck. On 7/3/07, Ksenia [EMAIL PROTECTED] wrote: On Jul 3, 3:45 pm, Garland, Ken R [EMAIL PROTECTED] wrote: .4 is in SVN and not officially released. As for the pylons wiki, the DNS took a spill, or squid or something. You can

Re: The is-Pylons-for-me post

2007-07-09 Thread Garland, Ken R
On 7/9/07, Martin Aspeli [EMAIL PROTECTED] wrote: Hi guys, We've just (almost certainly) chosen Pylons for a quick-and-dirty web application project. 1. We need a fairly heavily AJAXified UI. Is Prototype and the Railsish web helpers the best way to go? 2. Specifically, we need an

Re: Success with LDAP, Pylons and AuthKit?

2007-08-02 Thread Garland, Ken R
I have it successfully running. Using the forward method of course. My site utilizes authorization and authentication. On 8/2/07, Mike Orr [EMAIL PROTECTED] wrote: On 8/2/07, ObjectEvolution [EMAIL PROTECTED] wrote: Hi, Anybody out here have success with integrating LDAP authentication

Re: Pylons - creating download links?

2007-09-30 Thread Garland, Ken R
what is the link you are being shown in the browser. what is the link you are defining in your controller/action. what is the setup you have in detail. On 9/30/07, voltron [EMAIL PROTECTED] wrote: I have links to files on a servers filesystem, the links are correct but strangely, I cannot

Re: Packages to use on Gutsy

2007-10-25 Thread Garland, Ken R
i use easy_install no matter what distribution of linux the system is. watch out for the symlinks, I believe there is a post earlier by me on how to fix this. On 10/25/07, Matt Feifarek [EMAIL PROTECTED] wrote: I'm setting up a new development box, including a fresh install of Gutsy Gibbon,

Re: Pylons Pictures for the Logo

2007-12-10 Thread Garland, Ken R
i find this one to be interesting, as it shows a bit of color and connects other pylons together: http://commons.wikimedia.org/wiki/Image:Abzweigmast_IMGP4478.jpg thanks for sharing the photos YGingras. ;) On Dec 10, 2007 10:55 AM, miniwark [EMAIL PROTECTED] wrote: See also this Pylons

Re: Can't start new Pylons Web instance: Error on line 195 of serve.py (after upgrading to Pylons 0.9.6.1

2008-01-07 Thread Garland, Ken R
possibly see if you have another version of Paste installed in your path. On Jan 6, 2008 10:40 PM, Rich [EMAIL PROTECTED] wrote: Hi, I upgraded to the latest version of Pylons two days ago. Since then, I can't either start an existing Web instance, or create a new one. This is one I just

Re: Authorize and Authentication with pylons

2008-02-14 Thread Garland, Ken R
well it's been a while since i setup my authkit+homegrown solution and i never really documented it properly. but i must say that it was a great way to really learn the ins and outs of pylons. my advise is to just give it a shot and follow some howto's, see what you can come up with. but it has

Re: XML

2008-04-15 Thread Garland, Ken R
Are you wanting to display the XML raw like this: ${c.xml | x} On Tue, Apr 15, 2008 at 9:29 AM, Alagu Madhu [EMAIL PROTECTED] wrote: Hi, I am using pylons 0.9.7beta4) and mako. def xml(self): c.xml = ... response.headers['Content-Type'] = 'application/xml' return

Re: XML

2008-04-15 Thread Garland, Ken R
20/kk id=1021 name=Pylons 21/ /customer On Apr 15, 4:31 pm, Garland, Ken R [EMAIL PROTECTED] wrote: Are you wanting to display the XML raw like this: ${c.xml | x} On Tue, Apr 15, 2008 at 9:29 AM, Alagu Madhu [EMAIL PROTECTED] wrote: Hi, I am using pylons

Re: XML

2008-04-15 Thread Garland, Ken R
So that replaces the HTML escaping done previously in Mako: http://www.makotemplates.org/docs/syntax.html#syntax_expression_expression I must have missed the 'n' switch after looking over this doc: http://wiki.pylonshq.com/pages/viewpage.action?pageId=11174779 Are there other new switches like

Re: autocomplete

2008-05-14 Thread Garland, Ken R
Maybe someone else might pick up on this, but it is too vague for me to understand what you are talking about. Auto completion of what exactly? On Wed, May 14, 2008 at 9:18 AM, Jonathan Vanasco [EMAIL PROTECTED] wrote: is anyone working on building this into pylons? i haven't see it talked

Re: autocomplete

2008-05-14 Thread Garland, Ken R
Ah.. Upon recommendations from #pylons on freenode I use: http://developer.yahoo.com/yui/autocomplete/ On Wed, May 14, 2008 at 10:26 AM, Jonathan Vanasco [EMAIL PROTECTED] wrote: http://demo.script.aculo.us/ajax/autocompleter_customized

Re: Deployment Question

2008-05-16 Thread Garland, Ken R
From general chat on #pylons a lot of people prefer to proxy, or simply run paster. In my deployment Paster is serving directly to the world. I'm not sure anyone has taken up a comparison in the ways you speak of, at least I have not come across it. I'm sure it would be a welcomed test. On

Re: h.select with list of objects

2008-05-20 Thread Garland, Ken R
Hmm, I'm not 100% sure I understand but this is something that I use to populate a select drop-down from a list: ${ h.select(name='selectedItem', option_tags=h.options_for_select(c.list, selected=None), selected=None, multiple=False ) } On Tue, May 20, 2008 at 11:40 AM, Joe Riopel [EMAIL

Re: h.select with list of objects

2008-05-20 Thread Garland, Ken R
c.list would be the text of the options. On Tue, May 20, 2008 at 11:55 AM, Joe Riopel [EMAIL PROTECTED] wrote: On Tue, May 20, 2008 at 11:49 AM, Garland, Ken R [EMAIL PROTECTED] wrote: Hmm, I'm not 100% sure I understand but this is something that I use to populate a select drop-down from

Re: h.select with list of objects

2008-05-20 Thread Garland, Ken R
and values from specific keys in a list of dicts. Deprecate. On Tue, May 20, 2008 at 1:23 PM, Joe Riopel [EMAIL PROTECTED] wrote: On Tue, May 20, 2008 at 11:58 AM, Garland, Ken R [EMAIL PROTECTED] wrote: c.list would be the text of the options. What would be the value of the options? Sorry

Re: How did you begin your fun with Pylons?

2008-05-22 Thread Garland, Ken R
Wow, I thought by the subject this was going to be some endearing story telling about how great Pylons is and why you came to use it as your chosen framework for developing with Python and the web, etc. Well, if this is a forum for such a thing let me say that I love Pylons and started my venture

Re: Pylons and memory use

2008-06-08 Thread Garland, Ken R
I'm using WebFaction with a decent size app and using the 80MB plan. every once in a while I forget and leave paster in --reload instead of --daemon while I'm developing and it grows to about 100MB. They are nice about sending a reminder and a trouble ticket instead of charging me, but the last

Re: Pylons and memory use

2008-06-08 Thread Garland, Ken R
replace garlandkr with your user name and provide your own mailing method. ;) On Sun, Jun 8, 2008 at 2:25 PM, Brandon Singer [EMAIL PROTECTED] wrote: On Sun, 2008-06-08 at 11:22 -0400, Garland, Ken R wrote: I'm using WebFaction with a decent size app and using the 80MB plan. every once

Re: Background Threads

2008-06-20 Thread Garland, Ken R
I use a custom daemon for some of my deployments. For windows I would look into creating a service to monitor things (services.msc) On Fri, Jun 20, 2008 at 6:25 PM, EricHolmberg [EMAIL PROTECTED] wrote: I say run a separate daemon process and use supervisord to ensure it can recover from a

Re: Pylons equivalent of cherrypy's serve_file?

2008-06-24 Thread Garland, Ken R
This is from an older application that I did, might need to be looked over for 0.9.6.2 compatibility: def download(self, environ, start_response): if not request.environ.has_key('REMOTE_USER'): return redirect_to(controller = '/login/ldap') else: fapp =

Re: WebHelpers 0.6 released

2008-07-09 Thread Garland, Ken R
Getting the following error following the doc examples: Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)] on win32 items = range(1,24) import webhelpers.paginate page2 = webhelpers.paginate.Page(items, page=2, items_per_page=10) page2.pager() Traceback (most recent

Re: Localhost test

2008-07-14 Thread Garland, Ken R
Works on my Windows XP machine and on webfaction host which is using Red Hat Enterprise Linux ES release 4 (Nahant Update 6) On Mon, Jul 14, 2008 at 6:19 PM, Mike Orr [EMAIL PROTECTED] wrote: The Pylons developers need your help. In order to change the default host= in development.ini from

Re: Announcement of Pylons Powered Site

2008-11-04 Thread Garland, Ken R
Hey Jerry, I've read and follow most of what you listed and found it all most helpful. Another HUGE help for me were IRC channels like #pylons, #python, #sqlalchemy and others on freenode. This allowed me to learn from others and pass on knowledge. It is surprising how helpful it is to help

Re: Announcement of Pylons Powered Site

2008-11-04 Thread Garland, Ken R
pylons site (over a year ago) was very simple and took a few minutes to get running. My largest took months, mostly from the back end code that had nothing to do with pylons really. On Tue, Nov 4, 2008 at 5:56 PM, MilesTogoe [EMAIL PROTECTED] wrote: Garland, Ken R wrote: Hey Jerry, I've read

Re: The Definitive Guide to Pylons (complimentary copies)

2008-12-20 Thread Garland, Ken R
Only 1 left in stock--order soon (more on the way). I kept putting off ordering because for some reason I thought it was going to be on O'Reilly's Safari to download. Looks like the eBook is abailable, nice.. http://www.apress.com/book/view/1590599349 On Sat, Dec 20, 2008 at 3:31 PM,

Re: CSS on wiki.pylons.com?

2009-05-20 Thread Garland, Ken R
it looks like they are still using confluence. i noticed this behavior on the old design, so apparently there is something in the confluence css that is causing this. On Wed, May 20, 2009 at 12:30 PM, Christopher Barker chris.bar...@noaa.govwrote: Wichert Akkerman wrote: Previously Chris

Re: Webfaction

2009-07-08 Thread Garland, Ken R
I've done a few installs with my webfaction account. At first I used the built-in pylons installer, then just installed from scratch with setuptools. You can install anything in your account if you'd like. Currently I have memcache, nginx and pylons, need to clean things up a bit. On Wed, Jul 8,

Re: checkboxes and pylons

2009-10-12 Thread Garland, Ken R
form id=form name=form method=post action=results fieldset id=checkboxbuttons legendSelect Multiple Checkboxes/legend fieldset id=checkboxbuttonsfrommarkup div % for wd in c.checkList: input id=${wd} type=checkbox name=${wd} value=${wd}

Re: checkboxes and pylons

2009-10-12 Thread Garland, Ken R
Here are some example controllers that are used from my earlier post: def check(self): for root, folders, files in os.walk('/home/py/xmlPostData/'): c.checkList = files return render('/check.mako') def results(self): session =

Re: checkboxes and pylons

2009-10-12 Thread Garland, Ken R
Construction' I am not seeing any output except Under Construction. How can I determine request.params has any data? Much appreciated, Garyc On Oct 12, 10:52 am, Garland, Ken R garlan...@gmail.com wrote: Here are some example controllers that are used from my earlier post: def

Re: MySQL has gone away (again)

2010-01-20 Thread Garland, Ken R
There are a few things which might cause this issue. Have a look at the following: *wait_timeout* *connect_timeout* *max_allowed_packet* I have no idea what your apps are trying to do in order to cause this so I'm not able to speak about that. Have a look at them to determine if any of the above

Re: Pylons RC1 (disappeared?)

2010-03-08 Thread Garland, Ken R
Check the IRC chat log, I don't recall the details but Ben pulled the RC1 from CheeseShop. On Mon, Mar 8, 2010 at 10:52 PM, Wyatt Baldwin wyatt.lee.bald...@gmail.comwrote: On Mar 8, 3:50 pm, Wyatt Baldwin wyatt.lee.bald...@gmail.com wrote: Within the last week or two, I installed Pylons RC1

Re: server hosting and pylons

2010-03-10 Thread Garland, Ken R
I've recently moved away from webfaction as their hosts were constantly being over utilized. Currently I use VPS.net and manage my own virtual servers. If this is just a fun project then webfaction is a great place to host, quick and easy to setup. If it is something you consider mission critical

Re: server hosting and pylons

2010-03-10 Thread Garland, Ken R
could do both and get results. However, this is not the place for such arguments so I apologize. On Wed, Mar 10, 2010 at 2:02 PM, Wyatt Baldwin wyatt.lee.bald...@gmail.comwrote: On Mar 10, 10:22 am, Garland, Ken R garlan...@gmail.com wrote: I've recently moved away from webfaction as their hosts

Re: DOS attacks

2010-04-06 Thread Garland, Ken R
You would handle this at the firewall level, are you in charge of the firewall? The ideal here is to block the offending ip address or blocks of ip addresses. On Tue, Apr 6, 2010 at 6:46 PM, gazza burslem2...@yahoo.com wrote: Hey Guys, Somebody I'm told is sending DOS attacks to my site? I

Pylons and Pyramid discussion on Freenode

2010-11-08 Thread Garland, Ken R
To anyone interested there is a discussion going on right now on Freenode #pylons regarding some pylons/pyramid conversion topics and general sense of direction for how to handle various scenarios. -- You received this message because you are subscribed to the Google Groups pylons-discuss

Re: New Pylons powered website: thesector.ca

2011-02-22 Thread Garland, Ken R
Looks great Yannick, glad you are still part of the community. Was wondering what you have been up to lately. - Ken On Tue, Feb 22, 2011 at 5:03 PM, Yannick Gingras yging...@ygingras.netwrote: Fellow Pyloneers, we're pleased to announce the release of a new Pylons powered tool to explore

Re: Good hosting recommendations?

2011-03-29 Thread Garland, Ken R
Was with webfaction for 3 years, always having problems with over selling their shared servers. I actually ended up writing a script to monitor and send a notice to the support when the load went too high. They swore up and down that they monitored such things, but I had to include the offending

Re: Good hosting recommendations?

2011-03-29 Thread Garland, Ken R
ping reply from one of my amazon instances: Reply from x.x.x.x: bytes=32 time=9ms TTL=47 Reply from x.x.x.x: bytes=32 time=10ms TTL=47 Reply from x.x.x.x: bytes=32 time=10ms TTL=47 Reply from x.x.x.x: bytes=32 time=11ms TTL=47 Reply from x.x.x.x: bytes=32 time=9ms TTL=47 Figured you guys might