Re: Problem with installation on linux/suse

2008-07-25 Thread mario ruggier
On Thu, 24 Jul 2008 11:01:54 -0700, "Mike Orr" <[EMAIL PROTECTED]> wrote: > On Thu, Jul 24, 2008 at 2:04 AM, mario ruggier <[EMAIL PROTECTED]> wrote: >> >> OK, interesting stuff, if somewhat magical. > > It's standard Python troubleshooting techniques, so worth keeping in > your wallet for when

Re: About the whitespaces in URLs

2008-07-25 Thread Stefano
On Jul 25, 12:10 am, "Lawrence Oluyede" <[EMAIL PROTECTED]> wrote: > > Ok  I'll try tomorrow > I have a similar problem with '/' escape in a params in the url. Example routes '/controller/:code/:var' (version 1.9.1) code = /3 (escaped %2F3) var = 01 url = http://localhost:5000/contro

Re: About the whitespaces in URLs

2008-07-25 Thread Lawrence Oluyede
On Fri, Jul 25, 2008 at 4:18 PM, Stefano <[EMAIL PROTECTED]> wrote: > > > > On Jul 25, 12:10 am, "Lawrence Oluyede" <[EMAIL PROTECTED]> wrote: >> >> Ok I'll try tomorrow >> > > I have a similar problem with '/' escape in a params in the url. > > Example > > routes '/controller/:code/:var' (versio

Read configuration file

2008-07-25 Thread Kless
How to access to variables from configuration file? I've tried without luck the next: -- from paste.deploy import appconfig filename = 'development.ini' conf = appconfig('config:' + filename, relative_to='.') -- It shows: ImportError: has no 'ma

Re: About the whitespaces in URLs

2008-07-25 Thread Dean Landolt
> I'm working in a intranet environment, and the '/' is a item code > naming convention in ERP and the field compose the key of database > table. > > For workaround I chosen to replace backslash with underscore when i > create the url, and replace the '_' where i use it in the sql > statement param

Configuration file

2008-07-25 Thread Kless
How is possible that 'config.get' works any times? I'm using it in two different modules and I get a 'None' value in one of them. -- from pylons import config foo = config.get('foo.bar', None) -- --~--~-~--~~~---~--~~ You received

Re: About the whitespaces in URLs

2008-07-25 Thread Stefano
On Jul 25, 5:28 pm, "Lawrence Oluyede" <[EMAIL PROTECTED]> wrote: > > I think there's no fix for this. / is the path separator in URL > specification (seehttp://www.faqs.org/rfcs/rfc1738.html). > So you should avoid considering '/' as part of your "code" > Thank you > You are not bound to expo