On 11 Lut, 12:41, Jakub Stolarski [EMAIL PROTECTED] wrote:
Hi,
I have to upload huge files (up to 200MB) through Pylons and save it
on disk. When I read request.params.keys memory consumption raises up
to 250MB with 100MB uploaded file (then it generally falls). Is there
any method to keep
Hello Chris,
thank you for the response. I'll have a try with your code and see how
it runs with me.
Regards,
Chris AtLee wrote:
Hi Alexandre,
I've done something like this in my controller:
def __call__(self, environ, start_response):
# Wrap an exception in an XMLRPC fault
Is there an action to view the latest debug view?
is /_debug/latest/ instead of /_debug/view/12345678
I'm debugging a facebook app so i don't get to see the error screen
directly because the html is proxied. At the moment I'm having to copy
and paste the debug view urls each time.
If there
On Feb 11, 2008 12:19 AM, Max Ischenko [EMAIL PROTECTED] wrote:
Very new werkzeug WSGI framework has an interesting routing approach:
http://werkzeug.pocoo.org/documentation/routing
May be something worth studying.
It's got some ideas, most notably its way of handling trailing
slashes.
On Feb 10, 2008 1:48 PM, iain duncan [EMAIL PROTECTED] wrote:
Might be worth cross posting that to the TG list
because there is a lot of Genshi/Tosca discussion on there as well and I
imagine the crossover will increase with TG2
Forwarded a summary to the turbogears list.
--
Mike Orr [EMAIL
Very new werkzeug WSGI framework has an interesting routing approach:
http://werkzeug.pocoo.org/documentation/routing
May be something worth studying.
--
Max
http://maxischenko.in.ua // http://www.linkedin.com/in/maksim
--~--~-~--~~~---~--~~
You received this
Hi,
I have to upload huge files (up to 200MB) through Pylons and save it
on disk. When I read request.params.keys memory consumption raises up
to 250MB with 100MB uploaded file (then it generally falls). Is there
any method to keep memory usage low?
Python 2.4/2.5
Pylons 0.9.6.1
Run with
usage just like pylons.decorators.validate()
Example:
# route
map.connect(:controller/:action/:a/:b)
class schema_test(formencode.schema):
a = form.validators.String(not_empty = False)
b = form.validators.String(not_empty = False)
# class
@argument_valdate(schem = schema_test())
def