Displaying 20 results from an estimated 800 matches similar to: "Feature request: Determining source index of xapian-compact DatabaseError exception"
2009 Aug 17
1
Xapian DatabaseError
Hi, I've a problem to integrate xapian in my web application. I've developed the code for index e for search the documents published through my application.
The app is developed in PHP. I've created a file that contain some function for search (called simpleSearch and advSearch).
The problem is that if i run the code through the IDE (Zend for Eclipse) as PHP script it work correctly,
2011 Apr 21
1
Installing Search::xapian
Sorry if this is a repost .. I have edited my query a little bit and my
previous post was too long and so was waiting approval(I cancelled it)
Ok. Another question..
I have installed the Search ::Xapian on my local machine. Now I'm trying to
install it on a machine where i dont have root access. So while running
configure of the Xapian library I gave the -prefix option and everything
installed
2012 Aug 06
1
Windows link.exe error : libbrass.lib(brass_table.obj) : unresolved external symbol _inflateEnd
Hi guys,
I discovered xapian today and I'm trying it because it looks promising
compared to other FTS engines.
However I'm in a windows environment so it's a bit painful to set up as
there is no official binaries.
I've heard about http://www.flax.co.uk/xapian_binaries
And I'm trying to build their latest release (1.2.8).
After a few tries I manage to compile everything with
2011 Oct 12
1
[LLVMdev] Problem in TwoAddressInstructionPass::runOnMachineFunction regarding subRegs
Hi,
It seems to me that the TwoAddressInstructionPass::runOnMachineFunction
method has some problems when the tied destination register has a subReg.
The two changes below improves the situation for me but I'm all new to
this so I'm not sure how it's supposed to work. I'm running on 2.9.
Any comments?
@@ -1172,12 +1172,20 @@ bool
2015 Jan 26
2
TestCases Failure
Please find my inline reply.
On 26 January 2015 at 06:56, Olly Betts <olly at survex.com> wrote:
> On Sun, Jan 25, 2015 at 06:46:26PM +0500, Saad Ahmed wrote:
> > I have been able to successfully build the code. But when I run the
> > existing testcases (to verify everthing is working fine), It says 3 out
> of
> > the six testcases fails. Here is the report of the
2011 Jan 24
2
Memory leak
Hello,
There is a memory leak in Xapian 1.2.4.
We use a persistant connection in FastCGI processes. As soon
as we catch this exception, "dmalloc" recognizes memory leaks:
The revision being read has been discarded - you should
call Xapian::Database::reopen() and retry the operation
Down below the output of "dmalloc".
This happens only on the production system. On my
2015 Feb 06
2
Fwd: Waiting for Reply regarding "TestCases Failure"
> Is that the complete output?
Yes it is the complete output against "./runtest ./apitest --verbose
topercent2"( after running make remove-cached-databases). I attached the
snapshot of the output of commands but the size of the email got bigger
than 40kb so i had to place the output as text.
If I do not run "make remove-cached-databases" and run "./runtest ./apitest
2006 Jun 26
1
Rake + SQL Server + Migrations == Errors. Help?!
Hello all,
I''m trying to initialize my migrations against a current database
implementation.
rake db:schema:dump runs without error.
The resulting schema.rb is pasted below, along with my database.yml
Can one of you point me in the direction of enlightenment?
--
------------------------------
Apple MacBook. Black. It''s the new White!
------------------------------
Peter
2006 Dec 02
1
document_id globally incrementing
Hi All
I have made my xapian indexer automatically create new indexes once it
reaches X documents in each, and for each document that I add to each
sub-index, I record its document_id and its index_id (relating to what
index the document ended up in).
writabledatabase_add_document() returns document_id:s beginning from 0
for each new index when you add new documents, like you would expect.
So
2011 Mar 21
1
Getting user session object in cucumber
Hi,
I am learning cucumber.
I have integrated the Devise with my rails 3 application.
My problem is I have to write a test which will create a project.
For that I have to make sure that user should be logged in. So I have
written the user login feature first which is working fine. After that I
have written the creation of project scenario. Whenever I am running
that scenario we are getting an
2007 Feb 05
1
Deploying with capistrano issue. Resolution !
ok, i was wrong. the failure on deployment using capistrano is 100%
using these commands
## Our Handlers
desc "Restart BackgrounDrb"
task :restart_uploader, :roles => :app do
run "#{current_path}/script/backgroundrb stop"
run "#{current_path}/script/backgroundrb start"
end
here is the console post deploy on the remote server
########
[current]$
2006 Aug 24
5
Unable to start with Capistrano...
I''ve created a couple of tasks in my deploy.rb file for starting and
stopping backgroundrb on the remote server. The stop task runs fine
and kills the process. And the start task *seems* to run successfully,
but backgroundrb is never started on the remote host.
Has anyone had success with this? Here are my deploy tasks:
desc ''Start backgroundrb server (default
2018 Jul 12
1
Error while compacting: Bad position key
Mike Hommey <mh at glandium.org> writes:
> Hi,
>
> When running `notmuch compact` today, it stopped with the following
> output:
>
> Compacting database...
> compacting table postlist
> Reduced by 25% 648656K (2498904K -> 1850248K)
> compacting table docdata
> Reduced by 15% 24K (152K -> 128K)
> compacting table termlist
> Reduced by
2018 Apr 29
1
Database corruption after clean rebuild
Hi notmuch developers,
I also had this database corruption, I waited for the fix to land
in notmuch 0.26.2, build it, moved the xapian directory away, did
a notmuch new and restored the tags from a dump. But the problem
remains:
~$ xapian-check ~/Mail/.notmuch/xapian
docdata:
blocksize=8K items=10841 firstunused=75 revision=82 levels=1 root=2
B-tree checked okay
docdata table structure checked
2006 Jun 16
15
Mongrel_rails restart and sudo
Sorry for the newbie question but I''m stumped:
I have an app that requires sudo to run mongrel_rails. For my capistrano
recipe is do it like this:
sudo "mongrel_rails start -e production -p #{application_port} -d -c
#{current_path}"
Which works famously.
Now I have tried several things for my restart task. Here they are:
sudo "cd #{current_path} && sudo
2009 Jul 31
6
Background daemon
It''s sending e-mail every hour, but I changed to sleep for a day, but
keep send the e-mail by hour. I don''t know what to do to send daily.
Could somebody help me?
thanks
############
# mailer.rb
###############
#!/usr/bin/env ruby
# You might want to change this
ENV["RAILS_ENV"] ||= "production"
require File.dirname(__FILE__) +
2006 Apr 03
2
Capistrano - how do I set up the database config?
My app is set up without database.yml in version control. I created a
shared_path/config dir, and put database.yml in it. After I update
the code, I want to link the app''s database.yml file to the shared
config. So I added this task
desc ''Copy the database config''
task :after_update_code, :roles => :app do
run "ln -s #{shared_path}/config/database.yml
2006 Apr 21
9
Capistrano, OS X
If you installed your copy of ruby via DarwinPorts, the hashbang lines
at the top of your dispatch.* scripts says "#!/opt/local/bin/ruby". This
is a problem, if you''re deployin via Capistrano to a host with a
different path to ruby (which would be practially all of them:-)
Here''s a fix. Add this "fix_hashbangs.rb" script to your script
directory.
2011 Jun 10
2
Just starting to experiment with php
I took one of the examples and tried to run against my database
ls -l /data1/mail/db/cur.1
total 1129624
-rw-r--r-- 1 jwl jwl 0 2011-06-09 02:27 flintlock
-rw-r--r-- 1 jwl jwl 28 2011-06-09 02:27 iamchert
-rwxrwxrwx 1 jwl jwl 7258 2011-06-09 02:27 position.baseA
-rwxrwxrwx 1 jwl jwl 7046 2011-06-09 02:27 position.baseB
-rwxrwxrwx 1 jwl jwl 474226688 2011-06-09 02:28
2007 Feb 05
3
Deploying to production with backgroundrb (capistrano)
I have noticed that occasionally (about 50% of the time) when i
deploy (using capistrano) my app to a production server, i have to
ssh into the box and manually
stop and start backgroundrb to get it to load my workers.
this is my basic setup
i have 2 workers:
lib/workers/mp3_worker.rb => takes a hash of params to downsample an
mp3
lib/workers/flv_worker.rb => takes a has of