EPrints Technical Mailing List Archive

Message: #07030


< 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


Hmm. What you have here is some configuration expecting the field year to exist.

It's most likely in cfg.d/eprint_render.pl or something in citations/eprint/

I'd start by looking for "year" in those and removing or commented out any reference to the field.

A more quick and dirty solution would be to add a year field.

On 12/12/2017 16:12, Bartłomiej Borek wrote:
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.
*** 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/