similar to: Error: uninitialized constant LockError

Displaying 20 results from an estimated 900 matches similar to: "Error: uninitialized constant LockError"

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
2006 Oct 13
1
uninitialized constant LockException
When I try to search a locked index, I get the exception uninitialized constant LockException: /usr/local/ruby-1.8.5/lib/ruby/gems/1.8/gems/ferret-0.10.11/lib/ferret/index.rb:383:in `[]'' /usr/local/ruby-1.8.5/lib/ruby/1.8/monitor.rb:238:in `synchronize'' /usr/local/ruby-1.8.5/lib/ruby/gems/1.8/gems/ferret-0.10.11/lib/ferret/index.rb:382:in `[]'' -- Posted
2007 Jan 11
1
Ferret Locking issues
Dave and all, I run a medium RoR app using Ferret and acts_as_ferret. I get a lot of lock errors. Not always but around 5% of all searches (aspecially during peak periods). Here are the messages I get: A NameError occurred in szukaj#index: uninitialized constant Ferret::Index::Index::LockError [RAILS_ROOT]/vendor/rails/activesupport/lib/active_support/dependencies.rb:478:in
2006 Apr 18
7
Functional test, pls help!!!!
Hi guys, recently encountered this funny problem which i really dunno wat happen... I have been trying on it for the past few days and just doesnt work.Hope you guys can give me some enlightenment. Problem: The functional test doesnt seems to be able to recognise one of my model, and when i run the test, it keeps giving me the error of"You have nil object when you don''t expect
2006 Aug 08
2
"include DRbUndumped" error
Hi, I am getting my hands on trying the cool BackgrounDrb plugin. Following various discussions and suggestsion, I included "include DRbUndumped" in my ActiveRecord model. However, the following exception occurs after I tried this and hit the page that uses this model. Does anyone know why this is so? Is it possible that an object cannot be DRbUndumped (that would mean, we
2006 Oct 24
1
Locking issues when adding to the Index
Hi, I keep getting locking errors when updating my index which puzzles me since only one process is supposed to be accessing the index at a time (at least in development mode). I''m using Ferret with Rails (NOT acts_as_ferret, though) and employed an observer to add a new document to the index when a new ActiveRecord is created. I''m not sure if this has any impact on the
2006 Dec 01
2
Ferret on Apache Installation
Hi, had my local linux box setup and ferret was working like a champ via Webrick. However, when I moved to a different linux box using Apache web server, search no worky..giving the error listed below. The site itself comes up fine. I''ve tried deleting all the dirs under /index and restarted the webserver to see if re-indexing would help, but that made matters worse. Re-indexing
2006 Apr 13
4
Apache/fastcgi setup can''t find custom config/*.yml file!
All, Apache 2/FastCGI on Linux My fastcgi config. file is set up to run the "test" RAILS_ENV. When I go to access a view associated with a particular controller, I keep getting a ENOENT (file not found) error on a custom config. file that I am attempting to load. What I can''t figure out is why it can''t find the file. Here''s the code that loads it in my
2007 Jan 10
2
Corrupt index and segfaults with heavy writes?
Hi everyone, We''re running a fairly heavily used Rails app that uses ferret (and acts_as_ferret) for search. We''re running on mongrel+Apache, Ruby 1.8.4, and ferret 0.10.13. We''re indexing a handful of attributes on our "Image" and "User" models. After the system has been running for several days, the index gradually becomes corrupted, and ferret
2006 Jul 31
0
Issues with has_many, belongs_to and dependency settings
I have 2 models SmsAddress & OutboundSmsAtom SmsAddress { has_many :other_objects, :dependency => :nullify } OutboundSmsAtom { #note this object also "belongs_to" other objects if that matters belongs_to :this_object } Whenever I try to destroy an object of type ThisObject, which at the time has 0 "children" OtherObjects I get the following type of
2007 Sep 10
2
IO errors with 2 processes
Hi All, I''m using acts as ferret and getting a lot of these errors: ---- Error occured in fs_store.c:324 - fs_open_input couldn''t create InStream /var/rails/projectblue/website/public/../config/../index/production/content_page/_347i.fdt: <No such file or directory> ---- and also some of these errors: ---- uninitialized constant Ferret::Index::Index::LockError
2007 Oct 01
10
Error with Mongrel_cluster
Hi Guys, I?m getting this error with mongrel_cluster. I am able to start mongrel through mongrel_rails start but the cluster is not working. Initially mongrel_rails wouldn?t work but after I added $ORACLE_HOME and $PD_LIBRARY_PATH variables it worked but mongrel_cluster isn?t working still. The mongrel log file looks like below. Any help is appreciated. Thanks. -----------begin
2005 May 19
0
Re: Problem with Rails and OCI8
Here''s a solution to the OCI8 problem shown below (change /usr/local/oracle to your site''s oracle): If this happens when you are running scripts at the shell prompt: export LD_LIBRARY_PATH=/usr/local/oracle/lib If this happens in your apache error_log, add to httpd.conf: SetEnv LD_LIBRARY_PATH /usr/local/oracle/lib Kevin Kleinfelter If it''s not documented,
2007 Aug 09
1
Need Help: Installing/Using xtable package
Hi all, Let me know if I need to ask this question of the bioconductor group. I used the bioconductor utility to install this package and also the CRAN package.install function. My computer crashed a week ago. Today I reinstalled all my bioconductor/R packages. One of my scripts is giving me the following error: in my script I set: library("xtable") print.xtable(.... and receive this
2007 Mar 23
7
Multiple servers for one index
Hi, I''m currently trying to set up a solution involving multiple servers using the same index over nfs. The problem is that from what I have seen, ferret doesn''t support multiple processes writing to the same index. Using a DRb service is not an option since this would create a single point of failure. I tried using Ferret::Store::FSDirectory to create a write lock on the the
2006 Aug 17
0
`const_missing'': uninitialized constant
Hi all, still the same error, when accessing my model childs on the site5 server ....(Person.infogroups.first.infoattributes, (a Person has_many infogroup which has_many info_attribute)) I double check my config and the server and it is exactly the same (except for rubygem which is for me 0.8.11). ==>>ERROR
2006 Oct 17
9
Error : End-of-File Error occured at <except.c>
Everything was working fine till last night. This morning I have many errors. I am using acts_as_ferret. Last updated around a month ago on linux. There are two different type of exceptions. I have over 12 exception emails but these are the two distince types. First exception: A EOFError occurred in home#event_info: End-of-File Error occured at <except.c>:79 in xraise Error occured in
2005 Oct 26
0
CentOS-announce Digest, Vol 8, Issue 9
Send CentOS-announce mailing list submissions to centos-announce at centos.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.centos.org/mailman/listinfo/centos-announce or, via email, send a message with subject or body 'help' to centos-announce-request at centos.org You can reach the person managing the list at centos-announce-owner at centos.org When
2006 May 27
2
NameError / active_support/dependencies
hi everyone in my dev machine, everything works flawlessly now when i uploaded my website on the server, it cannot acces User model anymore. all other pages work by the way. when i try to access User on console or by web, it shows: NameError in UsersController#signup uninitialized constant User /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:100:in
2006 Sep 12
1
Ferret on Windows?
I am trying to use SVN HEAD of Acts_as_ferret, and I have ferret 0.10.4installed from the windows Gem. Unfortuanantly, whenever I i let act_as_ferrets init.rb file require ferret, my app blows up, with weird "Invalid char" errors. I have pasted the page below. If I comment out the require ferret, the page loads. Of course, act_as_ferret does blow up. My unit tests do work fine