Re: newbie here ...

2008-02-24 Thread Jorge Vargas
On Sun, Feb 24, 2008 at 4:52 AM, Chad [EMAIL PROTECTED] wrote: I want to start off by saying that I'm a huge python advocate and that I've been developing web applications in python for the last 3 years. I decided to check out Rails a few months ago to see what the fuss was about.

Re: Auth and Auth

2008-03-28 Thread Jorge Vargas
On Fri, Mar 28, 2008 at 2:48 PM, Mike Orr [EMAIL PROTECTED] wrote: This discussion shows Pylons needs some kind of flexible but standard system of authentication authorization. It has also been clear from the past several months that AuthKit provides *a* unified solution for both

Re: Pylons + Google App Engine

2008-04-11 Thread Jorge Vargas
On Wed, Apr 9, 2008 at 11:50 AM, Mike Orr [EMAIL PROTECTED] wrote: The problem with C libraries is a lot bigger than just Google. It frustrates users on Windows and Macintosh to no end, and many of them give up trying to install Pylons/lxml/ToscaWidgets/wxPython and go on to something

Re: appengine-monkey, Pylons, library support

2008-04-16 Thread Jorge Vargas
On Sun, Apr 13, 2008 at 6:33 PM, Ian Bicking [EMAIL PROTECTED] wrote: Hi all. I've been working on a project to provide some of the functionality that is missing from the App Engine environment: http://code.google.com/p/appengine-monkey/ Currently this fairly modest set of functions

Re: Routes 1.8 Release

2008-04-16 Thread Jorge Vargas
On Sun, Apr 6, 2008 at 11:51 PM, Damjan [EMAIL PROTECTED] wrote: Previously, Routes used a ';' mark for an action in map.resource, like: /comments/4;preview With 1.8, its now: /comments/4/preview What exactly is the reason for this? I'm asking since ; seemed like a nice

Re: Protect CSS,Image and JavaScript

2008-04-22 Thread Jorge Vargas
On Tue, Apr 22, 2008 at 6:15 AM, Alagu Madhu [EMAIL PROTECTED] wrote: Hi xul/ public/ /css xul.css /image xul.jpg /js login.js ... I am able to access css,image and javascript from the

Re: Mako escaping javascript/stylesheet WebHelpers

2008-04-25 Thread Jorge Vargas
On Fri, Apr 25, 2008 at 4:29 PM, Devin Torres [EMAIL PROTECTED] wrote: Nevermind. It seems there was a bug in Mako. It never needed the filter syntax before, but changing it to this did the trick: ${ h.stylesheet_link_tag('blueprint/src/reset.css',

Re: Paginate module

2008-05-01 Thread Jorge Vargas
On Wed, Apr 9, 2008 at 5:03 PM, Mike Orr [EMAIL PROTECTED] wrote: On Wed, Apr 9, 2008 at 1:04 PM, blaf [EMAIL PROTECTED] wrote: Thanks Mike... you got a more complete one =) The more I use Pylons the more I'm impressed by all the contributions... juste started using your

Re: Paginate module

2008-05-02 Thread Jorge Vargas
On Thu, May 1, 2008 at 3:18 PM, Christoph Haas [EMAIL PROTECTED] wrote: Hi, Jorge... On Donnerstag, 1. Mai 2008, Jorge Vargas wrote: hi I was going to ask about this but I saw this recent thread regarding the pagination and it seems better to follow up on this than to start a new

Re: tg_flash equivalent in pylons?

2008-05-02 Thread Jorge Vargas
On Fri, May 2, 2008 at 7:04 PM, noflashlight [EMAIL PROTECTED] wrote: Hello, I am fairly new to pylons, so far I really like it. I think it is a big improvement over Turbogears. However I have one question. Is there any equivalent functionality to the Turbogears' tg_flash' in

Re: tg_flash equivalent in pylons?

2008-05-05 Thread Jorge Vargas
On Sat, May 3, 2008 at 3:36 PM, noflashlight [EMAIL PROTECTED] wrote: On May 3, 2:12 pm, noflashlight [EMAIL PROTECTED] wrote: On May 3, 1:34 pm, noflashlight [EMAIL PROTECTED] wrote: On May 3, 12:19 am, Jonathan Vanasco [EMAIL PROTECTED] wrote: as for the improvement I

Re: notmm-0.2.10p8 released

2008-05-05 Thread Jorge Vargas
On Sat, May 3, 2008 at 9:56 AM, Etienne Robillard [EMAIL PROTECTED] wrote: So, if bigger projects like Pylons or Django don't even let smaller embryonic projects evolves, I can understand very well why theses projects are so popular, and lesser known projects gets very little

about formencode and i18n

2008-05-07 Thread Jorge Vargas
Hi, I'm having a little trouble getting this to work. I want to re utilize the FE validator messages in a i18n context. Which isn't exactly i18n it's just that my application is currently in a non-english language, and given it's scope it's probably going to stay there. First of all I'm not

Re: Running Pylons with PHP

2008-05-12 Thread Jorge Vargas
On Mon, May 12, 2008 at 4:43 PM, Syp [EMAIL PROTECTED] wrote: Hello -- Does anyone know if it's possible to run Pylons and PHP together on the same port? huh? unless you configure your apache to serve both py and php and mess around with everyrequest to see who is handling what no. I'll

Re: Running Pylons with PHP

2008-05-12 Thread Jorge Vargas
On Mon, May 12, 2008 at 6:06 PM, Mike Orr [EMAIL PROTECTED] wrote: On Mon, May 12, 2008 at 1:43 PM, Syp [EMAIL PROTECTED] wrote: Otherwise you can use a different named virtual host (Jorge's subdomain idea) or a different IP. But named virtual hosts won't work if you're using HTTPS.

get_lang/set_lang why the different signature?

2008-05-13 Thread Jorge Vargas
Hi, I'm a bit confused as to why this is implemented like it is. set_lang is a string which inside pylons (_get_translator in translation.py) is converted to a list to make python's gettext happy. but then it's stored as a list in translator.pylons_lang which is retrieved by get_lang. not

Re: mako marco? webhelpers plugin?

2008-05-13 Thread Jorge Vargas
On Tue, May 13, 2008 at 6:07 PM, lasizoillo [EMAIL PROTECTED] wrote: Hi 2008/5/11 [EMAIL PROTECTED]: i am new to pylons and found the webhelpers are quite handy. i need to program on other javascript lib(dhtml calendar) which is not include in webhelpers. if i want to make

Re: WebHelpers 0.6 released

2008-07-12 Thread Jorge Vargas
On Tue, Jul 8, 2008 at 6:18 PM, Mike Orr [EMAIL PROTECTED] wrote: WebHelpers 0.6 final has been released. Just do: $ easy_install -U WebHelpers For now you'll have to read the docstrings in the source code for documentation. I'm hoping these will be included online in the Pylons

Re: distribute Pylons app with bytecode files only?

2008-07-12 Thread Jorge Vargas
On Mon, Jul 7, 2008 at 5:48 PM, Cliff Wells [EMAIL PROTECTED] wrote: Sometimes this type of security is required (by law or PHB's), but most people who ask this sort of question are simply following a cargo-cult mentality of believing that source code must be kept secret, without much

Re: response status when form validation fails

2008-08-19 Thread Jorge Vargas
On Tue, Aug 19, 2008 at 1:08 AM, Lawrence Oluyede [EMAIL PROTECTED] wrote: On Tue, Aug 19, 2008 at 8:20 AM, Sok Ann Yap [EMAIL PROTECTED] wrote: Returning 400 for form validation error is recommended by Leonard Richardson and Sam Ruby in the book RESTful Web Services. Here's an excerpt from

Re: Plesae do not remove pylons releases

2008-08-25 Thread Jorge Vargas
On Sat, Aug 23, 2008 at 10:41 AM, Noah Gift [EMAIL PROTECTED] wrote: More and more I like the idea of there being an extension to easy_install and virtualenv that is like an rpm or deb package. You have an all inclusive package that contains all the actual eggs needed to deploy a particular

Re: beaker trac

2008-08-25 Thread Jorge Vargas
On Fri, Aug 22, 2008 at 7:58 PM, Walter Cruz [EMAIL PROTECTED] wrote: How can I submit a bug to beaker? The trac requests a password :) here is how http://wiki.pylonshq.com/display/pylonscommunity/Home PS: I just notice that page still has references to SVN, that should be updated, and I

Which is the best way to make a variable available to all templates?

2008-09-02 Thread Jorge Vargas
I want to be able to customize some layout variables from the config files. For example I want to have a company_name variable that will be displayed as title ${company_name} - Downloads /title I think the best way to accomplish this will be to prepopulate the variable in lib/base but I'm not

WSGI callable and pylons __before__

2008-09-08 Thread Jorge Vargas
Hi, I got the following situation: I'm running a couple of other apps as wsgi callables, they follow the object dispatcher protocol of wsgi, that is a class that extends BaseController which as a __call__ method that in turns call the wsgi app with the environ and start_reponse. it's all

Re: Is AuthKit still acrively being developed?

2008-09-12 Thread Jorge Vargas
On Fri, Sep 12, 2008 at 11:24 AM, Jonathan Vanasco [EMAIL PROTECTED] wrote: On Sep 12, 8:38 am, Bartosz R [EMAIL PROTECTED] wrote: Some claim (http://beta.stackoverflow.com/questions/47801) that it is not. And so it seems that the last commit was 2 months ago... Can anyone clarify? trac

Re: Is AuthKit still acrively being developed?

2008-09-12 Thread Jorge Vargas
On Fri, Sep 12, 2008 at 3:45 PM, Mike Orr [EMAIL PROTECTED] wrote: On Fri, Sep 12, 2008 at 1:50 PM, Jonathan Vanasco [EMAIL PROTECTED] wrote: i was just talking about open source projects in general... a lot of people seem to be leaving subversion for git, or mercurial, or other more

Re: When using GAE locally, which site.py is supposed to be loaded?

2008-09-18 Thread Jorge Vargas
On Wed, Sep 17, 2008 at 5:06 PM, Josh Heitzman [EMAIL PROTECTED] wrote: Your general one or the one in your project directly? will you be more specific, I'm not aware of any site.py that needs to be loaded. are you talking about appengine monkey?

Re: Handling subdomains

2008-09-20 Thread Jorge Vargas
On Fri, Sep 19, 2008 at 6:45 AM, Rob [EMAIL PROTECTED] wrote: Hi, I would like to have the administration side of my application done though a subdomain (admin.example.com). How would I set this up with pylons? Please look in the archives, this exact same question was ask about a week ago.

Re: newbie Oct 2008 - v0.9.6.x or 0.9.7 ?

2008-10-06 Thread Jorge Vargas
On Sun, Oct 5, 2008 at 8:49 PM, Emmett [EMAIL PROTECTED] wrote: Pylons newbie here. Followed the docs.pylonshq instructions and therefore installed 0.9.7, learning rapidly in the past couple of days. I like it. Especially the WSGI concept. I like Python a lot, and now this framework (some

Re: newbie Oct 2008 - v0.9.6.x or 0.9.7 ?

2008-10-06 Thread Jorge Vargas
, or to convey it via some other method? if they are the official docs, then yes as you will need an account on the wiki for it, what I normally do is post a comment on the page and if it's important enough post to the mailing list, with a link and explanation. Emmett On Oct 6, 11:05 pm, Jorge

non rails number_to_human_size ?

2008-10-07 Thread Jorge Vargas
Is this not implemented or I miss it somewhere? if it isn't implemented I think that the rails version is good enough to be ported to number.py --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group.

Re: non rails number_to_human_size ?

2008-10-07 Thread Jorge Vargas
On Tue, Oct 7, 2008 at 4:26 PM, Mike Orr [EMAIL PROTECTED] wrote: On Tue, Oct 7, 2008 at 7:58 AM, Jorge Vargas [EMAIL PROTECTED] wrote: Is this not implemented or I miss it somewhere? if it isn't implemented I think that the rails version is good enough to be ported to number.py

Re: non rails number_to_human_size ?

2008-10-07 Thread Jorge Vargas
On Tue, Oct 7, 2008 at 4:43 PM, Mike Orr [EMAIL PROTECTED] wrote: On Tue, Oct 7, 2008 at 3:26 PM, Mike Orr [EMAIL PROTECTED] wrote: def format_size(n, binary, precision?) ``n`` -- the number ``binary`` -- true to use base 1024 and the Gi series. ``precision`` -- not sure about this

Re: Where is secure_button_to in new WebHelpers 0.6.1

2008-10-12 Thread Jorge Vargas
On Sun, Oct 12, 2008 at 6:45 AM, Jan Koprowski [EMAIL PROTECTED] wrote: Hi ! I am unsurprised to CSRF security generators. I can't find anywhere secure_do_button. Last implementation is in rails module which is deprecated. Any idea ? isn't that in html/secure_form.py ? Greetings from

Re: Pylons: pros and cons

2008-10-15 Thread Jorge Vargas
On Mon, Oct 13, 2008 at 10:11 PM, Mike Orr [EMAIL PROTECTED] wrote: On Mon, Oct 13, 2008 at 9:14 AM, Tomasz Nazar [EMAIL PROTECTED] wrote: Hi there! I've been a Pylons user for more than a year already. Few other people in the neighbourhood ask me for Pylons advantages often, so I also

Re: Pylons: pros and cons

2008-10-16 Thread Jorge Vargas
On Wed, Oct 15, 2008 at 2:11 PM, Mike Orr [EMAIL PROTECTED] wrote: On Wed, Oct 15, 2008 at 10:25 AM, Jorge Vargas [EMAIL PROTECTED] wrote: On Mon, Oct 13, 2008 at 10:11 PM, Mike Orr [EMAIL PROTECTED] wrote: On Mon, Oct 13, 2008 at 9:14 AM, Tomasz Nazar [EMAIL PROTECTED] wrote: Is reason

Re: Pylons Authentication Options

2008-10-16 Thread Jorge Vargas
On Wed, Oct 15, 2008 at 4:30 PM, Mike Orr [EMAIL PROTECTED] wrote: On Wed, Oct 15, 2008 at 3:29 PM, Mike Orr [EMAIL PROTECTED] wrote: On Wed, Oct 15, 2008 at 3:22 PM, MilesTogoe [EMAIL PROTECTED] wrote: Mike Orr wrote: On Wed, Oct 15, 2008 at 11:03 AM, Steven [EMAIL PROTECTED] wrote: I'm

Re: Displaying Data in a grid

2008-10-17 Thread Jorge Vargas
On Fri, Oct 17, 2008 at 8:10 AM, Matt Feifarek [EMAIL PROTECTED] wrote: On Fri, Oct 17, 2008 at 5:12 AM, Toby Catlin [EMAIL PROTECTED] wrote: I am sure this has been done before but i am having trouble finding any references to existing code. As i don't want to reinvent the wheel i was

Re: Zipping Pylons components on App Engine

2008-10-27 Thread Jorge Vargas
On Fri, Oct 24, 2008 at 3:19 AM, Mike Orr [EMAIL PROTECTED] wrote: I tried zipping some eggs for Pylons under Appengine-Monkey today., For some reason the App Engine environment seems to honor directories listed in a .pth file but not zips listed in a .pth file, so I had to put the zips

Re: Start action at the specific time.

2008-10-27 Thread Jorge Vargas
On Sat, Oct 25, 2008 at 6:06 AM, gra2n [EMAIL PROTECTED] wrote: Is there posibility to start some action at specific time in Pylons without user action ?? For example I have in my database a group of things to do and time when to start doing them. My problem is to implement function which

Re: HTTPS connection support in soaplib/client.py

2008-11-19 Thread Jorge Vargas
On Mon, Nov 17, 2008 at 4:50 PM, miaw [EMAIL PROTECTED] wrote: Hi, I found that although HTTPSConnection is implemented in httplib.py; in soaplib/client.py, when make_service_client is called, we are not able to pass a scheme argument to specify which type of connection we want to build

Re: Pylons and Python 2.6 (Was: Re: go-pylons.py broken on Python 2.6 in Windows?)

2008-11-19 Thread Jorge Vargas
On Tue, Nov 18, 2008 at 2:22 AM, Lawrence Oluyede [EMAIL PROTECTED] wrote: On Tue, Nov 18, 2008 at 8:35 AM, Eric Ongerth [EMAIL PROTECTED] wrote: Correction: the point at which easy_installing Pylons errored out was during the installation of simpleJSON. So it never reached the point of

Re: Paster Shell Debug

2008-11-19 Thread Jorge Vargas
On Mon, Nov 17, 2008 at 6:02 PM, nym [EMAIL PROTECTED] wrote: I'm having no luck in trying to get paster shell to log messages. If I have a model that logs a message, where does that message go? Do I need to enable logging somehow? I have no problem logging with regular requests. This is

Re: End URLS in slash?

2008-11-19 Thread Jorge Vargas
On Wed, Nov 19, 2008 at 2:43 PM, Randy Syring [EMAIL PROTECTED] wrote: On Nov 19, 2:20 pm, Raoul Snyman [EMAIL PROTECTED] wrote: On Wed, Nov 19, 2008 at 7:05 PM, Mike Orr [EMAIL PROTECTED] wrote: Looking at your modules, I didn't know Routes had an .append_slash option but that could be

Re: Running mulitple versions of Pylons apps with shared hosting.

2008-12-01 Thread Jorge Vargas
On Mon, Dec 1, 2008 at 7:52 AM, Dalius Dobravolskas [EMAIL PROTECTED] wrote: Any help would be appreciated. virtualenv should help you. I have not used myself virtualenv for hosting yet but I think that's one purposes it is created for. yes totally, I don't deploy anymore without venv. Hey

Re: Authentication methods for a mercurial controller

2008-12-03 Thread Jorge Vargas
On Thu, Dec 4, 2008 at 10:59 AM, Thomas Johnson [EMAIL PROTECTED] wrote: I am working on implementing a mercurial controller in my application. So far I am able to clone and pull from it without any troubles. I only push via ssh so I am not sure if it is supported. Here is a simplified

Re: Pyjamas : Python - JS

2008-12-05 Thread Jorge Vargas
On Fri, Dec 5, 2008 at 5:15 AM, Kless [EMAIL PROTECTED] wrote: I've looking for any bridge between python and JS to building easily the user interfaces (client side). --I dislike JS, and it's heavy to have to know and deal with HTML, CSS JS and the API of any JS framework-- Ago time I had

Re: Pyjamas : Python - JS

2008-12-06 Thread Jorge Vargas
On Sat, Dec 6, 2008 at 3:39 AM, Wichert Akkerman [EMAIL PROTECTED] wrote: Previously Eric Ongerth wrote: I have heard that the more you try to make Javascript behave like Python, the more you end up hating Javascript -- but that says nothing about Javascript itself. Javascript is really a

Re: Django or Pylons - comparison details

2008-12-08 Thread Jorge Vargas
On Mon, Dec 8, 2008 at 3:54 AM, Krishgy [EMAIL PROTECTED] wrote: If your questions needs to be answered quickly, Django may be right choice. I think, you could have known why not to use PHP when you ask question on Django vs Pylons :-) . I NEVER worked on Python at jobs. I wanted to create

Re: mycompany.myapp instead of myapp as base package ?

2008-12-12 Thread Jorge Vargas
On Fri, Dec 12, 2008 at 5:49 PM, Mike Orr sluggos...@gmail.com wrote: On Fri, Dec 12, 2008 at 3:22 PM, aaron tacob...@gmail.com wrote: I have a setup like this, which seems to work ok, except for one major issue: paster shell doesn't work. So, our entry points in setup.py:

Re: mycompany.myapp instead of myapp as base package ?

2008-12-15 Thread Jorge Vargas
On Mon, Dec 15, 2008 at 6:07 PM, Wyatt Baldwin wyatt.lee.bald...@gmail.com wrote: On Dec 12, 7:29 am, Guillaume guillaume.tagl...@gmail.com wrote: Hi, I'm currently developing a set of applications, and I have one problem. They should all reside in the same package. The package structure

Re: mycompany.myapp instead of myapp as base package ?

2008-12-16 Thread Jorge Vargas
On Mon, Dec 15, 2008 at 6:45 PM, Wyatt Baldwin wyatt.lee.bald...@gmail.com wrote: On Dec 15, 4:27 pm, Jorge Vargas jorge.var...@gmail.com wrote: On Mon, Dec 15, 2008 at 6:07 PM, Wyatt Baldwin wyatt.lee.bald...@gmail.com wrote: On Dec 12, 7:29 am, Guillaume guillaume.tagl...@gmail.com

Re: Testing a controller with upload_files ?

2008-12-17 Thread Jorge Vargas
On Wed, Dec 17, 2008 at 3:54 AM, Kurt kurt.haeus...@gmail.com wrote: Hi, I have a controller, that takes a normal param, as well as a couple of files as input. It works fine when called from a client, but I am having trouble getting a unit test to work. response =

Re: Testing a controller with upload_files ?

2008-12-17 Thread Jorge Vargas
at 12:52 PM, Jorge Vargas jorge.var...@gmail.com wrote: On Wed, Dec 17, 2008 at 3:54 AM, Kurt kurt.haeus...@gmail.com wrote: Hi, I have a controller, that takes a normal param, as well as a couple of files as input. It works fine when called from a client, but I am having trouble getting a unit

how can I ask routes for all possible urls?

2008-12-18 Thread Jorge Vargas
Hi, I'm writing unit tests and I was wondering if there is a way to ask routes for all possible urls it can handle. if this is not, there how hard will it be to implement? Ideally I want to mix this with webtest so I can have a generic test that will tell me if all urls I'm calling are ok, by ok

Re: how can I ask routes for all possible urls?

2008-12-18 Thread Jorge Vargas
On Thu, Dec 18, 2008 at 10:32 AM, Mike Orr sluggos...@gmail.com wrote: On Thu, Dec 18, 2008 at 7:55 AM, Jorge Vargas jorge.var...@gmail.com wrote: Hi, I'm writing unit tests and I was wondering if there is a way to ask routes for all possible urls it can handle. if this is not, there how

Re: Pylons widgets...?

2008-12-18 Thread Jorge Vargas
On Thu, Dec 18, 2008 at 1:58 PM, Kevin Baker kba...@missionvi.com wrote: We are starting to build out our templates for a new project. I would like to leverage all the ninja widget functionality in Pylons. Should I be using the toscaWidget stuff? If so I assume I should use some of the

Re: Pylons widgets...?

2008-12-18 Thread Jorge Vargas
On Thu, Dec 18, 2008 at 4:12 PM, Julio Napurí Carlos juli...@gmail.com wrote: Uhmm what about rum [1] and RumAlchemy ? Some cool things you might overlook http://rumdemo.toscawidgets.org/ [1]http://toscawidgets.org/documentation/rum/ As Iain pointed out Rum is a, admin tool build on top

Re: Pylons widgets...?

2008-12-18 Thread Jorge Vargas
On Thu, Dec 18, 2008 at 7:25 PM, Iain Duncan iaindun...@telus.net wrote: On Thu, 2008-12-18 at 17:12 -0500, Julio Napurí Carlos wrote: Uhmm what about rum [1] and RumAlchemy ? Some cool things you might overlook http://rumdemo.toscawidgets.org/

Re: how can I ask routes for all possible urls?

2008-12-18 Thread Jorge Vargas
On Thu, Dec 18, 2008 at 4:14 PM, Ben Bangert b...@groovie.org wrote: On Dec 18, 2008, at 7:55 AM, Jorge Vargas wrote: Hi, I'm writing unit tests and I was wondering if there is a way to ask routes for all possible urls it can handle. if this is not, there how hard will it be to implement

Re: how can I ask routes for all possible urls?

2008-12-20 Thread Jorge Vargas
On Thu, Dec 18, 2008 at 11:12 PM, Mike Orr sluggos...@gmail.com wrote: On Thu, Dec 18, 2008 at 8:49 PM, Jorge Vargas jorge.var...@gmail.com wrote: On Thu, Dec 18, 2008 at 4:14 PM, Ben Bangert b...@groovie.org wrote: On Dec 18, 2008, at 7:55 AM, Jorge Vargas wrote: Hi, I'm writing unit

Re: easy_install pylons

2008-12-20 Thread Jorge Vargas
On Thu, Dec 18, 2008 at 8:48 PM, Mike Orr sluggos...@gmail.com wrote: On Thu, Dec 18, 2008 at 5:38 PM, Philip Jenvey pjen...@underboss.org wrote: I haven't tried 3.0 yet, and we're very close to 0.9.7 so I'm not going to require it just yet. Instead we'll require 2.3.2 (which is quite old

Re: how many people actually use authkit, formbuild or tosca-widgets ?

2008-12-27 Thread Jorge Vargas
On Sat, Dec 27, 2008 at 2:19 AM, Tycon adie...@gmail.com wrote: to me it seems like a waste of time to deal with some poorly written, poorly documented, poorly supported library that someone wrote with not much effort. Funny thing people spend way more time trying to figure out and use

Re: setting the filename for download

2009-01-05 Thread Jorge Vargas
On Mon, Jan 5, 2009 at 3:11 PM, m h sesqu...@gmail.com wrote: On Mon, Jan 5, 2009 at 10:20 AM, mk mrk...@gmail.com wrote: Hello everyone, I'm a beginner with Pylons and am trying to set the filename of a file to download in an action (that is, controller method): def environ3(self):

Re: Best unit testing module for pylons REST api calls

2009-01-07 Thread Jorge Vargas
On Wed, Jan 7, 2009 at 2:51 PM, csismondo csismo...@roadrunner.com wrote: I have a controller that I want to build unit test for, the controller is a web-based REST api, and I would like to know what you guys would recommend for a module. http://pypi.python.org/pypi/WebTest/1.1

Re: global h variable

2009-01-07 Thread Jorge Vargas
On Wed, Jan 7, 2009 at 1:05 PM, mk mrk...@gmail.com wrote: Hello everyone, I'm really new to Pylons, so could someone please help me clear some of the confusion with the following stuff? I'm trying to access global h variable in Pylons 0.9.7, mainly for sake of getting at url_for

Re: Pylons and SQLAlchemy 5.0.

2009-01-13 Thread Jorge Vargas
On Tue, Jan 13, 2009 at 3:32 PM, grassoalvaro grassoalv...@yahoo.com wrote: Hi, Can someone tell me how to declare models using sqlalchemy 5.0? When i'm trying something like that: class Worker(object): __tablename__ = 'workers' id = Column(Integer, primary_key=True) and next i'm

Re: Helpers!!!

2009-01-13 Thread Jorge Vargas
On Tue, Jan 13, 2009 at 1:26 PM, mk mrk...@gmail.com wrote: Ben Bangert wrote: But output of my own helper is still being escaped. Can you include the helper you're referring to? Your helper might be using a function/class which causes it to escape content. It's really basic: def

Re: Is Pylons a meta-package ?

2009-01-13 Thread Jorge Vargas
On Sun, Jan 11, 2009 at 3:41 PM, Ian Bicking i...@colorstudy.com wrote: On Sun, Jan 11, 2009 at 3:19 PM, Tycon adie...@gmail.com wrote: I guess that means routes can be taken out if I remove the routes middleware and use my own url_for (which I was just about ready to do). So in your

Re: Is Pylons a meta-package ?

2009-01-13 Thread Jorge Vargas
On Sun, Jan 11, 2009 at 4:40 PM, Tycon adie...@gmail.com wrote: Does WSGI support remote processes (e.g. on other machines) ? If not then it's a dead end for scalability. I don't see any reason to use proprietary protocol when more standard ones exist. I'm only talking about the spec for

Re: Recommended production deployment (was: Re: Is Pylons a meta-package ?)

2009-01-13 Thread Jorge Vargas
On Mon, Jan 12, 2009 at 2:22 PM, Tycon adie...@gmail.com wrote: No, mod_wsgi is a hack. Embedded mode is bad, no serious website is running app server embedded in web server. Daemon mode is even more stupid, an unstable (and non scalable) way of using web server to manage the app server, and

Re: Paster controller command not recognized

2009-01-13 Thread Jorge Vargas
On Thu, Jan 8, 2009 at 1:30 PM, Bryan bryanv...@gmail.com wrote: When I run paster controller controller name, i get an error: Command controller not known I have a .egg-info directory, and a paster_plugins.txt file in it with Pylons, WebHelpers, PasteScript inside on separate lines. I own

Re: Pylons and SQLAlchemy 5.0.

2009-01-13 Thread Jorge Vargas
On Wed, Jan 14, 2009 at 12:36 AM, Wyatt Baldwin wyatt.lee.bald...@gmail.com wrote: On Jan 13, 7:07 pm, Jorge Vargas jorge.var...@gmail.com wrote: On Tue, Jan 13, 2009 at 3:32 PM, grassoalvaro grassoalv...@yahoo.com wrote: Hi, Can someone tell me how to declare models using sqlalchemy 5.0

Re: Recommended production deployment

2009-01-13 Thread Jorge Vargas
On Wed, Jan 14, 2009 at 12:54 AM, Jorge Vargas jorge.var...@gmail.com wrote: On Tue, Jan 13, 2009 at 11:51 PM, Tycon adie...@gmail.com wrote: Im using Ubunto 8.04 LTS and running the test using ab -n 1 -c 10 to localhost, in order to focus on the request handling code in the server stack

Re: Pylons and SQLAlchemy 5.0.

2009-01-14 Thread Jorge Vargas
On Wed, Jan 14, 2009 at 1:13 AM, Wyatt Baldwin wyatt.lee.bald...@gmail.com wrote: On Jan 13, 10:45 pm, Jorge Vargas jorge.var...@gmail.com wrote: On Wed, Jan 14, 2009 at 12:36 AM, Wyatt Baldwin wyatt.lee.bald...@gmail.com wrote: On Jan 13, 7:07 pm, Jorge Vargas jorge.var...@gmail.com

Re: Recommended production deployment

2009-01-14 Thread Jorge Vargas
You are simply FUD. You are cherrypicking on which posts to reply to, why didn't you reply to Graham's point regarding lazy loading? it almost seems like you want to make mod_wsgi bad... Using apache has always been about optimizations, I'm certain your apache process is loading a ton of stuff,

Re: Is Django more popular than Pylons?

2009-01-19 Thread Jorge Vargas
On Sun, Jan 18, 2009 at 6:05 PM, walterbyrd walterb...@iname.com wrote: And if so, why? yes, so does php, your point? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group,

Re: Django or Pylons - comparison details

2009-01-19 Thread Jorge Vargas
On Mon, Jan 19, 2009 at 3:15 PM, Lawrence Oluyede l.oluy...@gmail.com wrote: On Mon, Jan 19, 2009 at 6:20 PM, Colin Flanagan quadvill...@yahoo.com wrote: I'm curious if Django's CMS reputation comes from the fact that it's used by a lot of newspapers and content providers, or if there really

Re: Django or Pylons - comparison details

2009-01-19 Thread Jorge Vargas
On Mon, Jan 19, 2009 at 4:03 PM, Mike Orr sluggos...@gmail.com wrote: On Mon, Jan 19, 2009 at 1:29 PM, Wyatt Baldwin wyatt.lee.bald...@gmail.com wrote: On Jan 19, 9:20 am, Colin Flanagan quadvill...@yahoo.com wrote: The SQLAlchemy argument is a very compelling one. I have an application

Re: What's my application version?

2009-01-19 Thread Jorge Vargas
On Mon, Jan 19, 2009 at 6:36 PM, will welch welch.quietple...@gmail.com wrote: What's the blessed way for my application to get its version string (eg, the 0.1.0dev_r159 portion of the egg name application-0.1.0dev_r159-py2.4.egg) I'm not 100% of the question but you are looking for setup.py

Re: Django or Pylons - comparison details

2009-01-19 Thread Jorge Vargas
On Mon, Jan 19, 2009 at 4:54 PM, Colin Flanagan quadvill...@yahoo.com wrote: - Original Message From: Jorge Vargas jorge.var...@gmail.com To: pylons-discuss@googlegroups.com Sent: Monday, January 19, 2009 4:45:35 PM Subject: Re: Django or Pylons - comparison details On Mon

Re: On disk data files

2009-01-21 Thread Jorge Vargas
On Wed, Jan 21, 2009 at 2:55 PM, Ross Vandegrift r...@kallisti.us wrote: Hey everyone, Is there a good place in a pylons project to put data files that need to be used by the app at various places? They don't need to be web accessible - strictly internal stuff. In this case I have some

Re: python -3 switch

2009-01-22 Thread Jorge Vargas
On Thu, Jan 22, 2009 at 5:59 AM, przemek.ch przemek...@gmail.com wrote: Hi, python 2.6 has a switch -3 which will show warnings about code that is not compatible with python 3 is ther a way to use tis switch with pylons? pylons don't use python directly and there's no such switch for

Re: State of Auth with Pylons

2009-01-27 Thread Jorge Vargas
On Tue, Jan 27, 2009 at 7:29 AM, Chris Miles miles.ch...@gmail.com wrote: I haven't dealt with this problem either. I had a quick look at TurboGears 2 to see if they had a solution for it in a quickstarted app (they use repoze.who/repoze.what) but they don't display an error message for

Re: State of Auth with Pylons

2009-01-27 Thread Jorge Vargas
On Tue, Jan 27, 2009 at 10:16 AM, TJ Ninneman t...@twopeasinabucket.com wrote: This was also discuss in the TG list recently and even though this is a great thing it's hard for when you need to do caching of the pages. The current solution turbogears uses is a system with two optional

Re: Is Django more popular than Pylons?

2009-01-28 Thread Jorge Vargas
On Wed, Jan 28, 2009 at 8:45 PM, Wyatt Baldwin wyatt.lee.bald...@gmail.com wrote: On Jan 28, 4:06 pm, Mike Orr sluggos...@gmail.com wrote: On Wed, Jan 28, 2009 at 3:37 PM, Akira Kitada akit...@gmail.com wrote: [snip] In production, I've gone to always using virtualenvs. That way if I

Re: Pylons vs Tomcat+GWT

2009-01-31 Thread Jorge Vargas
On Sat, Jan 31, 2009 at 11:00 PM, Tycon adie...@gmail.com wrote: because it's not ready so it's just a toy at this point, just like pyjamas, while GWT is used by real production websites (ever heard of gmail) Actually all I have heard is the opposite. In fact one of GWT's biggest but is that

Re: Sprint at PyCon?

2009-02-25 Thread Jorge Vargas
maybe a little late but I know at least 3 people from TG are going to be there all 4 days, so I hope to see ya there. On Tue, Feb 17, 2009 at 7:35 PM, Matt Feifarek matt.feifa...@gmail.com wrote: On Tue, Feb 17, 2009 at 6:28 PM, Mike Orr sluggos...@gmail.com wrote: Will there be any

Re: looking for freelance work (pylons/python)

2009-02-26 Thread Jorge Vargas
piggybacking on this, we'll start working on a project for this type of thing soon. It will list sites/people/jobs, it's currently semi-private but we are probably going to start working on it post-pycon. Proper announcement will be made. We could investigate on forking kai for this but I think

Re: Clickpass?

2009-02-26 Thread Jorge Vargas
On Wed, Feb 25, 2009 at 2:26 PM, Tom Longson (nym) toml...@gmail.com wrote: Has anyone had experience getting openid or clickpass to work with pylons? pylonshq/kai knows this, what better way to learn that from the master himself :) http://bitbucket.org/bbangert/kai/ Just curious. The idea

Re: looking for freelance work (pylons/python)

2009-02-26 Thread Jorge Vargas
On Fri, Feb 27, 2009 at 3:48 AM, Mike Orr sluggos...@gmail.com wrote: On Thu, Feb 26, 2009 at 11:41 PM, Noah Gift noah.g...@gmail.com wrote: On Fri, Feb 27, 2009 at 8:40 PM, Mike Orr sluggos...@gmail.com wrote: What's this Kai thing you guys are talking about?  I looked in PyPI and googled

Re: looking for freelance work (pylons/python)

2009-02-26 Thread Jorge Vargas
On Fri, Feb 27, 2009 at 3:35 AM, Ben Bangert b...@groovie.org wrote: On Feb 26, 2009, at 11:27 PM, Jorge Vargas wrote: piggybacking on this, we'll start working on a project for this type of thing soon. It will list sites/people/jobs, it's currently semi-private but we are probably going

Re: pylonshq issue tracker disappeared

2009-03-11 Thread Jorge Vargas
On Mon, Mar 9, 2009 at 4:08 PM, Wichert Akkerman wich...@wiggy.net wrote: I'm not sure if anyone already noticed, but at the risk of repeating the message: the issue tracker on pylonshq.com no longer works. All relevant URLs return a 404. works for me

Pre-pycon09 Sprint Planning

2009-03-11 Thread Jorge Vargas
Hello Everyone, Sorry for the inter-list post but this is an inter-list project. Since we share so much in common these days we decided to do a joint sprint, which basically means we'll all be in the same room and we'll probably subdivide ourselfs into small groups inside the room and people

Re: Web based email sql admin for Pylons

2009-03-27 Thread Jorge Vargas
Hi, you are welcome to present this project as a TurboGears GSOC proposal. I also agree this is too wide for something like pylons but it could fit in interesting ways on top of TG. On Tue, Mar 24, 2009 at 4:43 PM, Kevin Ar18 kevina...@hotmail.com wrote: In fact, if there is something like

Alternative Storage choice?

2009-05-23 Thread Jorge Vargas
Hello, I know this may be a little offtopic but I know a lot of people here, have experience in this sort of thing, which is why I'll like to ask. The very short summary of what I need for this project is. A document with a metadata object (Bunch) and a unique id (possible cross domain) per

Third party Service webhelpers?

2009-05-23 Thread Jorge Vargas
Hi, The net today is full with services we pull and mix and match between our sites. - Google ads - google analitics - youtube, vimeo, embed tags - other site specific tags - post to reddit,digg,etc buttons - RSS buttons - etc. So why not pack all those little snippets into a library? This

Subtle bug or anti-feature?

2009-05-23 Thread Jorge Vargas
Hello, I'm testing my new json rendering code for TurboGears and found an interesting bug. I got a controller like @expose('{{package}}.templates.info') @expose('json') def environ(self): return dict(environment=request.environ) for those not familiar it's simply setting

Re: Third party Service webhelpers?

2009-05-25 Thread Jorge Vargas
On Sat, May 23, 2009 at 10:45 PM, Mike Orr sluggos...@gmail.com wrote: On Sat, May 23, 2009 at 6:54 PM, Ben Bangert b...@groovie.org wrote: On May 23, 2009, at 4:26 PM, Jorge Vargas wrote: The net today is full with services we pull and mix and match between our sites. - Google ads

Re: Third party Service webhelpers?

2009-05-25 Thread Jorge Vargas
On Sun, May 24, 2009 at 1:45 PM, Mike Orr sluggos...@gmail.com wrote: On Sun, May 24, 2009 at 1:22 AM, Domen Kožar ielect...@gmail.com wrote: Few weeks ago I was thinking about a similar feature for WebHelpers. Maybe a way to go is to create a ext namespace that would work like third party

  1   2   >