[Mongrel] file upload

Jim Douglas jdz99 at hotmail.com
Wed Dec 27 22:02:25 EST 2006

>From: Eugenol <eugenol at gmail.com>
>Reply-To: mongrel-users at rubyforge.org
>To: mongrel-users at rubyforge.org
>Subject: Re: [Mongrel] file upload
>Date: Thu, 28 Dec 2006 03:15:36 +0100
>On 12/27/06, Jim Douglas <jdz99 at hotmail.com> 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 at rubyforge.org

It was the controller, so now I get this error,

DRb::DRbConnError in UploadController#progress

druby:// - #<Errno::ECONNREFUSED: Connection refused - 

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:5:in `progress'
/usr/bin/mongrel_rails:18:in `load'

...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?


Fixing up the home? Live Search can help 

More information about the Mongrel-users mailing list