upload progress bar

2007-01-04 Thread Sean Davis
Does pylons have built-in support for upload progress bar that I have missed? If not, can someone point me in the direction of how this might be done? It looks like I need to use an iframe for the actual upload, an AJAX call to stat the filesize on a regular basis, and a way to read the

Re: upload progress bar

2007-01-04 Thread Matt Feifarek
This from Paste is probably where you want to start digging: http://pythonpaste.org/module-paste.progress.html On 1/4/07, Sean Davis <[EMAIL PROTECTED]> wrote: Does pylons have built-in support for upload progress bar that I have missed? If not, can someone point me in the direction

Re: upload progress bar

2007-01-05 Thread James Gardner
Hi Sean, Attached is some code using MochiKit which provides an AJAX upload progress bar. I've been meaning to write it up as an article for the wiki but you might find it useful as is. You'll need a progress-bar.png file for the background. WARNING: It has been a long time sin

Big file upload & progress bar

2010-01-27 Thread morellik
Dear all, I'm writing a pylons application to permit to our users to upload very big files (hundred of MB). During upload I would display a progress bar to check the uploading status. I'm searching for some tools to help me. I find gp.fileupload but I really don't understand how to use in Pylons.

Re: Big file upload & progress bar

2010-01-27 Thread Gael Pasgrimaud
Hi, On Wed, Jan 27, 2010 at 4:15 PM, morellik wrote: > Dear all, > > I'm writing a pylons application to permit to our users to upload very > big files (hundred of MB). During upload I would display a progress > bar to check the uploading status. > > I'm searching for some tools to help me. I fin

Re: Big file upload & progress bar

2010-01-27 Thread morellik
On Jan 27, 4:39 pm, Gael Pasgrimaud wrote: > Hi, > > On Wed, Jan 27, 2010 at 4:15 PM, morellik wrote: > > Dear all, > > > I'm writing a pylons application to permit to our users to upload very > > big files (hundred of MB). During upload I would display a progress > > bar to check the uploading

Re: Big file upload & progress bar

2010-01-27 Thread Gael Pasgrimaud
On Wed, Jan 27, 2010 at 5:04 PM, morellik wrote: > > > On Jan 27, 4:39 pm, Gael Pasgrimaud wrote: >> Hi, >> >> On Wed, Jan 27, 2010 at 4:15 PM, morellik wrote: >> > Dear all, >> >> > I'm writing a pylons application to permit to our users to upload very >> > big files (hundred of MB). During upl

Re: Big file upload & progress bar

2010-01-27 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27 Jan 2010, at 18:56, Gael Pasgrimaud wrote: Latest log entry is now "upgrade sample pylons to 0.9.7" http://www.gawel.org/docs/gp.fileupload/rev/53aa46a39a7e So it should work. Okay, dokey, I'll give it a spin and confirm back that it does

Re: Big file upload & progress bar

2010-01-27 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27 Jan 2010, at 20:24, Graham Higgins wrote: Latest log entry is now "upgrade sample pylons to 0.9.7" http://www.gawel.org/docs/gp.fileupload/rev/53aa46a39a7e So it should work. Okay, dokey, I'll give it a spin and confirm back that it does.

Re: Big file upload & progress bar

2010-01-27 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27 Jan 2010, at 20:24, Graham Higgins wrote: Okay, dokey, I'll give it a spin and confirm back that it does. Yes, it does. I needed to make one or two simple changes and I've updated the bitbucket repos: http://bitbucket.org/gawel/gpfile

Re: Big file upload & progress bar

2010-01-28 Thread Gael Pasgrimaud
On Thu, Jan 28, 2010 at 5:47 AM, Graham Higgins wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > On 27 Jan 2010, at 20:24, Graham Higgins wrote: > >> Okay, dokey, I'll give it a spin and confirm back that it does. > > > Yes, it does. > > I needed to make one or two simple changes and

Re: Big file upload & progress bar

2010-01-28 Thread morellik
> Look like I've forget to sync the repo from bitbucket. > > Latest log entry is now "upgrade sample pylons to > 0.9.7"http://www.gawel.org/docs/gp.fileupload/rev/53aa46a39a7e > > So it should work. > Thanks seems to work. But, when I try to upload a file (around 1/2 MB) the progress bar doesn't

Re: Big file upload & progress bar

2010-01-28 Thread Gael Pasgrimaud
On Thu, Jan 28, 2010 at 11:07 AM, morellik wrote: > >> Look like I've forget to sync the repo from bitbucket. >> >> Latest log entry is now "upgrade sample pylons to >> 0.9.7"http://www.gawel.org/docs/gp.fileupload/rev/53aa46a39a7e >> >> So it should work. >> > > Thanks seems to work. > But, when

Re: Big file upload & progress bar

2010-01-28 Thread morellik
> hm... don't know. What append if you try a 600Mb upload with a standard form ? I didn't tried. > > You can try to turn the log level of the root logger to DEBUG to get > more info in the pylons console and use firebug to log ajax calls in > firefox > I've just try the sampleapp with a 300Mb fi

Re: Big file upload & progress bar

2010-01-28 Thread Gael Pasgrimaud
On Thu, Jan 28, 2010 at 12:58 PM, morellik wrote: > >> hm... don't know. What append if you try a 600Mb upload with a standard form >> ? > > I didn't tried. > >> >> You can try to turn the log level of the root logger to DEBUG to get >> more info in the pylons console and use firebug to log ajax

Re: Big file upload & progress bar

2010-01-28 Thread morellik
> Haha, you're right. I've upgraded my FF to 3.6 (OSX) and got the same crash. > I've also tried without the JS stuff. FF freeze and style freezing > even if the upload is complete. > Don't know what to do. But I don't want to spend time on this buggy > version, sorry. Ok, but which is the minim

Re: Big file upload & progress bar

2010-01-29 Thread Vladimir Dronnikov
> . >  File "/home/morelli/PYTHON/INTERNAL_PROGRAMS/samplepylons/ > samplepylons/config/middleware.py", line 37, in make_app >    config = load_environment(global_conf, app_conf) >  File "/home/morelli/PYTHON/INTERNAL_PROGRAMS/samplepylons/ > samplepylons/config/environment.py", line 26, in load_en

Re: Big file upload & progress bar

2010-01-29 Thread Vladimir Dronnikov
How do I append gp.fileupload to an existing Shabti (shabti_formalchemy) application? In particular, how to attach the middleware? TIA, -- Vladimir -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-di

Re: Big file upload & progress bar

2010-01-29 Thread Graham Higgins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29 Jan 2010, at 21:41, Vladimir Dronnikov wrote: How do I append gp.fileupload to an existing Shabti (shabti_formalchemy) application? In particular, how to attach the middleware? Using the standard tempita substitution pattern, replace {{pac

Re: Big file upload & progress bar

2010-01-29 Thread Vladimir Dronnikov
> >> How do I append gp.fileupload to an existing Shabti >> (shabti_formalchemy) application? In particular, how to attach the >> middleware? > Thanks a lot, Graham! > > [pipeline:main] > pipeline = fileupload {{package}} > > [filter:fileupload] > [app:{{package}}] > use = egg:{{package}} Thos

Re: Big file upload & progress bar

2010-02-01 Thread morellik
> > Try upgrading Pylons to development version, Enrico. > I've modified a lot of files to reflect your changes, but in your site you say that "gp.fileupload can be used without modifying your application" So I want to start again with a fresh paster project, what is the minimum configuration to

Re: Big file upload & progress bar

2010-02-01 Thread Vladimir Dronnikov
>> >> Try upgrading Pylons to development version, Enrico. >> > > I've modified a lot of files to reflect your changes, but in your site > you say that > "gp.fileupload can be used without modifying your application" > So I want to start again with a fresh paster project,  what is the > minimum con

pylons 0.9.7 and file upload progress bar

2009-02-21 Thread snorkel
Hi, I was using gp.fileupload with good results in 0.9.6, when I upgraded to the latest release it stopped working as it did in 0.9.6. It seems to try to do operation per file in the multipart request instead of one operation for all the files uploaded. Is anyone doing a upload progress bar

Re: pylons 0.9.7 and file upload progress bar

2009-02-21 Thread snorkel
On Feb 21, 10:00 am, snorkel wrote: > I was using gp.fileupload with good results in 0.9.6, when I upgraded > to the latest release > it stopped working as it did in 0.9.6.  It seems to try to do > operation per file in the multipart request instead > of one operation for all the files uploade