Displaying 20 results from an estimated 300 matches similar to: "Exception when doing DRb remote calls from a BackgrounDRb worker"
2006 Nov 01
1
strange issue with backgroundrb behind apache/lighttpd
I''m getting strange data back from my worker whenever I run our rails
app with more than one dispatcher under lighttpd.
just to give some info on what the app does:
user submits data to rails app. rails app hands off data to worker,
which goes and does it''s thing, storing results in an array of
response objects (the array is an attribute of the worker). the
response object
2007 Jan 19
3
problems updating to 0.7.5.1
Hi all
I''ve upgraded the rails plugin from 0.7.5 to 0.7.5.1 (plugin/remove
rspec_on_rails followed by :
ruby script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/REL_0_7_5_1/rspec_on_rails/vendor/plugins/rspec_on_rails
I''ve also updated the rspec gem and removed the older version. I''m running
rubygems 0.9.1 on a windows box
however, when I try to run a spec
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''
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 -
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 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
2006 Dec 04
4
Question about acls
Hi,
I''m not much of a developer but I''ve been using backgroundrb for a
while now and with the release of 0.2.1 it looks like I can finally
upgrade from the old version (0.2.0 had some weird issues when jobs
just wouldn''t run, seems to have cleared up now - Thanks!).
Anyhow, while I''m doing this, I would like to tackle this problem.
Most tasks I run in
2006 Dec 25
1
Issues with 0.7.5
I installed 0.7.5 and the corresponding Rails plugin. Now it seems
that the rake command is:
rake spec:autotest
I immediately ran into several problems:
1. rspec_autotest.rb line 30 has curly quotes 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
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''
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?
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
2006 Jul 19
1
A couple of problems
Hi Ezra,
Thanks for the great work on BackgrounDRb. I have come across a
couple of problems.
1. I wanted to define a simple class in the worker file to wrap up and
pass back some data to my controller. It seems that if I create the
class either inside or outside of my worker class (in the same file)
it gets wrapper by a DRb::DRbUknown object and therefore cannot be
accessed from my controller.
2007 Nov 13
8
acts_as_ferret : cannot use a customized Analyzer (as indicated in the AdvancedUsageNotes)
Hi all,
I cannot make aaf (rev. 220) use my custom analyzer, despite following the
indications @
http://projects.jkraemer.net/acts_as_ferret/wiki/AdvancedUsage
To pinpoint the problem, I created a model + a simple analyzer with 2 stop
words : "fax" and "gsm".
test 1 : model.rebuild_index + model.find_by_contents("fax") # fax is a
stop word.
=> I get a
2006 Aug 07
2
Autostarting and job keys...
I''ve now got 5 processes auto started. But I when I query the
MiddleMan for their keys (in script/console), it doesn''t find them.
Looking at the start script, it looks like it might be creating a new
MiddleMan object for each autostart
BackgrounDRb::MiddleMan.new.new_worker(:class => entry[''class''],
Even changing it to
2006 Jul 14
4
Using BackgrounDRb to replace nested loops?
In response to my Rails Weenie post today[1], someone mentioned that
I try BackgrounDRb to help take the strain off my application.
1: http://rails.techno-weenie.net/question/2006/7/13/nested-loops-
best-way-to-send-messages-to-blog-subscribers
I''ve just tried to install and use BackgrounDRb with my app, but I''m
afraid that I''m not too versed in running processes
2006 Jan 27
5
Multiple Apps running under Lighttpd with scgi on a Windows Box ... possible?
I''ve run into a problem on one of my development machines. I''m trying to
run multiple rails apps on one dev machine that runs Windows. Problem is
that is seems that I can only run one scgi_service at a time, meaning
that only one of my apps will function at a time. Anyone know how I can
get around this, other than getting a *nix box (which I should have
soon, hopefully) ?
2006 Jan 25
7
Global Data, where can it go?
I''m developing a stateful Ruby application that needs to keep data in
one location where all people accessing the site can modify its
contents. This data will be read-from/written to often, so I would
prefer for rails to keep it in memory, rather than a database.
My frist try involved global variables. After discovering that they
were being "re-initialized" with each new
2007 Sep 02
2
submenu using vesamenu.c32 and menu.c32
Hello everyone
I'm new to using menu.c32 and vesamenu.c32. I have used the original
method of using pxelinux menus. I've read the wiki page and it speaks of
being able to create submenus by making one of my menu options reference
to (vesa)menu.c32 as the kernel and append the config file. I'm not sure
I'm doing it correctly it was a little over simplified. Any help would
be
2006 Dec 25
4
Definitive guide for upload progress
Hi
Is there some definitive guide for upload progress plugin ? We have in
this mailing list a lot of testimonials, bug reports, bug fixes, but
there are still people like me who cannot use it correctly.
Here is my config:
- mongrel 1.0RC and upload progress plugin 0.2.1
- a 6 mongrels cluster
- config/mongrel_upload_progress.conf:
uri "/",
:handler =>
2006 Feb 28
6
scgi+lighttpd+windows - why wont it work?
two problems, pls help...I''m under big pressure at work to fix this!
I''m having trouble getting scgi and lighttpd running on windows - here''s
what I did:
On Win XP, I installed ruby, rubygems, and setup my rails app. All works
fine with webrick.
I then did: gem install cmdparse and gem install highline (as required
for the scgi_rails gem according to