EPrints Technical Mailing List Archive

Message: #09116


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

Re: [EP-tech] Error when running command epadmin redo_thumbnails archiveID


Looking at the code I'm guessing it's this line

https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/DataObj/Document.pm#L1939

(The release version of EPrints gets some extra lines added at the top as part of the release process)

This is calling the legit function "under_construction" on a NULL variable, that appears to be the result of asking for the "parent" of a document.

This suggests to me your database is slightly muddled and has a document object that no longer has a valid assoaciated EPrint.


On 05/12/2022 02:03, Ajunk Pracetio via Eprints-tech wrote:
CAUTION: This e-mail originated outside the University of Southampton.
Hi,

Today I am running : ./bin/epadmin redo_thumbnails archiveID --verbose
and after a few minutes, screen show error : 
Can't call method "under_construction" on an undefined value at /usr/share/eprints3/bin/../perl_lib/EPrints/DataObj/Document.pm line 1928.

image.png

Is there any bug or something that makes this command error?

Thank you.

Regards,
Agung P Wibowo

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
-- 
Christopher Gutteridge, Research Application Support, University of Southampton