lucy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David E. Wheeler" <da...@justatheory.com>
Subject [lucy-user] Lock Error on Windows
Date Wed, 22 Jun 2016 06:07:17 GMT
Fellow Lucifers,

I’ve been seeing this error from PGXN::API tests running on Windows but no Linux or OS X:

Failed to obtain lock at 'locks/write.lock': CreateHardLink for new file 'E:\pgxn\pgxn-api\t\test_doc_root\_index\docs\locks\write.lock'
from 'E:\pgxn\pgxn-api\t\test_doc_root\_index\docs\locks\write.lock..3564' failed: Incorrect
function.
	LUCY_Lock_Obtain_IMP at core\Lucy\Store\Lock.c line 108
	lucy_Indexer_init at core\Lucy\Index\Indexer.c line 107
	at C:/Strawberry/perl/site/lib/Lucy.pm line 118.
	Lucy::Index::Indexer::new("Lucy::Index::Indexer", "index", "t\\test_doc_root\\_index\\docs",
"schema", Lucy::Plan::Schema=SCALAR(0x376c484), "create", 1) called at E:\pgxn\pgxn-api\lib/PGXN/API/Indexer.pm
line 149
	PGXN::API::Indexer::indexer_for(PGXN::API::Indexer=HASH(0x334b62c), "docs") called at t\indexer.t
line 836

Is this a known issue? Do I need to tweak something special for Windows in my code? The line
in question is here:

  https://github.com/pgxn/pgxn-api/blob/master/lib/PGXN/API/Indexer.pm#L149

Thanks,

David


Mime
View raw message