Hello,
I get it working using the following trick:
websetup.py:
class stdout_proxy(object):
def __getattribute__(self, key):
return getattr(sys.stdout, key)
def setup_config(command, filename, section, vars):
Place any commands to setup abc here
conf = appconfig('config:' +
hi all,
app_globals.py:
from pylons import config
def __init__(self):
cache_dir = config.get('cache_dir')
print cache_dir
I get 'None' value...
Thanks
Madhu Alagu
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
possibly see if you have another version of Paste installed in your path.
On Jan 6, 2008 10:40 PM, Rich [EMAIL PROTECTED] wrote:
Hi,
I upgraded to the latest version of Pylons two days ago. Since then,
I can't either start an existing Web instance, or create a new one.
This is one I just
config[app_conf].get(cache_dir, None)
Alagu Madhu 写道:
hi all,
app_globals.py:
from pylons import config
def __init__(self):
cache_dir = config.get('cache_dir')
print cache_dir
I get 'None' value...
Thanks
Madhu Alagu
Fellow earthicans...
today I had a case where I wanted to @validate (Pylons decorator) GET
requests through a formencode schema. It works well now that I use the
parameters
- post_only=False
- on_get=True
I just wonder if there is a reason that those are two parameters. Is
there any case where
Over the weekend Ben and I and others developed a plan to overhaul
WebHelpers. A preliminary API proposal is here:
http://wiki.pylonshq.com/display/pylonsprojects/WebHelpers+ideas .
The main goals are:
* Consolidate the 21 submodules into a much smaller number.
* Fix the bugs,
I looked over the testing page and saw we're recommending nosetests
with self.assertEqual(). That seems a bit schizophrenic since
nosetests -d is supposed to unpack assert expressions for you, and
show you the actual values of variables. However, my experience with
nosetests -d shows it
Architectural decisions must be made, and the TG2 team has - after
careful public deliberation - made one in the best interests of their
users. Thank you.
I am trying very hard to make sure that archetectural decisions are
made in an open and public manner, and I have often found myself to
That sounds cool. I put Seattle on the list for Saturday; we have an
informal sprint-or-whatever every week and can probably drum up a few
people. I haven't used TG for two years so own my memory is vague,
but I'll be happy to do cross-framework stuff or be a Pylons advisor.
It looks like
On Jan 6, 9:47 pm, Mike Orr [EMAIL PROTECTED] wrote:
There's a TRAC ticket for this.http://pylonshq.com/project/pylonshq/ticket/351
Thanks, I'll keep an eye on that ticket.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Ian,
I was able to upgrade PasteScript to 1.6.1.1 I took a ride on it.
That did the trick.
Many many thanks!
Regards,
Rich
On Jan 7, 8:59 am, Ian Bicking [EMAIL PROTECTED] wrote:
PasteScript 1.6 (and 1.6.1) had a bug on Windows. It should be fixed in
1.6.1.1.
Rich wrote:
Hi,
11 matches
Mail list logo