[web2py:38375] Re: A simple patch to provide upload progress

2010-01-05 Thread AndCycle
well, I think there are so many solutions to do this, but I don't have a perfect solution for this, this simplest one might be limit only one process running for web2py, like WSGIDaemonProcess myweb2py processes=1 I know this is a silly solution, or you have to hack relative source code not to us

[web2py:33701] Re: A simple patch to provide upload progress

2009-10-26 Thread AndCycle
to gluon to see what is > > going on. > > > Richard > > > On Oct 22, 8:30 pm, AndCycle wrote: > > > > found a article about this,http://www.motobit.com/help/scptutl/pa98.htm > > > it's the limit applied on browser lol > > > > so if

[web2py:33401] Re: A simple patch to provide upload progress

2009-10-22 Thread AndCycle
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 wrote: > ok, Richard, are you trying to upload a re

[web2py:33400] Re: A simple patch to provide upload progress

2009-10-22 Thread AndCycle
ok, Richard, are you trying to upload a 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

[web2py:33398] Re: A simple patch to provide upload progress

2009-10-22 Thread AndCycle
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? > > Ric

[web2py:33397] Re: A simple patch to provide upload progress

2009-10-22 Thread AndCycle
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 wrote: > > > No, nothing is uploaded. Theprogressbar shows NaN (divide by zero > > error), then

[web2py:33155] Re: A simple patch to provide upload progress

2009-10-19 Thread AndCycle
sorry, I currently don't have time to help you :X http://www.andcycle.idv.tw/~andcycle/tmp/web2py-rev1289.7z here is my trunk with example at web2py\applications\examples\controllers\upload_progress_examples.py help yourself, just tell me if this works for you On Oct 19, 9:02 am, Ri

[web2py:33028] CRON doesn't work when installed as win32 service

2009-10-16 Thread AndCycle
I have looked part of the code, hard cron execute in widght.py, but not winservice.py, I thought winservice should consider as a standalone server too because http://www.web2py.com/examples/default/cron says "Hard cron, available if using the built-in web server" yes, as a win32 service I think

[web2py:33021] Re: A simple patch to provide upload progress

2009-10-16 Thread AndCycle
http://www.web2pyslices.com/main/slices/take_slice/10 anyway, I have done the sample, any comment? :~ On Oct 16, 11:39 pm, AndCycle wrote: > would you? :p > > On Oct 15, 2:03 pm, mdipierro wrote: > > > yes. Thank you! We should post a web2pyslice about this. > > > O

[web2py:33015] Re: A simple patch to provide upload progress

2009-10-16 Thread AndCycle
ss() in trunk. Is there an example how to > > > > use it? > > > > Richard > > > > > On Oct 11, 6:43 am, mdipierro wrote: > > > > > > @AndCycle > > > > > > I rearranged the code in trunk a bit. Could you check it still works? >

[web2py:32718] Re: A simple patch to provide upload progress

2009-10-12 Thread AndCycle
by the way, the validation widget also require a client side javascript to do their job, it's really piss user off when the system raise a error after they uploaded hundreds of mega, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[web2py:32717] Re: A simple patch to provide upload progress

2009-10-12 Thread AndCycle
later, I am trying to keep my job lol On Oct 11, 3:42 pm, mdipierro wrote: > Would you post a web2pyslice on this? > > Massimo > > On Oct 10, 5:14 pm, AndCycle wrote: > > > @Massiom > > >http://pastebin.com/f69e7b008 > > > here is the patch includ

[web2py:32716] Re: please check trunks

2009-10-12 Thread AndCycle
I can't get @reboot cron to work, this doesn't work at current stable release either :/ On Oct 11, 4:27 am, mdipierro wrote: > there a lot of new things in trunk. Please check it. > > In particular: > 1) cached uploads allow for progress bars (thanks AndCycle) > 2) ing

[web2py:32642] Re: A simple patch to provide upload progress

2009-10-10 Thread AndCycle
@Massiom http://pastebin.com/f69e7b008 here is the patch include a working sample, by the way you got another indent error in copystream_progress :p On Oct 11, 3:43 am, mdipierro wrote: > @AndCycle > > I rearranged the code in trunk a bit. Could you check it still works? >

[web2py:32461] Re: A simple patch to provide upload progress

2009-10-08 Thread AndCycle
thanks :) I will take some free time to write a example base on trunk :p On Oct 7, 10:24 pm, mdipierro wrote: > Check again. I added it now. > > On Oct 7, 6:42 am, AndCycle wrote: > > > oops, the patch been cut by width restriction on mailing list lol > > > here is

[web2py:32374] Re: A simple patch to provide upload progress

2009-10-07 Thread AndCycle
oops, the patch been cut by width restriction on mailing list lol here is pastebin http://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

[web2py:32373] A simple patch to provide upload progress

2009-10-07 Thread AndCycle
after read over this "thread [web2py:23034] Upload progress" http://www.mail-archive.com/web2py@googlegroups.com/msg13111.html I have looks around how other web framework done this, in pylons's way, this require a WSGI middleware and URLmap, unfortunately URLmap is impossible for web2py, and wra

[web2py:32091] Unicode support for class StringWidget(FormWidget) at web2py.gluon.sqlhtml

2009-10-02 Thread AndCycle
x27;text', 91 value = (value!=None and str(value)) or '', 92 ) 93 attr = StringWidget._attributes(field, default, **attributes) 94 95 return INPUT(**attr) here is the traceback Traceback (most recent call last): File "gluon/restricted.py", line 178, in restricted Fi