jabref icon indicating copy to clipboard operation
jabref copied to clipboard

Rebuild fulltext search index not working

Open amaxi99 opened this issue 1 year ago • 6 comments

JabRef version

Latest development branch build (please note build date below)

Operating system

macOS

Details on version and operating system

macOS 14.5 (also in Windows 11)

Checked with the latest development build (copy version output from About dialog)

  • [X] I made a backup of my libraries before testing the latest development version.
  • [X] I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

  • trigger "Rebuild fulltext search index" from the menu
  • dialog "Rebuild fulltext search index for current library?" pops up
  • confirm
  • nothing happens, no index is built (empty directory ~/Library/Application Support/jabref/lucen/99/)

Appendix

...

Log File
Paste an excerpt of your log file here

amaxi99 avatar Jun 13 '24 14:06 amaxi99

@LoayGhreeb

Siedlerchr avatar Jun 13 '24 14:06 Siedlerchr

Please start JabRef in debug mode and check the log.Maybe something useful is contained.

https://docs.jabref.org/advanced/commandline

koppor avatar Jun 13 '24 14:06 koppor

here is the debug-logfile

log_2024-06-13_17-06-23.txt

amaxi99 avatar Jun 13 '24 15:06 amaxi99

Open question: Did work for 5.13? Thus, is it a regression or was it "always" the case?

It will be fixed in https://github.com/JabRef/jabref/pull/11326, but we might need another fix for the next release. We need to evaluate.

koppor avatar Jun 17 '24 18:06 koppor

Issue https://github.com/JabRef/jabref/issues/11378 seems to contradict this one.

koppor avatar Jun 17 '24 18:06 koppor

Also happens with v5.13:

ERROR: Could not initialize the IndexWriter: org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: C:\Users\koppor\AppData\Local\org.jabref\jabref\lucene\99\35eb99eb--koppor-bibliography.bib\write.lock
        at [email protected]/org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:126)
        at [email protected]/org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:43)
        at [email protected]/org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:44)
        at [email protected]/org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:953)

koppor avatar Jun 17 '24 19:06 koppor