>From debugging gluon/main.py I found out the problem - me!
The upload was so fast that it had finished before the first progress
bar call. At the end of the upload the cache is cleared, so that the
first progress bar call returned an undefined cache.

Does the cache need to be cleared, or is it better to update the
controller/view to avoid NaN?

Richard


On Oct 22, 11:52 pm, Richard <[email protected]> wrote:
> my file is just a few MB. That's interesting about the browser
> limitation...
>
> Has anyone got this to work on Linux?
>
> As you suggest, I'll try debugging deeper into gluon to see what is
> going on.
>
> Richard
>
> On Oct 22, 8:30 pm, AndCycle <[email protected]> wrote:
>
> > found a article about this,http://www.motobit.com/help/scptutl/pa98.htm
> > it's the limit applied on browser lol
>
> > so if you use FireFox with HttpFox you can see the post sends nothing
> > if file bigger than 2GB
>
> > On Oct 22, 5:24 pm, AndCycle <[email protected]> wrote:
>
> > > ok, Richard, are you trying touploada really big file that over 2GB?
> > > try smaller one like 100MB,
> > > I am investigating where is the limit
>
> > > AndCycle wrote:
> > > > oops, there must be something breaked, I can't it work too,
>
> > > > I will reply after fix it, sorry :(
>
> > > > Richard wrote:
> > > > > I got the same problem with the example from AndCycle, using the
> > > > > builtin web2py server.
> > > > > Can anyone else get it working? If so what setup do you have?
>
> > > > > Richard
>
> > > > > On Oct 20, 3:40 pm, Richard <[email protected]> wrote:
> > > > > > No, nothing is uploaded. Theprogressbar shows NaN (divide by zero
> > > > > > error), then the page submits but the file is not uploaded.
>
> > > > > > I'll check the uploaded example - thanks for that.
> > > > > > Richard
>
> > > > > > On Oct 20, 6:32 am, mdipierro <[email protected]> wrote:
>
> > > > > > > doesuploadwork? This assumes cache.ram is working so it would not
> > > > > > > work with CGI.
>
> > > > > > > Massimo
>
> > > > > > > On Oct 18, 8:02 pm, Richard <[email protected]> wrote:
>
> > > > > > > > thanks for putting that together!
> > > > > > > > I tried it out with latest trunk but found that the returned 
> > > > > > > > json was
> > > > > > > > always {'length':0, 'uploaded':0}
> > > > > > > > Any ideas? I didn't change anything.
>
> > > > > > > > In case it matters I am using the builtin web2py server with 
> > > > > > > > sqlite on
> > > > > > > > Ubuntu 9.04.
>
> > > > > > > > Also is post.json necessary? It will use generic.json by 
> > > > > > > > default.
>
> > > > > > > > Richard
>
> > > > > > > > On Oct 17, 3:59 am, AndCycle <[email protected]> 
> > > > > > > > wrote:
>
> > > > > > > > >http://www.web2pyslices.com/main/slices/take_slice/10
>
> > > > > > > > > anyway, I have done the sample, any comment? :~
>
> > > > > > > > > On Oct 16, 11:39 pm, AndCycle 
> > > > > > > > > <[email protected]> wrote:
>
> > > > > > > > > > would you? :p
>
> > > > > > > > > > On Oct 15, 2:03 pm, mdipierro <[email protected]> 
> > > > > > > > > > wrote:
>
> > > > > > > > > > > yes. Thank you! We should post a web2pyslice about this.
>
> > > > > > > > > > > On Oct 14, 11:50 pm, Richard <[email protected]> wrote:
>
> > > > > > > > > > > > is this it?http://pastebin.com/f69e7b008
>
> > > > > > > > > > > > On Oct 15, 11:55 am, mdipierro 
> > > > > > > > > > > > <[email protected]> wrote:
>
> > > > > > > > > > > > > I remember the author of the patch posted an example 
> > > > > > > > > > > > > but I cannot find
> > > > > > > > > > > > > it. I hope he will step in and point us to it.
>
> > > > > > > > > > > > > Massimo
>
> > > > > > > > > > > > > On Oct 14, 7:43 pm, Richard <[email protected]> 
> > > > > > > > > > > > > wrote:
>
> > > > > > > > > > > > > > hello,
>
> > > > > > > > > > > > > > I noticed copystream_progress() in trunk. Is there 
> > > > > > > > > > > > > > an example how to
> > > > > > > > > > > > > > use it?
> > > > > > > > > > > > > > Richard
>
> > > > > > > > > > > > > > On Oct 11, 6:43 am, mdipierro 
> > > > > > > > > > > > > > <[email protected]> wrote:
>
> > > > > > > > > > > > > > > @AndCycle
>
> > > > > > > > > > > > > > > I rearranged the code in trunk a bit. Could you 
> > > > > > > > > > > > > > > check it still works?
> > > > > > > > > > > > > > > Thanks again.
>
> > > > > > > > > > > > > > > Massimo
>
> > > > > > > > > > > > > > > On Oct 8, 5:14 am, AndCycle 
> > > > > > > > > > > > > > > <[email protected]> wrote:
>
> > > > > > > > > > > > > > > > thanks :)
>
> > > > > > > > > > > > > > > > I will take some free time to write a example 
> > > > > > > > > > > > > > > > base on trunk :p
>
> > > > > > > > > > > > > > > > On Oct 7, 10:24 pm, mdipierro 
> > > > > > > > > > > > > > > > <[email protected]> wrote:
>
> > > > > > > > > > > > > > > > > Check again. I added it now.
>
> > > > > > > > > > > > > > > > > On Oct 7, 6:42 am, AndCycle 
> > > > > > > > > > > > > > > > > <[email protected]> wrote:
>
> > > > > > > > > > > > > > > > > > oops, the patch been cut by width 
> > > > > > > > > > > > > > > > > > restriction on mailing list lol
>
> > > > > > > > > > > > > > > > > > here is 
> > > > > > > > > > > > > > > > > > pastebinhttp://pastebin.com/f219d603b
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to