EPrints Technical Mailing List Archive

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

Message: #07031


< 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


(Oh, maybe that!)


On 12/12/2017 16:17, Adam Field wrote:

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/

 



*** 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/
*** EPrints developers Forum: http://forum.eprints.org/

-- 
Christopher Gutteridge -- http://users.ecs.soton.ac.uk/cjg

University of Southampton Open Data Service: http://data.southampton.ac.uk/
You should read our Web & Data Innovation blog: http://blogs.ecs.soton.ac.uk/webteam/