EPrints Technical Mailing List Archive

Message: #05610


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

Re: [EP-tech] Problems with view generation: EPrints System Error


The way I would approach this is with an automatic value. In eprint_fields_automatic, set a value in a new field.  That value would be multiple and would contain 'A-D' ('E-H', etc) for each author's family name.  You then have a multi-field browse view that goes to this new field first, then to author's family name.  You may also need to copy the family names with the letters in that range into another new field to support this.

See:

--
Adam

On 26 Apr 2016, at 07:48, Verena Mattes <verena.mattes@ub.uni-bayreuth.de> wrote:

Hi Alan and Adam,

Thanks for your suggestions. We are running EPrints 3.3.11 and the free
space on our hard disk is not a problem. I checked with a colleague and
he confirmed my guess that the problem is caused by the number of files
in the directory, obviously the maximum number was reached last week and
no further files can be created.
Does anybody have a quick idea on how to divide files for one view, the
person view, to different directories? Would it be possible to define
different views for groups of letters, e.g. A-D or something like that?

Thanks!

Verena



Date: Mon, 25 Apr 2016 10:58:47 +0000
From: Adam Field <Adam.Field@jisc.ac.uk>
Subject: Re: [EP-tech] Problems with view generation: EPrints System
Error
To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
Message-ID: <3D933692-5E6D-4B33-9499-1DD23E2B4C62@jisc.ac.uk">3D933692-5E6D-4B33-9499-1DD23E2B4C62@jisc.ac.uk>
Content-Type: text/plain; charset="utf-8"

What specific version of EPrints are you running?  What is line 1550 of /usr/share/eprints3/perl_lib/EPrints/Update/Views.pm

Also, silly question, but how much free space do you have on your hard disk?

[Jisc]<http://www.jisc.ac.uk/>

Adam Field
SHERPA services analyst developer


From: <eprints-tech-bounces@ecs.soton.ac.uk<mailto:eprints-tech-bounces@ecs.soton.ac.uk>> on behalf of Verena Mattes <verena.mattes@ub.uni-bayreuth.de<mailto:verena.mattes@ub.uni-bayreuth.de>>
Reply-To: "eprints-tech@ecs.soton.ac.uk<mailto:eprints-tech@ecs.soton.ac.uk>" <eprints-tech@ecs.soton.ac.uk<mailto:eprints-tech@ecs.soton.ac.uk>>
Date: Monday, 25 April 2016 09:51
To: "eprints-tech@ecs.soton.ac.uk<mailto:eprints-tech@ecs.soton.ac.uk>" <eprints-tech@ecs.soton.ac.uk<mailto:eprints-tech@ecs.soton.ac.uk>>
Subject: [EP-tech] Problems with view generation: EPrints System Error

Hello,

since last week, we've had problems with the view generation for our
author/person view. These problems specifically concern the views for
new author names, which are not generated, while the views for already
existing author names are updated.

For each author name concerned, there is an entry in the apache error log:

Error writing to /usr/share/eprints3/archives/ubt_eref/html/de/view/person/Kaiser=3AMario=3A=3A.export: File too large
------------------------------------------------------------------
  at /usr/share/eprints3/perl_lib/EPrints/Update/Views.pm line 1550
         EPrints::Update::Views::output_files('EPrints::Repository=HASH(0x7fb0663688d0)', '/usr/share/eprints3/archives/ubt_eref/html/de/view/person/Kai...', 'XML::LibXML::DocumentFragment=SCALAR(0x7fb06a7e5938)', '/usr/share/eprints3/archives/ubt_eref/html/de/view/person/Kai...', 'XML::LibXML::Element=SCALAR(0x7fb06a45f160)', '/usr/share/eprints3/archives/ubt_eref/html/de/view/person/Kai...', 'XML::LibXML::DocumentFragment=SCALAR(0x7fb06a7e5938)', '/usr/share/eprints3/archives/ubt_eref/html/de/view/person/Kai...', 'XML::LibXML::DocumentFragment=SCALAR(0x7fb06a668aa8)', ...) called at /usr/share/eprints3/perl_lib/EPrints/Update/Views.pm line 935
         EPrints::Update::Views::update_view_list('EPrints::Repository=HASH(0x7fb0663688d0)', '/usr/share/eprints3/archives/ubt_eref/html/de/view/person/Kai...', 'de', 'EPrints::Update::Views=HASH(0x7fb06a6863f0)', 'ARRAY(0x7fb064b78c70)') called at /usr/share/eprints3/perl_lib/EPrints/Update/Views.pm line 259
         EPrints::Update::Views::update_view_file('EPrints::Repository=HASH(0x7fb0663688d0)', 'de', '/view/person/Kaiser=3AMario=3A=3A.html', '/view/person/Kaiser=3AMario=3A=3A.html') called at /usr/share/eprints3/perl_lib/EPrints/Apache/Rewrite.pm line 513
         EPrints::Apache::Rewrite::handler('Apache2::RequestRec=SCALAR(0x7fb06a471710)') called at -e line 0
         eval {...} called at -e line 0

In this specific case, the author's name is linked to only 2 EPrints
entries, so it is unlikely that this file would be particularly large.

Does anybody have an idea concerning this? I would appreciate any help.

Thanks!

Verena

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



Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.

Jisc Services Limited is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under company number 2881024, VAT number GB 197 0632 86. The registered office is: One Castle Park, Tower Hill, Bristol BS2 0JA. T 0203 697 5800.