similar to: how to enable debugging

Displaying 20 results from an estimated 900 matches similar to: "how to enable debugging"

2009 Jul 23
1
tcp deamon and remote connection
Hi, I'm trying to use xapian from php script with TCP daemon. I started TCP daemon: xapian-tcpsrv --port 5050 --writable /path-to-db When I trying to get access to it within my php-script with remote_open_writable("localhost", 5050) or remote_open("localhost", 5050) apache fails with signal 11: dev kernel: pid 35923 (httpd), uid 80: exited on signal 11 TCP demon also
2006 Feb 08
1
xapian-tcpsrv very slow
Hi, I have been looking at xapian for a project and have so far been very impressed. I have hit one major problem the final architecture requires that the web server be a deferent machine from the server that xapian is installed on. With my test code using local database ($db_path = "/var/xapain_db/default"; $db = new_database($db_path);) a query takes around 0.012 seconds on
2012 Nov 14
4
xapian-replicate errors
Hi, While trying to setup xapian replication (initially for backup purposes), I'm encountering some errors. Our "fresh" index starts replication, and ends up with an index size that matches the replication master (4.5GB), but then throws : "Getting update for fresh from fresh xapian-replicate: NetworkError: Unable to fully synchronise: Database changing too fast" I
2006 May 20
2
xapian-tcpsrv need to reopen database?
Hi, I'm adapting the omega (in a Python way ;) to do search across multiple remotes database, for now, I have only one xapian-tcpsrc running, but I have documents being inserted at the same time, so (like I have readed in others e-mails) the xapian-tcpsrc throw the following message: Connection from 192.168.0.101, port 64161 Got exception DatabaseModifiedError: The revision being read has
2011 Sep 27
1
Rails 3.1 assets path for video player Flash script 'player.swf'
I was using a Flash video player within a previous Rails version app Moving to Rails 3.1.0 , I dob''t know where I should put the script ... I tried to move it into an app asset sub-directory assets - jwplayer - - player.swf but this raises an error "NetworkError: 406 Not Acceptable - http://localhost:3000/assets/jwplayer/player.swf" player.swf the flash script is given as a
2007 Aug 23
1
Login-Problem with DFS-Share
Hallo, I want to use several DFS-Shares from a M$-Server trough my Samba-Server (3.0.20b-3.21-1370-SUSE on an OpenSchoolServer). I've created symlinks in /export/dfsroot like: lrwxrwxrwx 1 root root 19 2007-05-04 08:06 agbhome -> msdfs:172.18.160.10 lrwxrwxrwx 1 root root 20 2007-03-28 09:36 home -> msdfs:172.18.160.10\ lrwxrwxrwx 1 root root 43 2007-02-04 11:44 lehrer ->
2018 Jun 09
1
output debug information of LOGCALL_CTOR/LOGCALL_VOID/...
On 9 Jun 2018, at 07:37, 张少华 <xiangqianzsh at 163.com> wrote: > Many functions in xapian can be traced when they are called using LOGCALL_CTOR/LOGCALL_VOID/... and I want to output the debug information. In xapian-core/HACKING in the source code there's a section on this. As well as pass --enable-log to configure, you also need to: * set XAPIAN_DEBUG_LOG to be the path to a file
2010 Mar 19
2
xapian-tcpsrv php in real fastcgi loop
Hello, i'm fresh new to xapian (and impressed.. fast, faster, xapian). And so i have a problem with no solution at the moment. I have a webapp based on php5 in a special fastcgi loop environment (thus there are some loops spawned handling multiple requests so there is no need for php to recreate classes and Objects all the time). I implemented a xapian wrapper class to access a remote
2010 Sep 01
1
DatabaseLockError: REMOTE: unable to get write lock
Hi, I'm using xapian(1.2.2) python interface to connect remote xapian-tcpserv daemon. I'm starting the daemon as given below: xapian-tcpsrv --port 9100 --interface 127.0.0.1 --writable ./xapiandb/ and in script.py: import xapian as xa db = xa.remote_open_writable('localhost', 9100) # other stuff # ... script is a long running program, and when i try to run
2007 Oct 27
2
Remote database search issues
Hi all. First, a note about remote database connection over Perl. We actually found an easy way to work around the unwrapped Renote::open issue.. We use a stub file. You might say that open_stub in also not wrapped.. which is true... HOWEVER... looking at the code, we realized that Database::open() opts to using stub_open if the argument is a string pointing to a stub file rather than a
2006 Oct 19
1
Writing with xapian-tcpsrv and php
Hi, I think, there is missing constructor function supporting remote writing for XapianWritableDatabase class in the php bindings (0.9.7). This code: $db = new XapianWritableDatabase(remote_open($db_host, $db_port), $action); returns: Fatal error: No matching function for overloaded 'new_XapianWritableDatabase' (...) $db = new XapianWritableDatabase($path, $action); works fine.
2020 Mar 22
0
Unable to build RPM for Centos 7
Hi, we are an email hosting provider and we are looking at xapian to improve our user experience about email search. So we staring to build xapian 1.4.15 on Centos 7 with your xapian-core.spec and move it and the source code in /root/rpmbuild/SPECS and SOURCE, but we have this error after run "rpmbuild -ba": [...] Elaborazione file: xapian-core-devel-1.4.15-1.x86_64 errore: File
2015 Apr 01
1
Remote protocol abstracted
I have been working in the abstraction of the remote protocol to separate it from the server and the connection. The purpose of this is I need to use the Xapian remote protocol in a server we are working on (named Xapiand: https://github.com/Kronuz/Xapiand) which is similar to some extent to the `xapian-tcpsrv` in that it also serves databases remotely through TCP, using the binary protocol. What
2016 Dec 12
1
testing
If the subject of xapian-core apitests on MSYS/MINGW and MSYS2/MINGW is taken up it might be noted that the compiler version could be recorded, probably gcc 5.3.0 or newer, that closed pipes might be an issue, and also allocating for the location of xapian-tcpsrv. Not from my own tests but another man informed there was some problems with [MSYS2] python bindings. I am not knowledgeable of the
2007 Mar 29
2
Re: [Xapian-commits] 7990: trunk/xapian-core/ trunk/xapian-core/bin/ trunk/xapian-core/tests/harness/
On Thu, Mar 29, 2007 at 03:39:01PM +0100, richard wrote: > bin/xapian-tcpsrv.cc,tests/harness/testsuite.cc: First of many > parts of a large patch from Mark Hammond working towards enabling > remote databases on windows. When displaying errors which might > be socket errors, display the error number as well as the output > of strerror - on windows, strerror doesn't display
2006 Mar 27
4
Remote databases and daemons
I've looked over the docs on remote backends, the protocol, and a bit of the c++ for doing distributed and remote searches. I've got a couple of questions: * The remote protocol is usable only as a Database, not as a WriteableDatabase -- is this correct? So, if I don't want my application to have a copy of the database on the same machine I'll need to write an indexer daemon on
2009 Jun 23
1
Indexing more than 15 billion documents
Hi, Sorry to follow up on an old thread, but I am wondering if there has been any work done on, or interest in, increasing the maximum document id beyond a 32bit limit? Daniel On Mon, Jun 18, 2007 at 04:11:54AM +0100, Olly Betts wrote: > > In particular, there is currently a limit of 4 billion documents in a > > database, due to using a 32 bit type for document IDs, but I don't
2007 Feb 07
0
ftss project (was: The dificult of develop an "Solr-like" to Xapian)
Hi all, I'm (still) need(ing) something like Solr[1] to Xapian, to make it I have 2 options, extend xapian-tcpsrv or re-implement ftss project[2], the problem of ftss is that it is 5 years old, and there's lots of changes into Xapian library (and also libc), what is the best way to implement a Solr-like server to Xapian? Did you done some progress Philip Neustrom? [1] -
2016 Jul 09
0
Xapian 1.4.0 released
The issue is that delve was renamed to xapian-delve but documentation is still saying that delve is delve. Who has access to update the documentation? http://www.linuxfromscratch.org/blfs/view/svn/general/xapian.html Installed Programs: copydatabase, delve, quest, simpleexpand, simpleindex, simplesearch, xapian-check, xapian-chert-update, xapian-compact, xapian-config, xapian-inspect,
2013 Mar 05
1
Remote database & local database, and adding new weight found vtable error
Hello, guys. Q1. now I have load all the docid and its document data into a dictionary for faster loading data instead of calling Xapian::MSetIterator i; i.get_document().get_data(); but I was happened to discover that the dictionaries got by such two method were different: both methods use DB1, DB2 method 1: Xapian::Database db = Xapian::Database(the path of DB1); Xapian::Database db2 =