[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] Error when running command epadmin redo_thumbnails archiveID
- Subject: [EP-tech] Error when running command epadmin redo_thumbnails archiveID
- From: totl at soton.ac.uk (Christopher Gutteridge)
- Date: Mon, 5 Dec 2022 09:06:59 +0000
- In-reply-to: <CACOEPmONjfhvdEKkc7B=rdxhLi0GX7bzi4hv_nyYu_ZFH8U3pQ@mail.gmail.com>
- References: <CACOEPmONjfhvdEKkc7B=rdxhLi0GX7bzi4hv_nyYu_ZFH8U3pQ@mail.gmail.com> <CACOEPmONjfhvdEKkc7B=rdxhLi0GX7bzi4hv_nyYu_ZFH8U3pQ@mail.gmail.com> <ab3d1d87-235a-0e24-4182-581733cfd8ac@soton.ac.uk>
Looking at the code I'm guessing it's this line
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprints%2Feprints%2Fblob%2F3.3%2Fperl_lib%2FEPrints%2FDataObj%2FDocument.pm%23L1939&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cbdd01a4af3a7455f1dbf08dad6a01493%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638058280273055920%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=I8hcPrZUvLyomzgxdWCBQOR%2FDpZMFcvZnlVr4PVlduU%3D&reserved=0
(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:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cbdd01a4af3a7455f1dbf08dad6a01493%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638058280273055920%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=h2%2BKO2Nszd6ymTYvoMu5gUqoiiWHy8V4Fd3ZPaVk7is%3D&reserved=0
> *** EPrints community wiki:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=05%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cbdd01a4af3a7455f1dbf08dad6a01493%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C638058280273055920%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=x5Q6XNXOY49uxuojdhDBkjYD%2FTwDkCfLetr6XNC3xHc%3D&reserved=0
--
Christopher Gutteridge, Research Application Support, University of Southampton
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20221205/a2d9f51a/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 72360 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20221205/a2d9f51a/attachment-0001.png