Re: Controller Newbie Question

2008-04-08 Thread Raoul Snyman
an example: if 'message' not in session: session['message'] = 'This is a message' session.save() -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail: [EMAIL PROTECTED] Web: http://www.saturnlaboratories.co.za/ Blog: http://blog.saturnlaboratories.co.za/ Mobile: 082

Re: How did you begin your fun with Pylons?

2008-05-23 Thread Raoul Snyman
in a better light) than, Well, why don't you write some? To both sides: Pointing fingers, blaming others, and generally moaning does not help anyone, much less yourself. Great communities only arise out of people who are prepared to give more than they take. -- Raoul Snyman B.Tech Information

Re: How did you begin your fun with Pylons?

2008-05-23 Thread Raoul Snyman
is not *what* you say, but rather *how* you say it. -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail: [EMAIL PROTECTED] Web: http://www.saturnlaboratories.co.za/ Blog: http://blog.saturnlaboratories.co.za/ Mobile: 082 550 3754 Registered Linux User #333298 (http

Re: Ide

2008-06-19 Thread Raoul Snyman
On Thu, Jun 19, 2008 at 10:26 AM, Antonio Beamud Montero [EMAIL PROTECTED] wrote: What Ide I can use with pylons I use Quanta+ (in the kdewebdev package in Kubuntu) with it's project system. Works well. -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail: [EMAIL

Re: How to update data with sqlalchemy

2008-07-15 Thread Raoul Snyman
+with+Pylons -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail: [EMAIL PROTECTED] Web: http://www.saturnlaboratories.co.za/ Blog: http://blog.saturnlaboratories.co.za/ Mobile: 082 550 3754 Registered Linux User #333298 (http://counter.li.org

Re: Problem with installation on linux/suse

2008-07-22 Thread Raoul Snyman
that directory you're importing that directory - that explains the recursion. If you're getting this error I'd say means that you're using the right Python and it's looking in the right place. Are you running easy_install as root? -- Raoul Snyman B.Tech Information Technology (Software

Paste make-config can't find the ini template file

2008-08-21 Thread Raoul Snyman
I'm running through the deployment process in order to write installation documentation and to make sure it works as advertised. As per the Packging and Deployment page on the wiki (http:// wiki.pylonshq.com/display/pylonsdocs/Packaging+and+Deployment), I apparently need to create the

Re: Paste make-config can't find the ini template file

2008-08-22 Thread Raoul Snyman
On Thu, Aug 21, 2008 at 11:44 AM, Raoul Snyman [EMAIL PROTECTED] wrote: I did this, but when I ran paster make-config projectname config.ini, I got the following message: No paste_deploy_config.ini_tmpl found Hmph. Found out why it couldn't find it... I had somehow managed to add a space

Re: mod_wsgi can't find my project

2008-09-04 Thread Raoul Snyman
On Sep 4, 12:18 pm, Dalius Dobravolskas [EMAIL PROTECTED] wrote: Install you application: python setup.py develop OR python setup.py install Now I feel like a real idiot! Thanks Dalius, that was the problem. In moving my project to the dev server I forgot to do that.

Having some trouble upgrading to Pylons 0.9.7

2008-11-19 Thread Raoul Snyman
/kdnRbRpl base.py: http://codepad.org/qIvkBnxK Any idea what am I doing wrong? -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail: [EMAIL PROTECTED] Web: http://www.saturnlaboratories.co.za/ Blog: http://blog.saturnlaboratories.co.za/ Mobile: 082 550 3754

Re: Having some trouble upgrading to Pylons 0.9.7

2008-11-19 Thread Raoul Snyman
}/{action}/{id}') I had to change them to this: map.connect('/', controller='dashboard', action='index', id=None) map.connect('/{controller}/{action}/', id=None) map.connect('/{controller}/{action}/{id}/') Notice the appended slash? -- Raoul Snyman B.Tech Information Technology

Re: Problems with AuthKit (was: Django or Pylons - comparison details)

2008-12-10 Thread Raoul Snyman
and people are demanding something you can't deliver. -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail: [EMAIL PROTECTED] Web: http://www.saturnlaboratories.co.za/ Blog: http://blog.saturnlaboratories.co.za/ Mobile: 082 550 3754 Registered Linux User #333298 (http

Re: Pylons vs Tomcat+GWT

2009-02-02 Thread Raoul Snyman
On Mon, Feb 2, 2009 at 2:28 PM, Tycon adie...@gmail.com wrote: sure but without client side code, it will have to reload a new page in response for each user interaction Says who? -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail: raoul.sny...@gmail.com Web

Re: CMS/CMF on top of Pylons

2009-03-22 Thread Raoul Snyman
? Use Drupal. You want to develop a web application? Use Pylons. -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail: raoul.sny...@gmail.com Web: http://www.saturnlaboratories.co.za/ Blog: http://blog.saturnlaboratories.co.za/ Mobile: 082 550 3754 Registered

Re: CMS/CMF on top of Pylons

2009-03-23 Thread Raoul Snyman
2009/3/22 AD.: On Mar 22, 10:29 pm, Raoul Snyman raoul.sny...@gmail.com wrote: I agree with askel. I use Drupal as my CMS for sites that I work on. It may be PHP, but it's extremely powerful and extensible. Besides, if you wanted something as powerful and extensible as Drupal, you'd probably

Re: CMS/CMF on top of Pylons

2009-03-23 Thread Raoul Snyman
2009/3/23 Dalius Dobravolskas dal...@sandbox.lt: Raoul Snyman wrote: My point is not that you can't write a CMS in Pylons, nor that Pylons is limited. My point is that if you want to write a Drupal in Python, I don't think you're going to be able to do it in Pylons. They just work totally

Re: CMS/CMF on top of Pylons

2009-03-23 Thread Raoul Snyman
WSGI to get it right... that would be awesome. -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail: raoul.sny...@gmail.com Web: http://www.saturnlaboratories.co.za/ Blog: http://blog.saturnlaboratories.co.za/ Mobile: 082 550 3754 Registered Linux User #333298

Re: superwiki?

2009-07-07 Thread Raoul Snyman
, you're welcome to use it if you want. You can get it from here: http://openpm-org.svn.sourceforge.net/viewvc/openpm-org/trunk/projecthq/lib/wiki.py?view=markup -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail: raoul.sny...@gmail.com Web: http

Re: Using Multiple Databases (SQLALCHEMY)

2009-08-01 Thread Raoul Snyman
and metadata objects. -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail: raoul.sny...@gmail.com Web: http://www.saturnlaboratories.co.za/ Blog: http://blog.saturnlaboratories.co.za/ Mobile: 082 550 3754 Registered Linux User #333298 (http://counter.li.org

cron Paster Command

2009-09-18 Thread Raoul Snyman
a little!) is that you don't have to do much to get it up and running. The command class will find all your controllers, and will run a cron command if it exists in your controller. Constructive criticism is welcome! -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail

Re: cron Paster Command

2009-09-19 Thread Raoul Snyman
2009/9/19 Mark Hildreth mark.k.hildr...@gmail.com: http://blog.saturnlaboratories.co.za/2009/09/18/cron_jobs_and_pylons_applications.html Sorry about the funky link, but Mark's got the right one there. -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail: raoul.sny

Re: pylonshq.com down?

2009-10-15 Thread Raoul Snyman
2009/10/15 mickgardner mickgard...@gmail.com: Seems to still be downor perhaps down againnot sure which. me five. -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail: raoul.sny...@gmail.com Web: http://www.saturnlaboratories.co.za/ Blog: http

Problems setting custom 404 page

2009-10-15 Thread Raoul Snyman
? -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail: raoul.sny...@gmail.com Web: http://www.saturnlaboratories.co.za/ Blog: http://blog.saturnlaboratories.co.za/ Mobile: 082 550 3754 Registered Linux User #333298 (http://counter.li.org

Re: Problems setting custom 404 page

2009-10-15 Thread Raoul Snyman
404 page if it sees the error. -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail: raoul.sny...@gmail.com Web: http://www.saturnlaboratories.co.za/ Blog: http://blog.saturnlaboratories.co.za/ Mobile: 082 550 3754 Registered Linux User #333298 (http

Re: Problems setting custom 404 page

2009-10-15 Thread Raoul Snyman
Ok, now I feel like a right royal idiot. In my configuration file, I had full_stack set to false. As soon as I set it to true, my 404 started working. -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail: raoul.sny...@gmail.com Web: http

Very simple theming in Pylons

2010-01-05 Thread Raoul Snyman
/05/very_simple_theming_in_pylons.html Hope this helps someone else! -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail: raoul.sny...@gmail.com Web: http://www.saturnlaboratories.co.za/ Blog: http://blog.saturnlaboratories.co.za/ Mobile: 082 550 3754

Re: Very simple theming in Pylons

2010-01-06 Thread Raoul Snyman
After having a look at theming in Pylons, yesterday I decided to try to see if I could load the theme name from the database. Once again, I blogged about it: http://blog.saturnlaboratories.co.za/2010/01/06/database_configured_theming_in_pylons.html -- You received this message because you are

Re: MySQL has gone away....

2010-05-03 Thread Raoul Snyman
solution I could find was to put a try: except: early on in my line of execution (like in BaseController.__call__) and run the query again. From the extensive scouring of the Internet, it seems to be a known problem. -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail

Re: Struggling with Authkit Authentication

2010-06-02 Thread Raoul Snyman
/2009/10/28/pylons-opinion-dont-use-authkit/ (Disclaimer: That's not my blog) -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail: raoul.sny...@gmail.com Web: http://www.saturnlaboratories.co.za/ Blog: http://blog.saturnlaboratories.co.za/ Mobile: 082 550 3754

Re: Caching recommendations for Pylons

2010-07-09 Thread Raoul Snyman
. -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail:   raoul.sny...@gmail.com Web:      http://www.saturnlaboratories.co.za/ Blog:      http://blog.saturnlaboratories.co.za/ Mobile:   082 550 3754 Registered Linux User #333298 (http://counter.li.org) -- You received

Re: First pyramid impressions

2011-03-07 Thread Raoul Snyman
explanation. (Of course now when I try to find some of that vague, abstract documentation that I remember seeing and struggling to understand in a practical sense, I can't find it.) -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail:   raoul.sny...@gmail.com Web

Re: pyscss renderer

2011-05-07 Thread Raoul Snyman
this is in a web app, where each request is a full iteration of the application, so I'm not sure that f.seek(0) would be of much use. It depends on how you're using it. -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail:   raoul.sny...@gmail.com Web:      http

Re: issue to deploy pylons application under mod_wsgi

2011-06-11 Thread Raoul Snyman
On 9 June 2011 09:49, Haulyn Jason wrote: application = loadapp('config:/var/www/domix.us/development.ini') application = ErrorMiddleware(application, debug=True) Why are you adding in the error middleware? Pylons already has error middleware built in. -- Raoul Snyman B.Tech Information

Re: Help with Authentication and Authorization

2011-07-11 Thread Raoul Snyman
the db, so I'm mystified why I never see an example of it. Not to moan at you guys, I love Pyramid, but it's a deficiency I see in the documentation, and not only in Pyramid. -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail:   raoul.sny...@gmail.com Web:      http

Re: Applying changes to the database schema – SQLAlchemy

2011-08-29 Thread Raoul Snyman
before the database is loaded. -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail:   raoul.sny...@gmail.com Web:      http://www.saturnlaboratories.co.za/ Blog:      http://blog.saturnlaboratories.co.za/ Mobile:   082 550 3754 Registered Linux User #333298 (http

TypeError: render_unicode() keywords must be strings

2012-01-07 Thread Raoul Snyman
be appreciated, and if you need more information, please let me know. -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail:   raoul.sny...@gmail.com Web:      http://www.saturnlaboratories.co.za/ Blog:      http://blog.saturnlaboratories.co.za/ Mobile:   082 550 3754 Registered

Re: any advantages of using fast cgi over reverce proxy with nginx?

2012-01-30 Thread Raoul Snyman
overkill, I'm using nginx as a reverse proxy to Apache+mod_wsgi. It means that I have an easy WSGI setup, and a blazingly fast site. I used this blog post as my starting point: http://markmaunder.com/2009/12/01/how-to-handle-1000s-of-concurrent-users-on-a-360mb-vps/ -- Raoul Snyman B.Tech

Re: any advantages of using fast cgi over reverce proxy with nginx?

2012-01-30 Thread Raoul Snyman
than just one Pyramid app, so when I eventually moved to the current setup, I didn't bother to reconfigure nginx. Maybe I'll do it some day... -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail:   raoul.sny...@gmail.com Web:      http://www.saturnlaboratories.co.za/ Blog

Re: MySQL has gone away errors...

2012-05-07 Thread Raoul Snyman
of this is the server not being hit enough. Then SQLAlchemy holds a bunch of connections which MySQL has deemed too old and drops them from its side. On one site I ended up polling the DB via a cron job. Nasty hack, but it got the job done when none of the other options described worked. -- Raoul Snyman

Pyramid, App Engine, Buildout and Nose Tests

2013-03-05 Thread Raoul Snyman
=${buildout:directory}/parts/google_appengine nsupport/tests [nose-environment] NOSE_WITH_GAE = true NOSE_WHERE = ${buildout:directory}/parts/nsupport -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail: raoul.sny...@gmail.com Web: http://www.saturnlaboratories.co.za/ Blog

Re: Pyramid, App Engine, Buildout and Nose Tests

2013-03-05 Thread Raoul Snyman
with buildout, and I know from what I've read that buildout basically creates something similar to virtualenv, and so I was trying to include all the dependencies in my nosetests section in the buildout configuration, but that doesn't seem to be working. -- Raoul Snyman B.Tech Information

Re: Pyramid, App Engine, Buildout and Nose Tests

2013-03-08 Thread Raoul Snyman
extra-paths = ${buildout:directory}/parts/nsupport ${buildout:directory}/parts/google_appengine ${buildout:directory}/parts/google_appengine/lib/fancy_urllib ${buildout:directory}/parts/google_appengine/lib/yaml/lib -- Raoul Snyman B.Tech Information Technology (Software Engineering) E

Re: buidout : ImportError : no module named pyramid.config

2013-04-02 Thread Raoul Snyman
it, send an email to pylons-discuss+unsubscr...@googlegroups.com. To post to this group, send email to pylons-discuss@googlegroups.com. Visit this group at http://groups.google.com/group/pylons-discuss?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- Raoul Snyman

AngularJS and Pyramid: Directory Structure

2013-07-25 Thread Raoul Snyman
AngularJS UI/bootstrap. -- Raoul Snyman B.Tech Information Technology (Software Engineering) E-Mail: raoul.sny...@gmail.com Web: http://www.saturnlaboratories.co.za/ Blog: http://blog.saturnlaboratories.co.za/ Mobile: 082 550 3754 Registered Linux User #333298 (http://counter.li.org

Re: having error when using buildout for deploying

2013-08-28 Thread Raoul Snyman
I ran into this bug too. Buildout's bootstrap.py can't handle the distribute/setuptools saga. You need to tell bootstrap.py to use buildout 2.1.0. @:~$ python bootstrap.py -v 2.1.0 --distribute Then it all works. Or or did for me, anyway. -- Raoul Snyman e: raoul.sny...@gmail.com / ra

Re: [pylons-discuss] Re: Cloud IDE

2015-06-13 Thread Raoul Snyman
Cloud9 (https://c9.io/) supports Python. I don't see how you can't get Pyramid running there. On Sat, Jun 13, 2015 at 11:09 PM Jonathan Vanasco jonat...@findmeon.com wrote: On Saturday, June 13, 2015 at 4:15:33 PM UTC-4, r/ Wobben wrote: Is there a good cloud ide that I can usefor pylons