>From: Eugenol <[EMAIL PROTECTED]> >Reply-To: mongrel-users@rubyforge.org >To: mongrel-users@rubyforge.org >Subject: Re: [Mongrel] file upload >Date: Thu, 28 Dec 2006 03:15:36 +0100 > >On 12/27/06, Jim Douglas <[EMAIL PROTECTED]> wrote: > > I ma trying to get this upload working, > > > > http://mongrel.rubyforge.org/docs/upload_progress.html, > > > > ....after starting from the command line, > > > > mongrel_rails start -d -p 3001 -S config/mongrel_upload_progress.conf > > > > I get this eror in the browser, > > > > NameError > > > > uninitialized constant UploadProgressRailsController > > > >Is your controller in a file correctly named >upload_progress_rails_controller.rb ? This is typically the kind of >error we get when the controlller name doesn't match its filename >(check the plural and the CamelName). > >We never know... >_______________________________________________ >Mongrel-users mailing list >Mongrel-users@rubyforge.org >http://rubyforge.org/mailman/listinfo/mongrel-users
It was the controller, so now I get this error, DRb::DRbConnError in UploadController#progress druby://0.0.0.0:2999 - #<Errno::ECONNREFUSED: Connection refused - connect(2)> RAILS_ROOT: /usr/opt/tomcat/workspace/upload/config/.. Application Trace | Framework Trace | Full Trace /usr/lib/ruby/1.8/drb/drb.rb:736:in `open' /usr/lib/ruby/1.8/drb/drb.rb:729:in `each' /usr/lib/ruby/1.8/drb/drb.rb:729:in `open' /usr/lib/ruby/1.8/drb/drb.rb:1189:in `initialize' /usr/lib/ruby/1.8/drb/drb.rb:1169:in `new' /usr/lib/ruby/1.8/drb/drb.rb:1169:in `open' /usr/lib/ruby/1.8/drb/drb.rb:1085:in `method_missing' /usr/lib/ruby/1.8/drb/drb.rb:1103:in `with_friend' /usr/lib/ruby/1.8/drb/drb.rb:1084:in `method_missing' #{RAILS_ROOT}/app/controllers/upload_controller.rb:6:in `__bind_1167274520_289444' #{RAILS_ROOT}/app/controllers/upload_controller.rb:5:in `progress' /usr/bin/mongrel_rails:18:in `load' /usr/bin/mongrel_rails:18 ...and when I try to run, ..ruby lib/upload.rg I get this error, fastthread not loaded : fastthread must be required before thread How can I load fastthread? Thanks, Jim _________________________________________________________________ Fixing up the home? Live Search can help http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmemailtaglinenov06&FORM=WLMTAG _______________________________________________ Mongrel-users mailing list Mongrel-users@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-users