EPrints Technical Mailing List Archive

Message: #04058


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Indexing issue


Hello!

We’ve got a bit of an issue with our search indexing which, after some digging, seems to be related to a specific record. Dumping a log of the —verbose index to a file, the offending entry seems to be throwing the following error:

Error: PDF file is damaged - attempting to reconstruct xref table...

Error opening /tmp/ep-convertc4Azo/index.txt: No such file or directory at /usr/share/eprints3/perl_lib/EPrints/Plugin/Convert/IndexCodes.pm line 57.

The issue seems to be that once the indexer hits this record it bails out and doesn’t index records after this, meaning that some users have items which do not show up when a search is conducted based on their user number – as this is used in conjunction with the JSON output on a search to populate our local staff directory with academics research outputs, it’s causing us some issues internally and also concerning us that the EPrints search index is incomplete.

We’ve removed the PDF that appears to be causing the problem but it is potentially cached as it still comes up with the error; we’ve tried putting the record as “retired” and will look tomorrow to see if that does anything, however if anyone has encountered this before or has a potentially better suggestion, let me know!

Cheers!
Andrew

The University of Lincoln, located in the heart of the city of Lincoln, has established an international reputation based on high student satisfaction, excellent graduate employment and world-class research.

The information in this e-mail and any attachments may be confidential. If you have received this email in error please notify the sender immediately and remove it from your system. Do not disclose the contents to another person or take copies.

Email is not secure and may contain viruses. The University of Lincoln makes every effort to ensure email is sent without viruses, but cannot guarantee this and recommends recipients take appropriate precautions.

The University may monitor email traffic data and content in accordance with its policies and English law. Further information can be found at: http://www.lincoln.ac.uk/legal.