have you tried print debug lol

put some print in gluon/main.py copy_steram func to verify it received
X-Progress-ID,
and see is it doing increment for cache?

next checkout controller if it received X-Progress-ID too,
if it get X-Progress-ID, what it extract from cache?

if the cache is always zero, well, that's tricky,
you may have to hack gluon/cache.py to see what's happened

my environment is Py 2.6.3, under Vista x64 sp2,
I have installed pywin32 for portalock in web2py,
and use fx 3.5 for development

On Oct 22, 2:20 pm, Richard <richar...@gmail.com> 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 <richar...@gmail.com> 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 <mdipie...@cs.depaul.edu> wrote:
>
> > > doesuploadwork? This assumes cache.ram is working so it would not
> > > work with CGI.
>
> > > Massimo
>
> > > On Oct 18, 8:02 pm, Richard <richar...@gmail.com> 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 <andcycle-goo...@andcycle.idv.tw> 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 <andcycle-goo...@andcycle.idv.tw> wrote:
>
> > > > > > would you? :p
>
> > > > > > On Oct 15, 2:03 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > > > > > yes. Thank you! We should post a web2pyslice about this.
>
> > > > > > > On Oct 14, 11:50 pm, Richard <richar...@gmail.com> wrote:
>
> > > > > > > > is this it?http://pastebin.com/f69e7b008
>
> > > > > > > > On Oct 15, 11:55 am, mdipierro <mdipie...@cs.depaul.edu> 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 <richar...@gmail.com> wrote:
>
> > > > > > > > > > hello,
>
> > > > > > > > > > I noticed copystream_progress() in trunk. Is there an 
> > > > > > > > > > example how to
> > > > > > > > > > use it?
> > > > > > > > > > Richard
>
> > > > > > > > > > On Oct 11, 6:43 am, mdipierro <mdipie...@cs.depaul.edu> 
> > > > > > > > > > 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 
> > > > > > > > > > > <andcycle-goo...@andcycle.idv.tw> wrote:
>
> > > > > > > > > > > > thanks :)
>
> > > > > > > > > > > > I will take some free time to write a example base on 
> > > > > > > > > > > > trunk :p
>
> > > > > > > > > > > > On Oct 7, 10:24 pm, mdipierro <mdipie...@cs.depaul.edu> 
> > > > > > > > > > > > wrote:
>
> > > > > > > > > > > > > Check again. I added it now.
>
> > > > > > > > > > > > > On Oct 7, 6:42 am, AndCycle 
> > > > > > > > > > > > > <andcycle-goo...@andcycle.idv.tw> 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 web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to