I''m having a hard time getting the upload progress bar to work. I only 
get "Upload starting" and "Upload Finished". I have found
the checklist
for the upload progress bar and have some questions about it that 
hopefully somebody might answer. Here''s my annotated checklist:
Ruby:
    * Running the command `ruby -v` should print "ruby 1.8.2
(2004-12-25)"
          o Done
Web server:
    * Apache 1.3, Apache 2.0 or Lighttpd 1.4
          o lighttpd-1.3.15, done?
FastCGI bindings:
    * 0.8.6 or higher and must be the compiled C version of the bindings
    * The command `ruby -e "p require(''fcgi.so'')"`
should print "true"
          o *Problem*: I have the fcgi dev kit installed
            (/usr/local/lib/libfcgi.so) and the gems fcgi bindings
            (/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/fcgi.so) but
            the above command prints false. What else can I do?
Apache/Lighttpd FastCGI directives:
    * You must allow more than one FCGI server process to allow
      concurrent requests.
          o Is there a lighttpd directive for this? couldn''t find one
    * If there is only a single FCGI process you will not get the upload
      status updates.
          o I have 5 min - 15 max processes running on lighttpd
    * You can check this by taking a look for running FCGI servers in
      your process list during a progress upload.
          o There are always 15 processes running
Environment:
    * Add the following line to your config/environment.rb and restart
      your web server.
    * ActionController::Base.enable_upload_progress
          o Done
Development log:
    * When the upload progress is enabled by you will find something
      like the following lines:
    * "Multipart upload with progress (id: 1, size: 85464)"
          o Did not get that
    * "Finished processing multipart upload in 0.363729s"
          o Did not get that either
    * If you are properly running multiple FCGI processes, then you will
      see multiple entries for rendering the "upload_status" action
      before the "Finish processing..." log entry. This is a *good
thing* :)
          o I do get a lot of requests for upload_status but nothing
            gets updated on the bar. I added some debugging to the
            upload_status action and from that I can see the the session
            records old uploads but the current upload_progress object
            is empty. Here''s the output of <%= debug upload_progress
            %><br /><%= debug @session[:uploads] %>
                + Upload starting...
--- !ruby/object:ActionController::UploadProgress::Progress 
history: 
  - 
    - 0
    - 0
last_update_time: 0
message: ''''
received_bytes: 0
stalled: false
total_bytes: 0
--- 
"1": !ruby/object:ActionController::UploadProgress::Progress 
  history: 
    - 
      - 3408241
      - 0.066004
    - 
      - 3491883
      - 0.150032
  last_update_time: 0.216036
  message: ''''
  received_bytes: 6900124
  stalled: false
  total_bytes: 6900124
"2": !ruby/object:ActionController::UploadProgress::Progress 
  history: 
    - 
      - 3070329
      - 0.062941
    - 
      - 3829805
      - 0.150051
  last_update_time: 0.212992
  message: ''''
  received_bytes: 6900134
  stalled: false
  total_bytes: 6900134
Session:
    * If you store model objects in your session, you''ll need to grab
      Rails version 0.13.1
          o I''m running 0.13.1
OS:
    * FreeBSD 4.x and 5.x has shown to cause some unpredictable behavior
      with the FastCGI Bindings.
    * No reports from Windows users yet.
          o Running RH4ES here so I''m guessing that works?
Sorry for the long post but I really need to get this working and after 
some hours I don''t seem to figure it out. Please, help!
-- 
Adrian Madrid
HyperX Inc. 
Mobile: 801.815.1870
Office: 801.566.0670 
aemadrid-kSB444ljgzMmlAP/+Wk3EA@public.gmane.org 
www.hyperxmedia.com 
9000 S. 45 W.
Sandy, UT 84070
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
An update on my quest for a working upload progress I figured out how to 
make the command `ruby -e "p require(''fcgi.so'')"`
print "true". Looks
like I need it to install the fcgi ruby bindings manually to make it 
work. Nevertheless, still I only get an upload start and end and nothing 
else different in between. Anybody out there got Upload Progress to work 
and would like to share some light on this?
Thanks in advance,
Adrian Madrid
Adrian Madrid wrote:
> I''m having a hard time getting the upload progress bar to work. I
only
> get "Upload starting" and "Upload Finished". I have
found the
> checklist for the upload progress bar and have some questions about it 
> that hopefully somebody might answer. Here''s my annotated
checklist:
>
> Ruby:
>
>     * Running the command `ruby -v` should print "ruby 1.8.2
(2004-12-25)"
>           o Done
>
> Web server:
>
>     * Apache 1.3, Apache 2.0 or Lighttpd 1.4
>           o lighttpd-1.3.15, done?
>
> FastCGI bindings:
>
>     * 0.8.6 or higher and must be the compiled C version of the bindings
>     * The command `ruby -e "p
require(''fcgi.so'')"` should print "true"
>           o *Problem*: I have the fcgi dev kit installed
>             (/usr/local/lib/libfcgi.so) and the gems fcgi bindings
>             (/usr/local/lib/ruby/gems/1.8/gems/fcgi-0.8.6.1/fcgi.so)
>             but the above command prints false. What else can I do?
>
> Apache/Lighttpd FastCGI directives:
>
>     * You must allow more than one FCGI server process to allow
>       concurrent requests.
>           o Is there a lighttpd directive for this? couldn''t find
one
>     * If there is only a single FCGI process you will not get the
>       upload status updates.
>           o I have 5 min - 15 max processes running on lighttpd
>     * You can check this by taking a look for running FCGI servers in
>       your process list during a progress upload.
>           o There are always 15 processes running
>
> Environment:
>
>     * Add the following line to your config/environment.rb and restart
>       your web server.
>     * ActionController::Base.enable_upload_progress
>           o Done
>
> Development log:
>
>     * When the upload progress is enabled by you will find something
>       like the following lines:
>     * "Multipart upload with progress (id: 1, size: 85464)"
>           o Did not get that
>     * "Finished processing multipart upload in 0.363729s"
>           o Did not get that either
>     * If you are properly running multiple FCGI processes, then you
>       will see multiple entries for rendering the "upload_status"
>       action before the "Finish processing..." log entry. This is
a
>       *good thing* :)
>           o I do get a lot of requests for upload_status but nothing
>             gets updated on the bar. I added some debugging to the
>             upload_status action and from that I can see the the
>             session records old uploads but the current
>             upload_progress object is empty. Here''s the output of
<%>             debug upload_progress %><br /><%= debug
@session[:uploads] %>
>                 + Upload starting...
>
>--- !ruby/object:ActionController::UploadProgress::Progress 
>history: 
>  - 
>    - 0
>    - 0
>last_update_time: 0
>message: ''''
>received_bytes: 0
>stalled: false
>total_bytes: 0
>
>
>--- 
>"1": !ruby/object:ActionController::UploadProgress::Progress 
>  history: 
>    - 
>      - 3408241
>      - 0.066004
>    - 
>      - 3491883
>      - 0.150032
>  last_update_time: 0.216036
>  message: ''''
>  received_bytes: 6900124
>  stalled: false
>  total_bytes: 6900124
>"2": !ruby/object:ActionController::UploadProgress::Progress 
>  history: 
>    - 
>      - 3070329
>      - 0.062941
>    - 
>      - 3829805
>      - 0.150051
>  last_update_time: 0.212992
>  message: ''''
>  received_bytes: 6900134
>  stalled: false
>  total_bytes: 6900134
>
> Session:
>
>     * If you store model objects in your session, you''ll need to
grab
>       Rails version 0.13.1
>           o I''m running 0.13.1
>
> OS:
>
>     * FreeBSD 4.x and 5.x has shown to cause some unpredictable
>       behavior with the FastCGI Bindings.
>     * No reports from Windows users yet.
>           o Running RH4ES here so I''m guessing that works?
>
>
> Sorry for the long post but I really need to get this working and 
> after some hours I don''t seem to figure it out. Please, help!
>
>
>
>-- 
>Adrian Madrid
>HyperX Inc. 
>Mobile: 801.815.1870
>Office: 801.566.0670 
>aemadrid-kSB444ljgzMmlAP/+Wk3EA@public.gmane.org 
>www.hyperxmedia.com 
>
>9000 S. 45 W.
>Sandy, UT 84070
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Rails mailing list
>Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
>http://lists.rubyonrails.org/mailman/listinfo/rails
>  
>
-- 
Adrian Madrid
HyperX Inc. 
Mobile: 801.815.1870
Office: 801.566.0670 
aemadrid-kSB444ljgzMmlAP/+Wk3EA@public.gmane.org 
www.hyperxmedia.com 
9000 S. 45 W.
Sandy, UT 84070
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
Adrian-
     Last time I tried it with lighttpd 1.3.14, there was a bug with  
file uploads in lighty. I was able to get it to work by compiling  
lighty 1.4 from svn but had pretty much the same luck as you with  
lighty pre 1.4. Not that helpful I know but at least you aren''t  
alone ;-)
-Ezra
On Jul 27, 2005, at 5:17 PM, Adrian Madrid wrote:
> An update on my quest for a working upload progress I figured out  
> how to make the command `ruby -e “p require(‘fcgi.so’)”` print  
> “true”. Looks like I need it to install the fcgi ruby bindings  
> manually to make it work. Nevertheless, still I only get an upload  
> start and end and nothing else different in between. Anybody out  
> there got Upload Progress to work and would like to share some  
> light on this?
>
> Thanks in advance,
>
>
> Adrian Madrid
>
> Adrian Madrid wrote:
>> I''m having a hard time getting the upload progress bar to
work. I
>> only get "Upload starting" and "Upload Finished". I
have found the
>> checklist for the upload progress bar and have some questions  
>> about it that hopefully somebody might answer. Here''s my
annotated
>> checklist:
>>
>> Ruby:
>>
>> Running the command `ruby -v` should print “ruby 1.8.2 (2004-12-25)”
>> Done
>> Web server:
>>
>> Apache 1.3, Apache 2.0 or Lighttpd 1.4
>> lighttpd-1.3.15, done?
>> FastCGI bindings:
>>
>> 0.8.6 or higher and must be the compiled C version of the bindings
>> The command `ruby -e “p require(‘fcgi.so’)”` should print “true”
>> Problem: I have the fcgi dev kit installed (/usr/local/lib/ 
>> libfcgi.so) and the gems fcgi bindings (/usr/local/lib/ruby/gems/ 
>> 1.8/gems/fcgi-0.8.6.1/fcgi.so) but the above command prints false.  
>> What else can I do?
>> Apache/Lighttpd FastCGI directives:
>>
>> You must allow more than one FCGI server process to allow  
>> concurrent requests.
>> Is there a lighttpd directive for this? couldn''t find one
>> If there is only a single FCGI process you will not get the upload  
>> status updates.
>> I have 5 min - 15 max processes running on lighttpd
>> You can check this by taking a look for running FCGI servers in  
>> your process list during a progress upload.
>> There are always 15 processes running
>> Environment:
>>
>> Add the following line to your config/environment.rb and restart  
>> your web server.
>> ActionController::Base.enable_upload_progress
>> Done
>> Development log:
>>
>> When the upload progress is enabled by you will find something  
>> like the following lines:
>> “Multipart upload with progress (id: 1, size: 85464)”
>> Did not get that
>> “Finished processing multipart upload in 0.363729s”
>> Did not get that either
>> If you are properly running multiple FCGI processes, then you will  
>> see multiple entries for rendering the “upload_status” action  
>> before the “Finish processing…” log entry. This is a good thing :)
>> I do get a lot of requests for upload_status but nothing gets  
>> updated on the bar. I added some debugging to the upload_status  
>> action and from that I can see the the session records old uploads  
>> but the current upload_progress object is empty. Here''s the
output
>> of <%= debug upload_progress %><br /><%= debug
@session[:uploads] %>
>> Upload starting...
>> --- !ruby/object:ActionController::UploadProgress::Progress
>> history:
>>   -
>>     - 0
>>     - 0
>> last_update_time: 0
>> message: ''''
>> received_bytes: 0
>> stalled: false
>> total_bytes: 0
>>
>> ---
>> "1": !ruby/object:ActionController::UploadProgress::Progress
>>   history:
>>     -
>>       - 3408241
>>       - 0.066004
>>     -
>>       - 3491883
>>       - 0.150032
>>   last_update_time: 0.216036
>>   message: ''''
>>   received_bytes: 6900124
>>   stalled: false
>>   total_bytes: 6900124
>> "2": !ruby/object:ActionController::UploadProgress::Progress
>>   history:
>>     -
>>       - 3070329
>>       - 0.062941
>>     -
>>       - 3829805
>>       - 0.150051
>>   last_update_time: 0.212992
>>   message: ''''
>>   received_bytes: 6900134
>>   stalled: false
>>   total_bytes: 6900134
>> Session:
>>
>> If you store model objects in your session, you’ll need to grab  
>> Rails version 0.13.1
>> I''m running 0.13.1
>> OS:
>>
>> FreeBSD 4.x and 5.x has shown to cause some unpredictable behavior  
>> with the FastCGI Bindings.
>> No reports from Windows users yet.
>> Running RH4ES here so I''m guessing that works?
>>
>> Sorry for the long post but I really need to get this working and  
>> after some hours I don''t seem to figure it out. Please, help!
>>
>>
>>
>>  --
>> Adrian Madrid
>> HyperX Inc.
>> Mobile: 801.815.1870
>> Office: 801.566.0670
>> aemadrid-kSB444ljgzMmlAP/+Wk3EA@public.gmane.org
>> www.hyperxmedia.com
>>
>> 9000 S. 45 W.
>> Sandy, UT 84070
>>
>> _______________________________________________
>> Rails mailing list
>> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
>> http://lists.rubyonrails.org/mailman/listinfo/rails
>>
>
> -- 
> Adrian Madrid
> HyperX Inc.
> Mobile: 801.815.1870
> Office: 801.566.0670
> aemadrid-kSB444ljgzMmlAP/+Wk3EA@public.gmane.org
> www.hyperxmedia.com
>
> 9000 S. 45 W.
> Sandy, UT 84070
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
-Ezra Zygmuntowicz
WebMaster
Yakima Herald-Republic Newspaper
ezra-gdxLOakOTQ9oetBuM9ipNAC/G2K4zDHf@public.gmane.org
509-577-7732
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
Hi, lighttpd 1.4+ is required (currently only available from CVS, afaik). It won''t work with lighttpd 1.3.15. Thomas Am 27.07.2005 um 22:43 schrieb Adrian Madrid:> Apache 1.3, Apache 2.0 or Lighttpd 1.4 > lighttpd-1.3.15, done?
Thanks you all for the replies. I will try to downgrade and see if I can make it work and will report back. Adrian Madrid On 7/27/05, Thomas Fuchs <thomas-9D208sng4xU@public.gmane.org> wrote:> > Hi, > > lighttpd 1.4+ is required (currently only available from CVS, afaik). > It won''t work with lighttpd 1.3.15. > > Thomas > > Am 27.07.2005 um 22:43 schrieb Adrian Madrid: > > Apache 1.3, Apache 2.0 or Lighttpd 1.4 > > lighttpd-1.3.15, done? > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Adrian Esteban Madrid aemadrid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Forget my stupidity. I read your post as 1.3.14 for some stupid reason. Will try to _upgrade_ and try it again. Thanks for your understanding, Adrian Madrid On 7/27/05, Thomas Fuchs <thomas-9D208sng4xU@public.gmane.org> wrote:> > Hi, > > lighttpd 1.4+ is required (currently only available from CVS, afaik). > It won''t work with lighttpd 1.3.15. > > Thomas > > Am 27.07.2005 um 22:43 schrieb Adrian Madrid: > > Apache 1.3, Apache 2.0 or Lighttpd 1.4 > > lighttpd-1.3.15, done? > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Adrian Esteban Madrid aemadrid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Please do, and post your progress with upload progress! :) Thomas Am 28.07.2005 um 22:12 schrieb Adrian Madrid:> Forget my stupidity. I read your post as 1.3.14 for some stupid > reason. Will try to _upgrade_ and try it again. > > Thanks for your understanding, > > > Adrian Madrid > > > On 7/27/05, Thomas Fuchs <thomas-9D208sng4xU@public.gmane.org> wrote: > Hi, > > lighttpd 1.4+ is required (currently only available from CVS, afaik). > It won''t work with lighttpd 1.3.15. > > Thomas > > Am 27.07.2005 um 22:43 schrieb Adrian Madrid: > > Apache 1.3, Apache 2.0 or Lighttpd 1.4 > > lighttpd-1.3.15, done? > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > -- > Adrian Esteban Madrid > aemadrid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >_______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
BTW, do I need the mod_trigger_b4_dl module? It seems like i need it in or I need it out. Will try both if necessary. Adrian Madrid On 7/28/05, Adrian Madrid <aemadrid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Forget my stupidity. I read your post as 1.3.14 for some stupid reason. > Will try to _upgrade_ and try it again. > > Thanks for your understanding, > > > Adrian Madrid > > > On 7/27/05, Thomas Fuchs <thomas-9D208sng4xU@public.gmane.org> wrote: > > > > Hi, > > > > lighttpd 1.4+ is required (currently only available from CVS, afaik). > > It won''t work with lighttpd 1.3.15. > > > > Thomas > > > > Am 27.07.2005 um 22:43 schrieb Adrian Madrid: > > > Apache 1.3, Apache 2.0 or Lighttpd 1.4 > > > lighttpd-1.3.15, done? > > > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > -- > Adrian Esteban Madrid > aemadrid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org >-- Adrian Esteban Madrid aemadrid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
On 7/27/05, Adrian Madrid <aemadrid-kSB444ljgzMmlAP/+Wk3EA@public.gmane.org> wrote:> I''m having a hard time getting the upload progress bar to work. I only get > "Upload starting" and "Upload Finished". I have found the checklist for the > upload progress bar and have some questions about it that hopefully somebody > might answer. Here''s my annotated checklist:Does webrick work with the upload progress bar?
No. Webrick can only handle one request at a time, but upload- progress needs two. The first request is continous (for the upload itself). From time to time it polls the webserver via ajax to get the current status, while doing this it needs an addtional connection, but webrick can''t handle that. Thomas See http://sean.treadway.info/articles/2005/07/18/upload-progress- checklist for the list of supported webservers. Am 28.07.2005 um 22:57 schrieb Joe Van Dyk:> On 7/27/05, Adrian Madrid <aemadrid-kSB444ljgzMmlAP/+Wk3EA@public.gmane.org> wrote: > >> I''m having a hard time getting the upload progress bar to work. I >> only get >> "Upload starting" and "Upload Finished". I have found the >> checklist for the >> upload progress bar and have some questions about it that >> hopefully somebody >> might answer. Here''s my annotated checklist: >> > > Does webrick work with the upload progress bar? > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
finally! It''s aliiiive! (tetric music in the background) I finally got it to work. I compiled lighttpd 1.4 from SVN (the b4_dl mod was not included) and it worked just fine. Thanks people for all your help! It is a fine piece of code once the obstacles are out of the way. AEM PS: Forgot to reply to all before. Sorry! On 7/28/05, Thomas Fuchs <thomas-9D208sng4xU@public.gmane.org> wrote:> > Please do, and post your progress with upload progress! :) > Thomas > > Am 28.07.2005 um 22:12 schrieb Adrian Madrid: > > Forget my stupidity. I read your post as 1.3.14 for some stupid reason. > Will try to _upgrade_ and try it again. > > Thanks for your understanding, > > > Adrian Madrid > > > On 7/27/05, Thomas Fuchs <thomas-9D208sng4xU@public.gmane.org> wrote: > > > > Hi, > > > > lighttpd 1.4+ is required (currently only available from CVS, afaik). > > It won''t work with lighttpd 1.3.15. > > > > Thomas > > > > Am 27.07.2005 um 22:43 schrieb Adrian Madrid: > > > Apache 1.3, Apache 2.0 or Lighttpd 1.4 > > > lighttpd-1.3.15, done? > > > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > -- > Adrian Esteban Madrid > aemadrid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org_______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > > >-- Adrian Esteban Madrid aemadrid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails
Thanks for your feedback Adrian. I''ve updated http:// sean.treadway.info/articles/2005/07/18/upload-progress-checklist with an example of a lighttpd 1.4 configuration with multiple processes. -Sean On Jul 29, 2005, at 12:54 AM, Adrian Madrid wrote:> finally! It''s aliiiive! (tetric music in the background) I finally > got it to work. I compiled lighttpd 1.4 from SVN (the b4_dl mod was > not included) and it worked just fine. Thanks people for all your > help! It is a fine piece of code once the obstacles are out of the > way. > > AEM > > PS: Forgot to reply to all before. Sorry! > > On 7/28/05, Thomas Fuchs <thomas-9D208sng4xU@public.gmane.org> wrote: Please do, and > post your progress with upload progress! :) > > Thomas > > Am 28.07.2005 um 22:12 schrieb Adrian Madrid: > >> Forget my stupidity. I read your post as 1.3.14 for some stupid >> reason. Will try to _upgrade_ and try it again. >> >> Thanks for your understanding, >> >> >> Adrian Madrid >> >> >> On 7/27/05, Thomas Fuchs <thomas-9D208sng4xU@public.gmane.org> wrote: Hi, >> >> lighttpd 1.4+ is required (currently only available from CVS, afaik). >> It won''t work with lighttpd 1.3.15. >> >> Thomas >> >> Am 27.07.2005 um 22:43 schrieb Adrian Madrid: >> > Apache 1.3, Apache 2.0 or Lighttpd 1.4 >> > lighttpd-1.3.15, done? >> >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> >> >> >> -- >> Adrian Esteban Madrid >> aemadrid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org >> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> > > > > > -- > Adrian Esteban Madrid > aemadrid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Glad to help. Thank you for creating the checklist. You might want to add 
that some people (like me) had to compile fcgi from scratch (isntead of 
gems) to get this to work as the checklist says:
FastCGI bindings:
   - > 0.8.6 and must be the compiled C version of the bindings
   - The command `ruby -e "p require(''fcgi.so'')"`
should print "true"
Also I think we need to add the warning in 
http://api.rubyonrails.com/classes/ActionController/UploadProgress.html that 
you need to add the "ActionController::Base.enable_upload_progress"
bit to
actually use it. It''s never mentioned there and I did lose some hair 
figuring what was wrong until I found your checklist. Maybe a link to your 
checklist directly there? who do I need to talk to get thatincluded? Should 
I do a ticket for it?
Thanks again,
Adrian Madrid
On 7/29/05, Sean Treadway <seant-4hAOBN7YpypC/EKHXe1xOQ@public.gmane.org>
wrote:> 
> Thanks for your feedback Adrian. I''ve updated http://
>
sean.treadway.info/articles/2005/07/18/upload-progress-checklist<http://sean.treadway.info/articles/2005/07/18/upload-progress-checklist>with
> an example of a lighttpd 1.4 configuration with multiple processes.
> 
> -Sean
> 
> On Jul 29, 2005, at 12:54 AM, Adrian Madrid wrote:
> 
> > finally! It''s aliiiive! (tetric music in the background) I
finally
> > got it to work. I compiled lighttpd 1.4 from SVN (the b4_dl mod was
> > not included) and it worked just fine. Thanks people for all your
> > help! It is a fine piece of code once the obstacles are out of the
> > way.
> >
> > AEM
> >
> > PS: Forgot to reply to all before. Sorry!
> >
> > On 7/28/05, Thomas Fuchs <thomas-9D208sng4xU@public.gmane.org>
wrote: Please do, and
> > post your progress with upload progress! :)
> >
> > Thomas
> >
> > Am 28.07.2005 um 22:12 schrieb Adrian Madrid:
> >
> >> Forget my stupidity. I read your post as 1.3.14 for some stupid
> >> reason. Will try to _upgrade_ and try it again.
> >>
> >> Thanks for your understanding,
> >>
> >>
> >> Adrian Madrid
> >>
> >>
> >> On 7/27/05, Thomas Fuchs
<thomas-9D208sng4xU@public.gmane.org> wrote: Hi,
> >>
> >> lighttpd 1.4+ is required (currently only available from CVS,
afaik).
> >> It won''t work with lighttpd 1.3.15.
> >>
> >> Thomas
> >>
> >> Am 27.07.2005 um 22:43 schrieb Adrian Madrid:
> >> > Apache 1.3, Apache 2.0 or Lighttpd 1.4
> >> > lighttpd-1.3.15, done?
> >>
> >> _______________________________________________
> >> Rails mailing list
> >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> >> http://lists.rubyonrails.org/mailman/listinfo/rails
> >>
> >>
> >>
> >> --
> >> Adrian Esteban Madrid
> >> aemadrid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
> >> _______________________________________________
> >> Rails mailing list
> >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> >> http://lists.rubyonrails.org/mailman/listinfo/rails
> >>
> >
> >
> >
> >
> > --
> > Adrian Esteban Madrid
> > aemadrid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
> > _______________________________________________
> > Rails mailing list
> > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> > http://lists.rubyonrails.org/mailman/listinfo/rails
> >
> 
> 
-- 
Adrian Esteban Madrid
aemadrid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
Good idea. I''ve made the ticket and the documentation patch http:// dev.rubyonrails.com/ticket/1876. -Sean On Jul 29, 2005, at 6:41 PM, Adrian Madrid wrote:> Glad to help. Thank you for creating the checklist. You might want > to add that some people (like me) had to compile fcgi from scratch > (isntead of gems) to get this to work as the checklist says: > FastCGI bindings: > > > 0.8.6 and must be the compiled C version of the bindings > The command `ruby -e "p require(''fcgi.so'')"` should print "true" > Also I think we need to add the warning in http:// > api.rubyonrails.com/classes/ActionController/UploadProgress.html > that you need to add the > "ActionController::Base.enable_upload_progress" bit to actually use > it. It''s never mentioned there and I did lose some hair figuring > what was wrong until I found your checklist. Maybe a link to your > checklist directly there? who do I need to talk to get > thatincluded? Should I do a ticket for it? > > Thanks again, > > > Adrian Madrid > > > On 7/29/05, Sean Treadway <seant-4hAOBN7YpypC/EKHXe1xOQ@public.gmane.org> wrote: Thanks > for your feedback Adrian. I''ve updated http:// > sean.treadway.info/articles/2005/07/18/upload-progress-checklist with > an example of a lighttpd 1.4 configuration with multiple processes. > > -Sean > > On Jul 29, 2005, at 12:54 AM, Adrian Madrid wrote: > > > finally! It''s aliiiive! (tetric music in the background) I finally > > got it to work. I compiled lighttpd 1.4 from SVN (the b4_dl mod was > > not included) and it worked just fine. Thanks people for all your > > help! It is a fine piece of code once the obstacles are out of the > > way. > > > > AEM > > > > PS: Forgot to reply to all before. Sorry! > > > > On 7/28/05, Thomas Fuchs <thomas-9D208sng4xU@public.gmane.org> wrote: Please do, and > > post your progress with upload progress! :) > > > > Thomas > > > > Am 28.07.2005 um 22:12 schrieb Adrian Madrid: > > > >> Forget my stupidity. I read your post as 1.3.14 for some stupid > >> reason. Will try to _upgrade_ and try it again. > >> > >> Thanks for your understanding, > >> > >> > >> Adrian Madrid > >> > >> > >> On 7/27/05, Thomas Fuchs <thomas-9D208sng4xU@public.gmane.org > wrote: Hi, > >> > >> lighttpd 1.4+ is required (currently only available from CVS, > afaik). > >> It won''t work with lighttpd 1.3.15. > >> > >> Thomas > >> > >> Am 27.07.2005 um 22:43 schrieb Adrian Madrid: > >> > Apache 1.3, Apache 2.0 or Lighttpd 1.4 > >> > lighttpd-1.3.15, done? > >> > >> _______________________________________________ > >> Rails mailing list > >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > >> http://lists.rubyonrails.org/mailman/listinfo/rails > >> > >> > >> > >> -- > >> Adrian Esteban Madrid > >> aemadrid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > >> _______________________________________________ > >> Rails mailing list > >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > >> http://lists.rubyonrails.org/mailman/listinfo/rails > >> > > > > > > > > > > -- > > Adrian Esteban Madrid > > aemadrid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > > _______________________________________________ > > Rails mailing list > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > -- > Adrian Esteban Madrid > aemadrid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Great! Hopefully that will help a lot of people out there. AEM On 7/31/05, Sean Treadway <seant-4hAOBN7YpypC/EKHXe1xOQ@public.gmane.org> wrote:> > Good idea. I''ve made the ticket and the documentation patch http:// > dev.rubyonrails.com/ticket/1876 <http://dev.rubyonrails.com/ticket/1876>. > > -Sean > > On Jul 29, 2005, at 6:41 PM, Adrian Madrid wrote: > > > Glad to help. Thank you for creating the checklist. You might want > > to add that some people (like me) had to compile fcgi from scratch > > (isntead of gems) to get this to work as the checklist says: > > FastCGI bindings: > > > > > 0.8.6 and must be the compiled C version of the bindings > > The command `ruby -e "p require(''fcgi.so'')"` should print "true" > > Also I think we need to add the warning in http:// > > api.rubyonrails.com/classes/ActionController/UploadProgress.html<http://api.rubyonrails.com/classes/ActionController/UploadProgress.html> > > that you need to add the > > "ActionController::Base.enable_upload_progress" bit to actually use > > it. It''s never mentioned there and I did lose some hair figuring > > what was wrong until I found your checklist. Maybe a link to your > > checklist directly there? who do I need to talk to get > > thatincluded? Should I do a ticket for it? > > > > Thanks again, > > > > > > Adrian Madrid > > > > > > On 7/29/05, Sean Treadway <seant-4hAOBN7YpypC/EKHXe1xOQ@public.gmane.org> wrote: Thanks > > for your feedback Adrian. I''ve updated http:// > > sean.treadway.info/articles/2005/07/18/upload-progress-checklist<http://sean.treadway.info/articles/2005/07/18/upload-progress-checklist>with > > an example of a lighttpd 1.4 configuration with multiple processes. > > > > -Sean > > > > On Jul 29, 2005, at 12:54 AM, Adrian Madrid wrote: > > > > > finally! It''s aliiiive! (tetric music in the background) I finally > > > got it to work. I compiled lighttpd 1.4 from SVN (the b4_dl mod was > > > not included) and it worked just fine. Thanks people for all your > > > help! It is a fine piece of code once the obstacles are out of the > > > way. > > > > > > AEM > > > > > > PS: Forgot to reply to all before. Sorry! > > > > > > On 7/28/05, Thomas Fuchs <thomas-9D208sng4xU@public.gmane.org> wrote: Please do, and > > > post your progress with upload progress! :) > > > > > > Thomas > > > > > > Am 28.07.2005 um 22:12 schrieb Adrian Madrid: > > > > > >> Forget my stupidity. I read your post as 1.3.14 for some stupid > > >> reason. Will try to _upgrade_ and try it again. > > >> > > >> Thanks for your understanding, > > >> > > >> > > >> Adrian Madrid > > >> > > >> > > >> On 7/27/05, Thomas Fuchs <thomas-9D208sng4xU@public.gmane.org > wrote: Hi, > > >> > > >> lighttpd 1.4+ is required (currently only available from CVS, > > afaik). > > >> It won''t work with lighttpd 1.3.15. > > >> > > >> Thomas > > >> > > >> Am 27.07.2005 um 22:43 schrieb Adrian Madrid: > > >> > Apache 1.3, Apache 2.0 or Lighttpd 1.4 > > >> > lighttpd-1.3.15, done? > > >> > > >> _______________________________________________ > > >> Rails mailing list > > >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > >> http://lists.rubyonrails.org/mailman/listinfo/rails > > >> > > >> > > >> > > >> -- > > >> Adrian Esteban Madrid > > >> aemadrid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > > >> _______________________________________________ > > >> Rails mailing list > > >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > >> http://lists.rubyonrails.org/mailman/listinfo/rails > > >> > > > > > > > > > > > > > > > -- > > > Adrian Esteban Madrid > > > aemadrid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > > > _______________________________________________ > > > Rails mailing list > > > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > > > > > > > > > > -- > > Adrian Esteban Madrid > > aemadrid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > >-- Adrian Esteban Madrid aemadrid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails