search for: dbpath

Displaying 20 results from an estimated 24 matches for "dbpath".

2014 Jan 27
4
Perl Search::Xapian
...eal with the :db DB_CREATE_OR_OPEN in perl? Been reading a lot and my understanding of perl I guess is not the best it seems, any help would be great, Thanks. ----------------snip--------------- #!/usr/bin/perl use strict; use warnings; unless ($#ARGV eq 1) { die "Usage: <cvsfile> <dbpath>\n" }; use Search::Xapian; use Tie::Handle::CSV; my $csvfile = $ARGV[0]; my $dbpath = $ARGV[1]; my $db = Search::Xapian::WritableDatabase->new( path => $dbpath, mode => "DB_CREATE_OR_OPEN", ); # setup TermGenerator that'll be used in indexing. m...
2016 Nov 11
1
How does one mark all messages as read (imap4flag "seen") with sieve?
...gt; it's a bit "rough around the edges"; the overall concept and approach > are what's important to me. > > -Ben -------------- next part -------------- #!/bin/bash # 2015-11-02 add -u to sa-learn; change delete to doveadm expunge # 2015-07-21 update executable paths and dbpath # vmail home is organized like: /home/vmail/domains/example.com/bob/Maildir MAILDIR=Maildir SPAMDIR="SystemFolders.Spam" HAMDIR="SystemFolders.Ham" VMAILHOME=/home/vmail VMAILUSER=vmail LS=/usr/bin/ls RM=/usr/bin/rm SU=/usr/bin/su FIND=/usr/bin/find DOVEADM=/usr/bin/doveadm SAL...
2016 Nov 10
2
How does one mark all messages as read (imap4flag "seen") with sieve?
I don't use the Anti-Spam plugin; I just fire off a BASH script every four hours with crontab which iterates thru the vmail email accounts and trains Spamassassin 'per-user' accounts. If the script sounds interesting I can post it here. It probably could use a little polish though. Bill On 11/9/2016 6:49 PM, Ben Johnson wrote: > On 11/5/2016 1:22 PM, Larry Rosenman wrote:
2009 Jul 24
2
redhat rpm install and quick start
I installed Xapian and Omega following the instructions for the RHEL 5 RPM package found at xapian.org. I was going to perform the quick start instructions, but there is not "omnidex" for the omindex --db DBPATH --url / WEBPATH command. The quick start also mentions running omega from usr/lib/omega/bin; however that was not created as well using the RHEL 5 RPM. Is there a walkthrough on how to configure Omega on RHEL 5, or can someone give me some direction on how to get an example search configured and ru...
2012 Nov 05
1
Dates as POSIXt
...erpolation between financial contracts with maturities on different dates in different months I have come across some behavior I haven't seen before. I have a data frame in R which is loaded from an access database so I can't provide a working example. It was loaded using this code: > dbPath <- "H:/pathToDB/DB.mdb" > channel <- odbcConnectAccess(dbPath) > DF = sqlFetch(channel,'nameOfTable') When I look at the Date column I get this result > str(DF$Date) POSIXt[1:25311], format: "2003-09-03 06:00:00" "2003-09-03 06:00:00" ... I h...
2016 Apr 30
2
R bindings for Xapian: API modifications
...ex() function. As my next task I'm planning to determine the output data structure and format of xapian_search() function. Afterwards I will focus back on xapian_index() function and review the format of valueSlots parameter. An outline of 'simple indexing' functionality: xapian_index(dbpath=??, datapath=??, idField=c(0), indexFields=NULL, stemmer=??,valueSlots=NULL, ?) dbpath: Path to a xapian database datapath: Path to a data source idField: Column number of a column in the data frame whose row value will be used as a unique identifier indexFields: A list of character vectors each c...
2019 Feb 12
3
weird RPM dependency error; '/bin/sh' needed, but is provided
...iet https://ltb-project.org/archives/openldap-ltb-2.4.47-1.el7.x86_64.rpm Now, I try to make an RPM database of these packages. The last step fails with an unmet dependency: $ sudo mount ~/CentOS-7-x86_64-Minimal-1810.iso -r -t iso9660 -o loop /mnt $ mkdir -p ~/local_rpm_db $ rpm --initdb --dbpath ~/local_rpm_db $ rpm --justdb --ignoresize --dbpath ~/local_rpm_db -Uvh /mnt/Packages/*.rpm *.rpm warning: /mnt/cdrom/Packages/acl-2.2.51-14.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY warning: berkeleydb-ltb-4.6.21.NC-4.el7.patch4.x86_64.rpm: Header V4 DSA/SHA1 Sig...
2015 Oct 07
2
Libvirt fails to build with sasl
...ut-firewalld --without-storage-scsi --without-storage-mpath --without-avahi --with-test-suite -without-dbus --without-storage-lvm --without-pm-utils 2. make 3. the error occurs Additional info: Cyrus sasl (2.1.26) is build with ./configure --prefix=/usr --sysconfdir=/etc \ --with-dbpath=/var/lib/sasl/sasldb2 \ --with-saslauthd=/var/run/saslauthd \ --with-des=no --with-rc4=no I attached the whole terminal output. Sincerely Jonatan Schlag PS.: Sorry for my bad english, i hope you could understand me.
2015 May 20
1
about use 'xapian-replicate'
...ime. I see the help ,means ,if there has searcher open the Database, then xapian-replicate will wait the searcher done. but the xapian-replicate how to know there has a searcher is using the Database. How do I open the database when I search? now I open the database like this: Xapian::Database db(dbpath); is that correct ? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20150520/16bb0189/attachment-0002.html>
2007 Dec 29
3
Term-Flags
Hi, Is it necessary to set the down below flag to the TermGenerator, if I want the "Did you mean ..." spelling corrections? Xapian::TermGenerator::flags::FLAG_SPELLING Thank you very much Markus
2012 Oct 26
1
Package RODBC sqlQueries
...taForm)="Oyster Transition Plan Site Mapping Detail"));) I get the following error message: Error in source(.trPaths[5], echo = TRUE, max.deparse.length = 150) : C:\Users\sranney\AppData\Roaming\Tinn-R\tmp\selection.r:2:32: unexpected symbol 1: db <<- odbcConnectAccess2007(paste(dbPath, dbName, sep = '')) 2: testData = sqlQuery(db, SELECT tblDataFieldRawSiteVisit. ^ Previous RODBC/SQL statements used by other coders at my firm have a single quotation mark around the SQL query, so I try that: testData = sqlQuery(db, 'SELECT tblDataFie...
2014 Aug 12
3
Re: issue when building/making package from git
...g comes to my mind : lots of pacman stuff are NOT in the usal place. $ cat /etc/pacman.conf ----------------------------------- [options] # The following paths are commented out with their default values listed. # If you wish to use different paths, uncomment and update the paths. #RootDir = / DBPath = /var/lib/pacman CacheDir = /drawer/pacman/pkg #CacheDir = /var/cache/pacman/pkg #LogFile = /var/log/pacman.log #GPGDir = /etc/pacman.d/gnupg/ HoldPkg = pacman glibc #XferCommand = /usr/bin/curl -C - -f %u > %o #XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u #...
2008 Jul 08
3
antispam plugin, amavis and sa-learn
...;m running deliver as suid, with mixed virtual and system accounts). My question is: How can I get the plugin to call sa-learn as user amavis? I have tried the following things: (1) making the amavis user's .spamassassin directory to world-writeable and handing the path to sa-learn with the --dbpath parameter. That failed - the IMAP client says "Move not allowed" when I try to move a message to or from the Spam IMAP folder. (2) making a suid copy of sa-learn with owner amavis. This failed because of an sperl error. (3) editing sudoers to allow 'sudo -u amavis sa-learn' with...
2004 Aug 12
2
Can't locate Net/LDAP.pm in @INC
...d for installing samba. BerkeleyDB ../dist/configure --prefix=/usr make make install MIT Kerberos ./configure --prefix=/usr make make install make check OpenSSL ./config --openssldir=/usr make make install Cyrus SASL cd cyrus-sasl-2.1.19 ./configure --prefix=/usr --with-dbpath=/usr/etc/sasldb2 --with-dblib=berkeley --with-bdb-libdir=/usr/lib --with-bdb-incdir=/usr/include --with-openssl=/usr --with-plugindir=/usr/lib/sasl2 make make install OpenLDAP env CPPFLAGS=”-I/usr/include” LDFLAGS=”-L/usr/lib” ./configure --prefix=/usr --libexecdir=/usr/sbin --libdir=/usr/lib --...
2016 Feb 15
3
Issues in Example code
Hi My name is Shiv and I am student at IIIT-D ( http://www.iiitd.edu.in/ ) pursuing my undergrad education in Computer Science. I am currently in my final year. I am following the Xapian Gsoc guide ( https://trac.xapian.org/wiki/GSoC%20Guide#Mentoring). I have successfully checked out and built the code. I am trying out the python codes given at (
2004 Jun 20
2
[LLVMdev] qmtest problem
...", line 922, in ExpandIds if self.HasSuite(id): File "/home/wanderer/pkg/qmtest/lib/qm/test/database.py", line 685, in HasSuite self.GetSuite(suite_id) File "/usr/home/wanderer/pkg/build/llvm/obj/test/QMTest/llvmdb.py", line 224, in GetSuite suitepath = self.dbpath + '/' + self.LabelToPath (suite_id) File "/home/wanderer/pkg/qmtest/lib/qm/extension.py", line 113, in __getattr__ raise AttributeError, name AttributeError: LabelToPath ---X8--------------- I check qmtest/lib/qm/test/database.py file for method LabelToPath and not found i...
2015 Oct 08
0
Re: Libvirt fails to build with sasl
...hout-pm-utils > > 2. make > > 3. the error occurs > > > Additional info: > > Cyrus sasl (2.1.26) is build with That is the same version we have in Fedora, which we successfully build with. > ./configure --prefix=/usr --sysconfdir=/etc \ > --with-dbpath=/var/lib/sasl/sasldb2 \ > --with-saslauthd=/var/run/saslauthd \ > --with-des=no --with-rc4=no > > I attached the whole terminal output. There was no attachment to your mail actually. Is there anything notable about the IPFire distro that you know of ? Does...
2010 Dec 01
2
Using a subclass of MatchSpy in Python bindings
...s and I haven't been able to find a solution to this. I want to subclass a MatchSpy in the Python bindings and have Enquire use it. However, when I try to do so, I get a TypeError raised. The following example illustrates this: >>> import xapian >>> database = xapian.Database(dbpath) >>> class MyMatchSpy(xapian.MatchSpy): ... def __init__(self): ... pass ... def __call__(self, *args, **kw): ... print "called with", args, kw ... >>> ms = MyMatchSpy() >>> enquire = xapian.Enquire(database) >>> enquire....
2011 Jan 17
2
DatabaseCorruptError
Hi there, My web app uses Xapian via the PHP bindings. I'm getting this error thrown occasionally when atempting to instantiate a XapianDatabase object for searching. DatabaseCorruptError: Expected block 107 to be level 1, not 0 Here's the line that invokes it: $database = new XapianDatabase(PROJROOT.'/data/xapian/posts'); And my version is xapian-core 1.2.3 with matchspy.
2014 Aug 12
2
Re: issue when building/making package from git
[This email is either empty or too large to be displayed at this time]