EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #08220


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

Re: [EP-tech] remove field that not exist


Hi Agung Prasetyo,

The likely issue is that the field 'dewey' is referenced in one of your eprint citations but is never defined (typically in your archive's cfg/cfg.d/eprint_fields.pl).  Have a look and see if it appears in one of the files in the following directory (subsitute EPRINTS_PATH and ARCHIVE_NAME as appropriate):

EPRINTS_PATH/archives/ARCHIVE_NAME/cfg/citations/eprint/

If you do, removing the reference should fix the issue.  If this is not the issue it could be that you have defined 'dewey' as a field but you have not run "epadmin update ARCHIVE_NAME" to add the field to eprint but I am pretty sure the error message indicates that the field 'dewey' is not defined but is referenced.  At this point, the best thing would just be to grep over the whole of EPRINTS_PATH/archives/ARCHIVE_NAME/cfg/ directory and see if you can find where there is a reference to 'dewey'.

Regards

David Newman

On 23/06/2020 15:52, Ajunk Pracetio via Eprints-tech wrote:
Hi,

When I running  command like epadmin or generate_static, the message always show like :
Possible attempt to put comments in qw() list at (eval 158) line 36.
Warning: field 'dewey' does not exist on dataset 'eprint'
Warning: field 'dewey' does not exist on dataset 'eprint'
Warning: field 'dewey' does not exist on dataset 'eprint'
Warning: field 'dewey' does not exist on dataset 'eprint'
Warning: field 'dewey' does not exist on dataset 'eprint'

Is there any step how to remove this notification ??

Thank you.
Agung Prasetyo

*** 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/

Virus-free. www.avg.com