On Nov 5, 9:44 am, Alagu Madhu [EMAIL PROTECTED] wrote:
Hi
I am send the data in json
format(login={user:python,password:pylons}).
...
print request.params.keys()
print request.params.items()
print request.params.values()
...
[]
[]
[]
Thanks
Madhu Alagu
working fine
Chris Shenton wrote:
I've got an app that needs to read and parse a data file (a RADIUS
dictionary, not a Python dictionary but a flat file). I want to
include this file in my egg so I don't have to depend on the OS having
RADIUS installed.
In the application's top-level setup.py, I add
Actually, Ian clarified that the threadpool can be turned off. Add the
following to the [server] section:
use_threadpool = false
On my linux system, that cut the Virtual from 100Mb to 18Mb.
But this is then single-process mode, I guess?
* threadpool_workers = 10
virtual 108104, resident 18900
(...)
So it looks like it is all about thread-local storage. Maybe just
the thread stack size...
What figures do you get for the above if you run:
ulimit -s 512
*Far* smaller, for example with workers=10 I got virtual about
Any ideas how could I reduce pylons app RAM usage? At the moment
pylons process takes above 100MB (almost static site serving some
templates) - both when run with paste, and when run under mod_wsgi.
Quite a lot, considering that for example whole moinmoin manages to
work on ~25MB.
Short
Thanks for the summary Martin! I've copied it to Pylons' wiki [1] so
it's easier to find for reference in the future.
Alberto
[1] http://wiki.pylonshq.com/x/M4Kq
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Alberto Valverde [EMAIL PROTECTED] writes:
Thanks for the summary Martin!
Good old habit from times when I participated in tru64-unix-managers.
On that list the initial poster was always expected to create
'solution' post with the summary info, at least in case reply was not
trivial. I must
Thanks for help, but when I try to use models in controllers I receive
empty lists.Should I really try to write for example list =
model.MyModel.query.all() in controllers' functions?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Marcin Kasperski wrote:
Actually, Ian clarified that the threadpool can be turned off. Add the
following to the [server] section:
use_threadpool = false
On my linux system, that cut the Virtual from 100Mb to 18Mb.
But this is then single-process mode, I guess?
No, it spawns a new thread
On Oct 31, 2007, at 7:37 AM, oscar tackstrom wrote:
Hi,
I'm developing a combined chat-bot/question answering system and plan
to use xml-rpc with pylons to serve web clients. Since other parts of
the project are already implemented in pylons (administration and
database connections), I
On 11/5/07, EricHolmberg [EMAIL PROTECTED] wrote:
I currently use Firebug, but it leaves a lot to be desired (like a
stack trace).
firebug do have a stack trace.
On the script tab look at the top on the right of the Inspect. The
stack is displayed horizontally... (of course you need to stop in
On 11/6/07, Eduardo Schettino [EMAIL PROTECTED] wrote:
On 11/5/07, EricHolmberg [EMAIL PROTECTED] wrote:
I currently use Firebug, but it leaves a lot to be desired (like a
stack trace).
firebug do have a stack trace.
On the script tab look at the top on the right of the Inspect. The
Greetings Pyloneers,
I'm hacking a plugin system for Gazest at the moment and I'm having a
minor Unicode problem. The Pygments plugin returns an HTML fragment
out of a Mako template, I render it with:
pylons.render(/foo.mako, fruitsalad=pygments.highlight(...))
All the other Gazest
On Nov 5, 2007, at 2:33 PM, Yannick Gingras wrote:
Greetings Pyloneers,
I'm hacking a plugin system for Gazest at the moment and I'm
having a
minor Unicode problem. The Pygments plugin returns an HTML fragment
out of a Mako template, I render it with:
pylons.render(/foo.mako,
On Nov 4, 10:48 pm, Dalius Dobravolskas
[EMAIL PROTECTED] wrote:
I currently use Firebug, but it leaves a lot to be desired (like a
stack trace).
FireBug is general purpose web development tool but usually it is
enough. If you need something more powerful you could try
I currently use Firebug, but it leaves a lot to be desired (like a
stack trace).
firebug do have a stack trace.
On the script tab look at the top on the right of the Inspect. The
stack is displayed horizontally... (of course you need to stop in a
breakpoint to see it)
You can
16 matches
Mail list logo