On Thu, Jan 28, 2010 at 11:07 AM, morellik <[email protected]> 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 I try to upload a file (around 1/2 MB) the progress bar
> doesn't start, I obtain only the 100% status.
> When I try to upload a very big file (600MB) the browser become
> irresponsible, using top I see that firefox use 100% of CPU, the
> progress bar doesn't start.
>
> Something to check?
>

hm... don't know. What append if you try a 600Mb upload with a standard form ?

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 file and Chrome and it work fine.

Here is my log output:

11:28:57,499 DEBUG [fileupload] Start session "1569616142660379400",
length: 128554205
11:28:57,500 DEBUG [fileupload] InputWrapper init: <socket._fileobject
object at 0x14e1eb0 length=128554205>, <open file
'/var/folders/6W/6W87x5wkH1ObxROpTXJbTk+++TI/-Tmp-/fileUpload/1569616142660379400.size',
mode 'w' at 0x14de8d8>
11:28:58,983 DEBUG [paste.httpserver.ThreadPool] Added task (0 tasks queued)
11:28:58,985 DEBUG [fileupload] 1569616142660379400: {'state': 1, 'percent': 20}
11:29:00,602 DEBUG [paste.httpserver.ThreadPool] Added task (0 tasks queued)
11:29:00,609 DEBUG [fileupload] 1569616142660379400: {'state': 1, 'percent': 35}
11:29:02,116 DEBUG [paste.httpserver.ThreadPool] Added task (0 tasks queued)
11:29:02,118 DEBUG [fileupload] 1569616142660379400: {'state': 1, 'percent': 42}
11:29:03,768 DEBUG [paste.httpserver.ThreadPool] Added task (0 tasks queued)
11:29:03,772 DEBUG [fileupload] 1569616142660379400: {'state': 1, 'percent': 56}
11:29:05,281 DEBUG [paste.httpserver.ThreadPool] Added task (0 tasks queued)
11:29:05,283 DEBUG [fileupload] 1569616142660379400: {'state': 1, 'percent': 78}
11:29:06,800 DEBUG [paste.httpserver.ThreadPool] Added task (0 tasks queued)
11:29:06,802 DEBUG [fileupload] 1569616142660379400: {'state': 1,
'percent': 100}



> Thanks again
> Enrico
>
> --
> You received this message because you are subscribed to the Google Groups 
> "pylons-discuss" 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/pylons-discuss?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.

Reply via email to