Re: [web2py] Re: Problem with uploading large file web2py version 2.3.2

2013-03-10 Thread Massimo Di Pierro
Your post very very helpful. Indeed the problem is problem being passed to the URL function by the grid. I believe this is now fixed. Can you help me check it? Massimo On Saturday, 9 March 2013 13:21:38 UTC-6, Massimo Di Pierro wrote: Thank you Ricardo. This helps a lot. I will fix it asap.

[web2py] Re: Problem with uploading large file web2py version 2.3.2

2013-03-10 Thread Massimo Di Pierro
This was indeed a problem with grid (not uploaded) as suggested by Roberto. Can you please check it is fixed in trunk? On Friday, 8 March 2013 19:55:35 UTC-6, Mạnh Trần Đức wrote: Hi,this is my db: db.define_table('clsb_product',

Re: [web2py] Re: Problem with uploading large file web2py version 2.3.2

2013-03-10 Thread Ricardo Pedroso
On Sun, Mar 10, 2013 at 2:21 PM, Massimo Di Pierro massimo.dipie...@gmail.com wrote: This was indeed a problem with grid (not uploaded) as suggested by Roberto. Can you please check it is fixed in trunk? I did the same test as before and now I don't see the memory and CPU spikes, so it's fixed.

Re: [web2py] Re: Problem with uploading large file web2py version 2.3.2

2013-03-10 Thread Niphlod
Massimo, who is Roberto? If I'm not wrong you are referring to me and I'm Ricardo ;) Both names have 7 letters and starts/ends with same letters, remind me http://en.wikipedia.org/wiki/Typoglycemia lol. I'm niphlod, niphold, niphodl , etc . commits messages ala autocowrecks

Re: [web2py] Re: Problem with uploading large file web2py version 2.3.2

2013-03-10 Thread Massimo Di Pierro
I am all red. :-( Anyway, I got your name correct in the commit. I should definitively know better. You have an italian name. Massimo On Sunday, 10 March 2013 11:13:20 UTC-5, Ricardo Pedroso wrote: On Sun, Mar 10, 2013 at 2:21 PM, Massimo Di Pierro massimo@gmail.com javascript: wrote:

Re: [web2py] Re: Problem with uploading large file web2py version 2.3.2

2013-03-10 Thread Massimo Di Pierro
I have a script to automatically group all your aliases when generating the book acknowledgements. ;-) On Sunday, 10 March 2013 11:17:15 UTC-5, Niphlod wrote: Massimo, who is Roberto? If I'm not wrong you are referring to me and I'm Ricardo ;) Both names have 7 letters and starts/ends

Re: [web2py] Re: Problem with uploading large file web2py version 2.3.2

2013-03-09 Thread Ricardo Pedroso
On Sat, Mar 9, 2013 at 4:27 AM, Massimo Di Pierro massimo.dipie...@gmail.com wrote: I cannot reproduce the problem. I was able to reproduce it with web2py Version 2.4.2-stable+timestamp.2013.03.09.00.16.49 I attach a small sample that demonstrate the issue. Just drop the attachment in

Re: [web2py] Re: Problem with uploading large file web2py version 2.3.2

2013-03-09 Thread Massimo Di Pierro
Thank you Ricardo. This helps a lot. I will fix it asap. massimo On Saturday, 9 March 2013 10:10:19 UTC-6, Ricardo Pedroso wrote: On Sat, Mar 9, 2013 at 4:27 AM, Massimo Di Pierro massimo@gmail.com javascript: wrote: I cannot reproduce the problem. I was able to reproduce it with

[web2py] Re: Problem with uploading large file web2py version 2.3.2

2013-03-08 Thread Mạnh Trần Đức
Hi,this is my db: db.define_table('clsb_product', Field('product_category', type = 'reference clsb_category', notnull = True, label = T('Category')), Field('product_type', type = 'reference clsb_product_type', notnull = True,

[web2py] Re: Problem with uploading large file web2py version 2.3.2

2013-03-08 Thread Massimo Di Pierro
I cannot reproduce the problem. It would help if you could isolate it. Do you see the memory increase during upload? After upload? During validation? After validation? When the form is successfully uploaded or only when there is error in the form? Can you reproduce it if there is only one

[web2py] Re: Problem with uploading large file web2py version 2.3.2

2013-03-07 Thread Massimo Di Pierro
Can you show us your code? Web2py is transparent to the upload and does not stores the uploaded file in ram but your app may do it and that may be a problem. On Wednesday, 6 March 2013 20:56:28 UTC-6, Mạnh Trần Đức wrote: When I upload a ~400Mb file: Firstly, After Chrome show upload 100% ,

[web2py] Re: Problem with uploading large file web2py version 2.3.2

2013-03-06 Thread Mạnh Trần Đức
When I upload a ~400Mb file: Firstly, After Chrome show upload 100% , the python progress jump from 50 -. 400 MB Then after few senconds, it jumps to max of RAM (Step by step, 1GB, 1.5GB, ... 2.5 GB) then my PC hang (Fully of RAM) On Monday, March 4, 2013 7:15:55 PM UTC+7, Phyo Arkar wrote:

[web2py] Re: Problem with uploading large file web2py version 2.3.2

2013-03-04 Thread Phyo Arkar
How much Ram it takes. Wont take alot more than 400mb i believe. On Monday, March 4, 2013 2:40:12 PM UTC+6:30, Mạnh Trần Đức wrote: Dear everyone, I uploaded file about 100mb successfully but it got Exceptions.MemoryError when I uploaded a file ~400mb. I tried upload to ftp with