Displaying 16 results from an estimated 16 matches for "databaseopeningerror".
2015 Feb 06
2
Fwd: Waiting for Reply regarding "TestCases Failure"
...t;./runtest ./apitest
--verbose topercent2" the second time then the output is
"
Running test './apitest --verbose topercent2' under eatmydata and valgrind
Running tests with backend "none"...
Running tests with backend "inmemory"...
Running test: topercent2... DatabaseOpeningError: Couldn't detect type of
database
./apitest backend inmemory: 0 tests passed, 1 failed.
Running tests with backend "glass"...
Running test: topercent2... DatabaseOpeningError: Couldn't detect type of
database
./apitest backend glass: 0 tests passed, 1 failed.
Running tests with ba...
2015 Jan 26
2
TestCases Failure
..../runtest ./apitest --verbose topercent2
>
This command gives following output
"
Running test './apitest --verbose topercent2' under eatmydata and valgrind
Running tests with backend "none"...
Running tests with backend "inmemory"...
Running test: topercent2... DatabaseOpeningError: Couldn't detect type of
database
./apitest backend inmemory: 0 tests passed, 1 failed.
Running tests with backend "glass"...
Running test: topercent2... DatabaseOpeningError: Couldn't detect type of
database
./apitest backend glass: 0 tests passed, 1 failed.
Running tests with ba...
2015 Jan 25
2
TestCases Failure
Hi,
I am a student in Pakistan willing to contribute to Xapian.
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 test cases.
"...
make check-TESTS
make[5]: Entering directory
`/home/saad/GitProjects/xapian/build/xapian-core/tests'
Running
2015 Feb 03
2
Fwd: Waiting for Reply regarding "TestCases Failure"
.../db=apitest_simpledata:
flintlock
You ought to have a database in .chert/db=apitest_simpledata - if so,
> then checking it would be interesting (again send the output):
>
> ../bin/xapian-check .chert/db=apitest_simpledata
>
Output for the above command is "Failed to check B-tree:
DatabaseOpeningError: Couldn't open .chert/db=apitest_simpledata.DB
read/write: No such file or directory".
I am interested in applying for GSoC. I have been reading the documentation
and am willing to fix a bug before making a proposal. Early reply will be
helpful for me in this regard.
Regards,
Saad Ahme...
2011 Jun 10
2
Just starting to experiment with php
...02:28 termlist.baseB
-rwxrwxrwx 1 jwl jwl 230023168 2011-06-09 02:28 termlist.DB
-rwxrwxrwx 1 jwl jwl 581 2010-07-18 00:36 value.baseA
-rwxrwxrwx 1 jwl jwl 576 2010-07-18 00:36 value.baseB
-rwxrwxrwx 1 jwl jwl 36864000 2010-07-18 00:36 value.DB
php ex.php /data1/mail/db/cur.1 henry
DatabaseOpeningError: Couldn't detect type of database
From the ex.php file:
include "/usr/share/php/xapian.php";
if ($argc < 3) {
print "Usage: {$argv[0]} PATH_TO_DATABASE QUERY\n";
exit(1);
}
// Open the database for searching.
try {
$database = new XapianDatabase($argv[...
2015 Jan 27
2
TestCases Failure
...e exception type should be reported even
> in non-verbose mode, which it wasn't in your original log).
>
> Can you run "make remove-cached-databases" in "tests", and then try
> rerunning "./runtest ./apitest --verbose topercent2"?
>
> Same output (DatabaseOpeningError) as above when executed "make
remove-cached-databases" before "./runtest ./apitest --verbose
topercent2".
What else can be the reason for this error?
Regards,
Saad Ahmed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xapian.o...
2018 Sep 19
2
Couldn't detect type of database
I recently lost a hard drive and after successfully restoring
everything, I think, I'm getting "Error opening database `current.1':
DatabaseOpeningError: Couldn't detect type of database"
The directory current.1 contains the following files:
-rw-rw-r-- 1 jwl jwl 30064640 Aug 28 23:44 docdata.glass
-rw-rw-r-- 1 jwl jwl 151 Aug 28 23:44 iamglass
-rw-rw-r-- 1 jwl jwl 767115264 Aug 28 23:44 position.glass
-rw-rw-r-- 1 jwl jwl 38321356...
2009 Aug 17
1
Xapian DatabaseError
...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, but when i run the code as php page I receive the error message: DatabaseOpeningError: Couldn't detect type of database. The code is the same but runned in two different modality didn't work.
To test my page in local I use EasyPhp, I've loaded the php_xapian.dll extension and the problem remains. Why?
all the file and dir: search.php, search_function.inc, xapian_db are...
2008 Oct 29
1
Problem opening stub database for writing
...tabase = xapian.WritableDatabase(db_name, xapian.DB_OPEN)
However, if I have stub file at '/path/to/db/db-stub' containing the following:
flint /path/to/db/db-name
db_name = '/path/to/db/db-stub'
database = xapian.WritableDatabase(db_name, xapian.DB_OPEN)
returns the following:
DatabaseOpeningError: No flint database found at path `/path/to/db/db-stub'
I can use xapian.open_stub(db_name) but then I can't write to the database.
What's the correct way of opening a stub database for writing?
Ben.
--
www.playfire.com - now in public beta!
2011 Jul 13
1
Feature request: Determining source index of xapian-compact DatabaseError exception
...es like so:
xapian-compact -m idx1 idx2... dstidx
Errors such as:
xapian-compact: DatabaseError: Error reading block 0: got end of file
present a problem since it does not provide the offending path name (of the
broken index) for easy identification/removal in automated/batch scenarios
(the way DatabaseOpeningError:.... does, eg). The only way to id the
offending path is to step through the list and use xapian-check.
The same goes for DatabaseCorruptError and possibly others.
Since xapian-compact allows you to pass many paths on the command-line it
would be very useful to always emit the index path current...
2018 Sep 19
0
Couldn't detect type of database
On Wed, Sep 19, 2018 at 07:29:13AM -0400, Jim Lynch wrote:
> I recently lost a hard drive and after successfully restoring everything, I
> think, I'm getting "Error opening database `current.1':
> DatabaseOpeningError: Couldn't detect type of database"
>
> The directory current.1 contains the following files:
>
> -rw-rw-r-- 1 jwl jwl 30064640 Aug 28 23:44 docdata.glass
> -rw-rw-r-- 1 jwl jwl 151 Aug 28 23:44 iamglass
> -rw-rw-r-- 1 jwl jwl 767115264 Aug 28 23:44 position.glass...
2018 Sep 20
1
Couldn't detect type of database
...again.
Thanks,
Jim.
On 09/19/2018 04:23 PM, Olly Betts wrote:
> On Wed, Sep 19, 2018 at 07:29:13AM -0400, Jim Lynch wrote:
>> I recently lost a hard drive and after successfully restoring everything, I
>> think, I'm getting "Error opening database `current.1':
>> DatabaseOpeningError: Couldn't detect type of database"
>>
>> The directory current.1 contains the following files:
>>
>> -rw-rw-r-- 1 jwl jwl 30064640 Aug 28 23:44 docdata.glass
>> -rw-rw-r-- 1 jwl jwl 151 Aug 28 23:44 iamglass
>> -rw-rw-r-- 1 jwl jwl 767115264 Aug 2...
2015 Sep 11
0
xapian-core-1.0.23 compiled on Interix / Eric Lindblad
...redocids1... SKIPPED
Running test: synonymitor1... SKIPPED
Running test: termtoolong1... SKIPPED
./apitest backend inmemory: 168 tests passed, 1 failed, 8 skipped.
Running test: scaleweight1... FAILED
query1: Xapian::Query(pad:(pos=1))
Running test: collapsekey2... SKIPPED
Running test: stubdb1... DatabaseOpeningError: Bad line 1 in stub database file
`stubdb1'
./apitest backend flint: 208 tests passed, 2 failed, 1 skipped.
Running test: eliteset1... SKIPPED
Running test: eliteset2... SKIPPED
Running test: eliteset4... SKIPPED
Running test: eliteset5... SKIPPED
Running test: scaleweight1... FAILED
query1: Xa...
2015 Sep 11
1
xapian 1.0.x compiled on Interix / Eric Lindblad
...redocids1... SKIPPED
Running test: synonymitor1... SKIPPED
Running test: termtoolong1... SKIPPED
./apitest backend inmemory: 168 tests passed, 1 failed, 8 skipped.
Running test: scaleweight1... FAILED
query1: Xapian::Query(pad:(pos=1))
Running test: collapsekey2... SKIPPED
Running test: stubdb1... DatabaseOpeningError: Bad line 1 in stub database file
`stubdb1'
./apitest backend flint: 208 tests passed, 2 failed, 1 skipped.
Running test: eliteset1... SKIPPED
Running test: eliteset2... SKIPPED
Running test: eliteset4... SKIPPED
Running test: eliteset5... SKIPPED
Running test: scaleweight1... FAILED
query1: Xa...
2011 Apr 21
1
Installing Search::xapian
...ian::PostingIterator.3pm
Manifying blib/man3/Search::Xapian::PositionIterator.3pm
Manifying blib/man3/Search::Xapian::MultiValueSorter.3pm
Manifying blib/man3/Search::Xapian::FeatureUnavailableError.3pm
Manifying blib/man3/Search::Xapian::DatabaseVersionError.3pm
Manifying blib/man3/Search::Xapian::DatabaseOpeningError.3pm
Manifying blib/man3/Search::Xapian::DatabaseError.3pm
Manifying blib/man3/Search::Xapian::InvalidOperationError.3pm
Manifying blib/man3/Search::Xapian::Enquire.3pm
Manifying blib/man3/Search::Xapian::AssertionError.3pm
Manifying blib/man3/Search::Xapian::Document.3pm
Manifying blib/man3/Search:...
2004 Sep 01
1
Omega cgi question
IRIX 6.5.22, compiled omega.0.8.1 with native MIPS compiler.
omega.cgi isn't running from apache. From the log:
[Wed Sep 1 10:04:36 2004] [error] [client 198.149.32.31] malformed
header from script. Bad header=Caught unknown exception: /var/www/cgi-
bin/omega.cgi
This is with a url of http://<machine>/cgi-bin/omega.cgi?DB=/open/
When I run it from the command line with no