Re: easy_install pylons

2008-12-18 Thread Philip Jenvey
On Dec 18, 2008, at 6:48 PM, Mike Orr wrote: > Why do requirements sometimes mean "Install this version minimum but > take a newer one if it's available", and sometimes "Install this > version even if there's a newer one?" > > So, Pylons has 'WebHelpers>=0.6.3"' . I'd hope that would install >

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

2008-12-18 Thread Mike Orr
On Thu, Dec 18, 2008 at 8:49 PM, Jorge Vargas wrote: > > On Thu, Dec 18, 2008 at 4:14 PM, Ben Bangert 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

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 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? Ideally I w

Re: Pylons widgets...?

2008-12-18 Thread Jorge Vargas
On Thu, Dec 18, 2008 at 7:25 PM, Iain Duncan 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/ >> >> [1]http://toscawidgets.org/documentation/rum/ >

Re: Pylons widgets...?

2008-12-18 Thread Jorge Vargas
On Thu, Dec 18, 2008 at 4:12 PM, Julio Napurí Carlos 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 of TW, it

Re: easy_install pylons

2008-12-18 Thread Mike Orr
On Thu, Dec 18, 2008 at 5:38 PM, Philip Jenvey 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 now, and as you mentioned, is also on pypi) as a minimum. I don't understand why requirement

Re: Routes user survey

2008-12-18 Thread Mike Orr
On Thu, Dec 18, 2008 at 4:44 PM, Jonathan Vanasco wrote: > I can't seem to reply to the 'group', so i'm emailing the group > address and 2 vocal people, hoping for the best. apologies if you get > this 2x. > > something that i would LOVE to see in routes, is this: > > right now, routes maps like

Re: easy_install pylons

2008-12-18 Thread Philip Jenvey
On Dec 18, 2008, at 8:48 AM, Lawrence Oluyede wrote: > > On Thu, Dec 18, 2008 at 5:27 PM, Tibor Arpas > wrote: >> >> Hi, >> >> I don't know if anybody noticed. easy_install pylons is broken >> because of this: >> >> (ENV) C:\Documents and Settings\All >> Users\services\infinitsk\infinitsk>e

Re: Pylons widgets...?

2008-12-18 Thread Iain Duncan
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/ > > [1]http://toscawidgets.org/documentation/rum/ Rum doesn't replace toscawidgets, it provides an admin app fr

Re: Routes user survey

2008-12-18 Thread Jonathan Vanasco
I can't seem to reply to the 'group', so i'm emailing the group address and 2 vocal people, hoping for the best. apologies if you get this 2x. something that i would LOVE to see in routes, is this: right now, routes maps like this: map.connect( 'faq_page', 'faq', controller='semi_static', ac

Authkit and users for mysql database

2008-12-18 Thread hoochie
I have a table with the name users in a mysql database. I want to use Authkit for letting users login into the the web application. How can I first check if the user exists in the user table before I can grant him/her access to the web application ? How can I use Authkit with this ? --~--~---

Re: Problem with pylons install on win XP 32

2008-12-18 Thread Julio Napurí Carlos
You should work with Python 2.5, or maybe you could use 0.9.7rc --~--~-~--~~~---~--~~ 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 unsubscr

Re: Pylons widgets...?

2008-12-18 Thread Julio Napurí Carlos
Uhmm what about rum [1] and RumAlchemy ? Some cool things you might overlook http://rumdemo.toscawidgets.org/ [1]http://toscawidgets.org/documentation/rum/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-d

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

2008-12-18 Thread Ben Bangert
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? Ideally I want to mix this with webtest so I can have a generic test that w

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

2008-12-18 Thread Mike Orr
If anybody has an idea how this information could be gathered and stored at route creation, we could consider adding it. For instance map.connect(..., legal_urls=['/...', '/...']) That might serve as documentation, and also the URLs could be automatically verified against the route. Does that s

Re: Selective bypassing of Error middleware in Pylons 0.9.7?

2008-12-18 Thread Ian Bicking
Domhnall Walsh wrote: > Hi there: > > Hopefully you guys can help me. I'm working on an application that needs > to be able to selectively output JSON based on whether the submitted > requestion specifies "application/json" in the request's 'Accept:' > headers. I had a mechanism that worked ok

Re: Pylons widgets...?

2008-12-18 Thread Jorge Vargas
On Thu, Dec 18, 2008 at 1:58 PM, Kevin Baker 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 tutorials off the P

Pylons widgets...?

2008-12-18 Thread Kevin Baker
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 tutorials off the Pylons documentation site..? Thanks, -- kevin --~--~-

Selective bypassing of Error middleware in Pylons 0.9.7?

2008-12-18 Thread Domhnall Walsh
Hi there: Hopefully you guys can help me. I'm working on an application that needs to be able to selectively output JSON based on whether the submitted requestion specifies "application/json" in the request's 'Accept:' headers. I had a mechanism that worked okay in Pylons 0.9.6 based on a custom e

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 wrote: > > On Thu, 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? Ideal

Re: Flickr tutorial under 0.9.7?

2008-12-18 Thread Matt Feifarek
On Wed, Dec 17, 2008 at 6:19 PM, Ben Bangert wrote: > > I've updated the front page in the codebase which will soon be up at > http://beta.pylonshq.com/, to properly reflect what's in Pylons 0.9.7. > Should be deployed there shortly. I'm also getting most of the links fixed > up so the site can b

Re: easy_install pylons

2008-12-18 Thread Lawrence Oluyede
On Thu, Dec 18, 2008 at 5:27 PM, Tibor Arpas wrote: > > Hi, > > I don't know if anybody noticed. easy_install pylons is broken because of > this: > > (ENV) C:\Documents and Settings\All > Users\services\infinitsk\infinitsk>easy_install decorator==2.3.1 > Searching for decorator==2.3.1 > Reading

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

2008-12-18 Thread Mike Orr
On Thu, 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? Ideally I want to mix this with > webtest so I can have a generi

easy_install pylons

2008-12-18 Thread Tibor Arpas
Hi, I don't know if anybody noticed. easy_install pylons is broken because of this: (ENV) C:\Documents and Settings\All Users\services\infinitsk\infinitsk>easy_install decorator==2.3.1 Searching for decorator==2.3.1 Reading http://www.pylonshq.com/download/ Reading http://pypi.python.org/simple/

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 I

RE: Problem with pylons install on win XP 32

2008-12-18 Thread Jules Stevenson
> Hi All, > > I've been trying to get pylons up and running on a win 32bit XP box > under > python 2.6.1. Easy install worked up until the json errors, I then > manually > installed the rest of the dependancies. JSON I ran without speedups, > and > therefore bypassed the failure to install. It

Re: Testing a controller with upload_files ?

2008-12-18 Thread Kurt Häusler
Ahh ok then, it looks like I am using paste.fixture Anyway, I found out what the problem was, it was with the filename. filename = u"test.jpg" upload_files=('test', filename) fails but filename = "test.jpg" upload_files=('test', filename) works. And filename = u"test.jpg" upload_files=('test