search for: druby

Displaying 20 results from an estimated 88 matches for "druby".

Did you mean: ruby
2006 Nov 01
1
strange issue with backgroundrb behind apache/lighttpd
...Controller#get_responses (for 127.0.0.1 at 2006-11-01 07:47:07) [POST] Session ID: 671f4ba93603f34e036d9bbc65919ca7 Parameters: {"action"=>"get_responses", "controller"=>"search"} getting responses RangeError (0xdb677f22 is recycled object): (druby://localhost:42531) /usr/lib/ruby/1.8/drb/drb.rb:375:in `_id2ref'' (druby://localhost:42531) /usr/lib/ruby/1.8/drb/drb.rb:375:in `to_obj'' (druby://localhost:42531) /usr/lib/ruby/1.8/drb/drb.rb:1402:in `to_obj'' (druby://localhost:42531) /usr/lib/ruby/1.8/drb/drb....
2007 Apr 18
1
stack level too deep for method missing when using drb
I set up ferret and it''s running fine normally. Now I want to hook up the backgroundrb server. However whenever I try to do a search, I get this error: (druby://localhost:9010) /usr/local/lib/ruby/1.8/drb/drb.rb:1075:in `method_missing'' (druby://localhost:9010) ./vendor/plugins/acts_as_ferret/lib/remote_index.rb:20:in `find_id_by_contents'' (druby://localhost:9010) ./vendor/plugins/acts_as_ferret/lib/ferret_server.rb:68:in `method_missin...
2007 Apr 01
2
strange behavior after switching to DRb server
...eld::SCORE Before switching to DRb, this worked very well. Afterward, I see the error below. (Resource is my model). Any ideas? Thanks (again...) John --------------------------- RuntimeError in Resource searchController#index invalid value: <SCORE> RAILS_ROOT: script/../config/.. (druby://localhost:9010) ./vendor/plugins/acts_as_ferret/lib/ acts_as_ferret.rb:142:in `_load'' (druby://localhost:9010) /usr/local/lib/ruby/1.8/drb/drb.rb:582:in `load'' (druby://localhost:9010) /usr/local/lib/ruby/1.8/thread.rb:33:in `exclusive'' (druby://localhost:9010) /us...
2007 Jan 19
3
problems updating to 0.7.5.1
...structions in this thread: http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/d7bc67cb9c7372d3/cb9af3d48cd63863 needless to say I''m a little stumped now and would appreciate some help thanks david error message: M:\devel\wd\phoss>drbspec spec/models/photo_spec.rb (druby://localhost:8989) M:/devel/wd/phoss/vendor/plugins/rspec_on_rails/lib/spe c/rails/version.rb:14: (RuntimeError) ############################################################################ Your RSpec on Rails plugin is incompatible with your installed RSpec. RSpec : 0.7.5.1 (r1395) RSpe...
2008 Jan 21
4
Rails app cannot connect to Ferret server
..._server, but when starting the Rails application (with mongrel) and fetching a page, I get the following errors in the log: Asked for a remote server ? true, ENV["FERRET_USE_LOCAL_INDEX"] is nil, looks like we are not the server Will use remote index server which should be available at druby://localhost:9010 Ad Columns (0.004026) SHOW FIELDS FROM `ads` default field list: [:keywords, :family_tree_other, :description, :sex, :top_ad, :background_color, :family_tree, :notified_expired, :ad_kind_id, :callname, :show_bold_border, :race_id, :castrated, :display_type, :homepage_url, :dist...
2007 Jun 28
1
ThreadError from DRb server
Hi there, I''ve just started using aaf for searching and it''s running well apart from one error I received: A ThreadError occurred in person#search: current thread not owner (druby:/localhost:9010) /usr/lib/ruby/1.8/monitor.rb:274:in `mon_check_owner'' (druby:/localhost:9010) /usr/lib/ruby/1.8/monitor.rb:274:in `mon_check_owner'' (druby:/localhost:9010) /usr/lib/ruby/1.8/monitor.rb:220:in `mon_exit'' (druby:/localhost:9010) /usr/lib/ruby/1.8/m...
2007 Jun 18
2
"No such file or directory - script" Error on Model.rebuild
Hi, Having recently converted to using ferret_server on my staging site my deployment is now failing due to the following error when attempting to rebuild the indexes on my models: from (irb):1>> Post.rebuild_index Errno::ENOENT: No such file or directory - script from (druby://127.2.0.1:9100) /usr/local/lib/ruby/1.8/fileutils.rb:243:in `mkdir'' from (druby://127.2.0.1:9100) /usr/local/lib/ruby/1.8/fileutils.rb:243:in `fu_mkdir'' from (druby://127.2.0.1:9100) /usr/local/lib/ruby/1.8/fileutils.rb:217:in `mkdir_p'' from (druby://127.2.0.1:9100) /us...
2007 Apr 04
6
Exception when doing DRb remote calls from a BackgrounDRb worker
...//tmp/backgroundrb.11175/experimenter_worker_3e899de945f0803a82cd257cfac316d0_0_0.0738904928422051 > - #<Errno::ENOENT: No such file or directory - > ///tmp/backgroundrb.11175/experimenter_worker_3e899de945f0803a82cd257cfac316d0_0_0.0738904928422051> > > 20070404-13:12:15 (11179) (druby://externalserver:43696) > /usr/lib/ruby/1.8/drb/drb.rb:733:in `open'' > Doing the same DRb call from a script outside a backgrounDRb worker works. I don''t know what to do in order to fix this, any idea? Thanks a lot! Sergio. -- Sergio Espeja http://spejman-on-rails.blogsp...
2007 Sep 03
11
MySQL has gone away
...ll rebuild_index in aaf. This happens sporadically. Any suggestions for what might be wrong or workarounds? I guess we try a reconnect before we call rebuild_index? Matthew ActiveRecord::StatementInvalid (Mysql::Error: MySQL server has gone away: SELECT count(*) AS count_all FROM bands ): (druby://localhost:3009) /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/connection_adapters/abstract_adapter.rb:128:in `log'' (druby://localhost:3009) /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/connection_adapters/mysql_adapter.rb:243:in `execute'&...
2006 Sep 23
6
Connection to backgroundrb is lost when exiting action method
Hey. I have a very annoying problem, and was wondering what is wrong. Suppose I have backgroundrb running, and then I have an action in some controller. In the action I define a worker. When leaving the action, suddenly the connection to backgroundrb is lost: DRb URI: druby://localhost:22222 Pid: 3976 Autostart... done druby://localhost:42531 - #<Errno::EBADF: Bad file descriptor - connect(2)> druby://localhost:42531 - #<Errno::EBADF: Bad file descriptor - connect(2)> ... When I''m still in the action, for instance using ''sleep 10'...
2006 Dec 25
1
Issues with 0.7.5
...uotes and makes Ruby choke 2. Same line, rails_spec is spelled solid, when it should have the underscore But fixing these didn''t get me back going. Now I have to have a rails_spec_server running in one console window (is this recommended practice?) and rake spec:autotest gives me: (druby://localhost:8989) /opt/local/lib/ruby/gems/1.8/gems/ rspec-0.7.5/lib/spec/runner/command_line.rb:23:in `run'': File or directory not found: ?diff (RuntimeError) from (druby://localhost:8989) /opt/local/lib/ruby/gems/1.8/ gems/rspec-0.7.5/lib/spec/runner/command_line.rb:15:in `e...
2006 Sep 06
3
DRb error when using rails_spec on OS X
Hi, all- I started playing with RSpec in a new Rails app. I''ve installed the plugin and bootstrapped it, and run ''script/rails_spec_runner'' (not rails_spec_server as the website currently reads, btw) in a separate shell, then in another shell I run ''script/rails_spec'' and get the following: /usr/local/lib/ruby/1.8/drb/drb.rb:837:in
2006 Dec 04
4
Question about acls
...backgroundrb to a secondary server (server2). I looked through the source trying to figure out how to do this and I pieced together this configuration file: -- :port: 22222 :timer_sleep: 60 :pool_size: 15 :load_rails: true :rails_env: development :environment: development :host: localhost :uri: druby://localhost:22222/ :database_yml: config/database.yml :protocol: druby :acl: :deny: all :allow: localhost 127.0.0.1 server1 :order: deny,allow autostart: 1: job_key: chat_notifier class: chat_notification_worker Which runs on server2. (I know, some of the options probably do...
2007 Oct 03
3
The ferret logs
...ver output, while ferret_index.log is the index manager output? A bonus question, what''s the best way to determine that your application (using acts_as_ferret) is currently running against the drb server rather than the file system? Thanks! :-) Morten uninitialized constant Ticket (druby://127.0.0.1:9009) ./script/../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:266:in `load_missing_constant'' (druby://127.0.0.1:9009) ./script/../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb...
2006 Apr 01
5
What IDE for Rails on OSX?
Hi, I''m using TextMate for rails development on OSX, but have reached a point where I need to run in a debugger and be able to step through the code as it executes. I have previously used the Eclipse Ruby plug in and another IDE for ruby development on windows, but never figured out how to run a Rails app in the debugger. How are other textmate users debugging and what else is there on
2007 Nov 11
5
undefined method `add''
We''ve been running into problems with ferret indexing lately. The problem is intermittent and some times it persists. Just got this after wiping the index and redeploying: NoMethodError (undefined method `add'' for Solution:Class): (druby://10.1.65.87:9009) /data/releases/20071111152414/vendor/rails/activerecord/lib/active_record/base.rb:1238:in `method_missing'' (druby://10.1.65.87:9009) /data/releases/20071111152414/vendor/plugins/acts_as_ferret/lib/ferret_server.rb:71:in `send'' (druby://10.1.65.87:9...
2005 Feb 07
0
Trying to Seed Maybe Bug?
...--- next part -------------- A non-text attachment was scrubbed... Name: Porp.avi Type: video/x-msvideo Size: 76 bytes Desc: not available Url : http://rubyforge.org/pipermail/rubytorrent-devel/attachments/20050207/b0b50cb8/Porp.avi -------------- next part -------------- Below is the error --- (druby://localhost:54744) ./3rdParty/rubytorrent/rubytorrent/typedstruct.rb:76:in `method_missing'': no such value info (ArgumentError) from (druby://localhost:54744) ./3rdParty/rubytorrent/rubytorrent/metainfo.rb:128:in `send'' from (druby://localhost:54744) ./3rdPar...
2006 Jul 19
1
A couple of problems
...s within the results method and returning like that. Really just wondering if this is by design or a bug? 2. When trying to pass a constant (class name in this instance) in the args hash I receive the following error. #=> undefined method `[]'' for #<DRb::DRbUnknown:0x13382d4> (druby://localhost:22222) /rails_app/vendor/plugins/backgroundrb/backgroundrb.rb:105:in `new_worker'' (druby://localhost:22222) /rails_app/vendor/plugins/backgroundrb/backgroundrb.rb:104:in `synchronize'' (druby://localhost:22222) /rails_app/vendor/plugins/backgroundrb/backgroundrb.rb:104:...
2007 May 24
2
Strange Problem with AAF DRB connection
Hi all! We use the DRB-Server Backend and are getting strange DRb::DRbConnErrors lately. It started with: too large packet 687865856 (druby:/10.0.0.10:9010) /usr/lib/ruby/1.8/drb/drb.rb:573:in `load'' and later only this one: premature marshal format(can''t read) (druby:/10.0.0.10:9010) /usr/lib/ruby/1.8/drb/drb.rb:580:in `load'' Do you have any ideas what that could be? We didn''t change so much re...
2005 Jan 28
17
breakpoint not working
I keep getting: No connection to breakpoint service at druby://localhost:42531 (DRb::DRbConnError) Tries to connect will be made every 3 seconds... This happens every time i run ./script/breakpointer using 0.9.5 on OSX or Windows. Any ideas?