EPrints Technical Mailing List Archive

Message: #07029


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

Re: [EP-tech] Dataset archive has no field: year


This looks to be an issue with your browse views having a field configured that doesn’t exist on your eprints.  Have a look in views.pl in your archive’s cfg/cfg.d directory.

 

Views documentation is actually really good on the wiki:

 

                https://wiki.eprints.org/w/Views.pl

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

                https://wiki.eprints.org/w/Trianing_Video:Browse_View_configuration

 

--

Adam

 

 

 

From: <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of Bartłomiej Borek <tech@bbsrv.pl>
Reply-To: <eprints-tech@ecs.soton.ac.uk>
Date: Tuesday, 12 December 2017 16:12
To: <eprints-tech@ecs.soton.ac.uk>
Subject: [EP-tech] Dataset archive has no field: year

 

I have a damaged project built on eprints software. The administrator who previously managed it has made an update from version 3.0.7 to 3.1.3. After this update, an error occurs when you try to execute the ./generate_views [archive]

return:

dataset archive has no field: year

Can't call method "get_value" on unblessed reference at /home/eprints/perl_lib/EPrints/DataObj.pm line 404.

 

./generate_abstracts [archive]

return:

Writing abstracts

dataset eprint has no field: year

Can't call method "get_value" on unblessed reference at /home/eprints/perl_lib/EPrints/DataObj.pm line 404.

 

How can I solve this? Thanks in advance.

*** EPrints community wiki: http://wiki.eprints.org/

*** EPrints developers Forum: http://forum.eprints.org/