EPrints Technical Mailing List Archive

Message: #08881


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

Re: [EP-tech] indexcodes.txt CHECKSUM


CAUTION: This e-mail originated outside the University of Southampton.

A quick follow up is that running “epadmin rehash” on the document that this indexcodes.txt file is derived from didn’t fix the hash value.

 

Question 1: Any ideas on how I can make sure that the indexcodes file gets rehashed?

 

About the list not sending messages for a while, I received some news from the administrators that indeed, there was a temporary issue with the list which is now fixed.  As a result, some messages from the last couple of days might not have shown up in everyone’s inbox.  I am also re-sending an earlier message of mine that contains a different question:

 

Background info:

This might be useful for others, I solved the issue with a couple of REGEX:

    $filename =~ s/\x27/=0027/g;

    $filename =~ s/\x22/=0022/g;

to replace the quote and double-quote in what is returned by this function:

     file->get_value("filename")

From a digital preservation perspective, I think it is significant to note that "filename" in this object:

    https://wiki.eprints.org/w/File_Object

does not necessarily refer to the "filename" on disk.

 

Question 2: What is the function or property (is there one?) in EPrints objects that is identical to the filename of the file as it is on the filesystem?

 

 

Thanks!

Tomasz

 

 

From: Tomasz Neugebauer
Sent: March 7, 2022 11:56 AM
To: eprints-tech@ecs.soton.ac.uk
Subject: indexcodes.txt CHECKSUM

 

Hi everyone,

 

I got an unusual issue in that during export to archivematica, one deposit (out of thousands processed so far without this issue) has an incorrect checksum value stored for the indexcodes.txt file.

How can I get EPrints to re-assign/re-evaluate the indexcodes.txt checksum value?

I tried running epadmin reindex on the eprint, and a new indexcodes.txt file was generated, but the checksum value for it seems not to be updated.

Would "epadmin rehash" on the document do the trick?

 

Tomasz

 

PS.  Also, I have the impression that I'm no longer seeing messages from this list in my inbox, anyone else experiencing issues with that?