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

2008-11-19 Thread Jules Stevenson
I'm running Pylons 9.6 under vista 64bit on Python 2.6 64bit. To say it has been a mission to get it working is somewhat of an understatement. Setuptools / easy install is broken under 64bit windows - the exe files it ships with are 32bit and therefore spit blood when trying to execute [i.e.

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

2008-11-19 Thread Wichert Akkerman
Previously Mike Orr wrote: On Tue, Nov 18, 2008 at 12: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.

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

Having some trouble upgrading to Pylons 0.9.7

2008-11-19 Thread Raoul Snyman
Hi all, I'm attempting to upgrade my Pylons app to 0.9.7, but I can't seem to get past the 302 you will now be redirected problem. What I did was I created a totally new Pylons app, and then I started moving my controllers and models and things across. I'm not sure if this is the best way, but

Re: How do I get the current controller action?

2008-11-19 Thread sector119
http://wiki.pylonshq.com/display/pylonscookbook/Authentication+and+Authorization --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to

using image_tag with google charts url

2008-11-19 Thread Jeff Burton
I have 9 different image_tag() helper functions with google chart urls as source and one of them doesn't work. for this particular one image_tag tries to add '.png' on to the end of the google charts link. I get: DeprecationWarning: You've called image_tag with a source that doesn't include an

Re: Having some trouble upgrading to Pylons 0.9.7

2008-11-19 Thread Brian O'Connor
The only thing I can think of is that you aren't including redirect_to(), which isn't included by default anymore. That's located under Import changes on the What's new (I know you said you followed it but it may have slipped by). http://wiki.pylonshq.com/pages/viewpage.action?pageId=11174779

Re: Beaker 1.1 Release

2008-11-19 Thread joeformd
Hi, Not sure if some usage has changed, but when I upgraded to 1.1, my expiretime parameter in cache.get_value() doesnt seem to have any effect - new caches are made, but don't seem to be replaced when the time is up. If I roll back to 0.9 it works fine. Code: request =

Re: Having some trouble upgrading to Pylons 0.9.7

2008-11-19 Thread Mike Orr
On Wed, Nov 19, 2008 at 7:28 AM, Raoul Snyman [EMAIL PROTECTED] wrote: Hi all, I'm attempting to upgrade my Pylons app to 0.9.7, but I can't seem to get past the 302 you will now be redirected problem. What I did was I created a totally new Pylons app, and then I started moving my

Re: Having some trouble upgrading to Pylons 0.9.7

2008-11-19 Thread Raoul Snyman
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 throwing it off. There's no reason to put slashes at the end of URLs except to make it look like a directory to the user, but even

Re: Beaker 1.1 Release

2008-11-19 Thread Michael Bayer
also your usage is more succinct via: response = cache.get_value(request, expiretime=x, createfunc=lambda: func(self, *arg, **kw)) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to

Sandboxed templates (Jinja, Mako)

2008-11-19 Thread Chris
Hi, I'm working on a pylons app and I'm trying to provide a feature that allows users to create their own templates and have them rendered when they go to their own subdomain. For example, arnold.example.com would render using a template that Arnold created and stallone.example.com would render

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: newb: Correct way to set a SQLalchemy 'relation'

2008-11-19 Thread Dalius Dobravolskas
Hi, contact=ArkContact() contact.client=Session.query(ArkClient).filter(ArkClient.client=='clientName ').first() Session.add(contact) Session.commit() This does seem to work, but I just wanted to know if this is the 'correct' way of doing things, it seems a little strange to me. Many

Re: End URLS in slash?

2008-11-19 Thread Mike Orr
On Wed, Nov 19, 2008 at 9:07 PM, Jorge Vargas [EMAIL PROTECTED] wrote: 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

Re: Sandboxed templates (Evoque, Jinja, Mako)

2008-11-19 Thread Mario Ruggier
On Nov 20, 2008, at 4:37 AM, Chris wrote: Hi, I'm working on a pylons app and I'm trying to provide a feature that allows users to create their own templates and have them rendered when they go to their own subdomain. For example, arnold.example.com would render using a template that Arnold

Re: webhelpers: link_to and htmlbuilder whitespace

2008-11-19 Thread Mike Orr
On Wed, Nov 19, 2008 at 9:17 PM, Jorge Vargas [EMAIL PROTECTED] wrote: two questions one email 1- how can I add whitespace in html building, I find literal(' ') ugly. The use case two tags inside a div HTML.span('Welcome %s' % identity['repoze.who.userid'])+literal('

Re: End URLS in slash?

2008-11-19 Thread Ian Bicking
Mike Orr wrote: 1) Serve /foo as a container and let /foo/ not exist, which is what most Pylons apps do. 2) Redirect /foo to /foo/. Either is fine (you can have a redirect for 1 too). The most important thing is just not to be ambiguous. And you should probably do redirects. 3) Serve

Re: FormEncode and i18n

2008-11-19 Thread Dalius Dobravolskas
Hi, I'm having some troubles with FormEncode and internationalization. What I'm trying to do is to make FE to display properly translated messages for those form fields that are not valid. After a lot of trials and errors I found that (using paster shell):

Re: pylons templates

2008-11-19 Thread Dalius Dobravolskas
Any advice? Maybe CSS file is cached in your browser? Ctrl+R might help. Install firebug (if you are using firefox) and analyze result. -- Dalius http://blog.sandbox.lt --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google