EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #10107
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Fwd: Errors running generate_views and generate_abstracts
- To: <eprints-tech@ecs.soton.ac.uk>, "kralizeck@gmail.com" <kralizeck@gmail.com>
- Subject: Re: [EP-tech] Fwd: Errors running generate_views and generate_abstracts
- From: David R Newman <drn@ecs.soton.ac.uk>
- Date: Sun, 4 May 2025 18:14:27 +0100
Hi Fernando,
The fact you have a multi-langugage repository is probably not the issue. The generate_views is that you have an old version of the phrase Update/Views:up_a_level, likely under your archive (i.e. EPRINTS_PATH/archives/ARCHIVE_ID/cfg/lang/en/phrases/). I cannot be what sure in which file this phrase will be, possibly zz_webcfg.xml but otherwise use (the Unix command) grep to find it. I expect the phrase line you will find its like:
<epp:phrase id="Update/Views:up_a_level"><div class="no_link_decor"><epc:pin name="url"><img src="" alt="[up]" border='0' /> Up a level</epc:pin></div></epp:phrase>
This needs to be replaced with three separate phrases:
<epp:phrase id="Update/Views:up_a_level"> Up a level</epp:phrase>
<epp:phrase id="Update/Views:up_a_level_alt">[up]</epp:phrase>
<epp:phrase id="Update/Views:up_a_level_src">/style/images/multi_up.png</epp:phrase>
I think the generate_abstracts issue is due to having removed a browse view for divisions but not a 'browse_link' reference to this in the divisions field, most likely in the archive's cfg/cfg.d/eprint_fields.pl. If it is not under this file, similarly use grep to find incidences of 'browse_link' specifically, the one for 'divisions'.
Regards
David Newman
On 04/05/2025 6:33 am,
kralizeck@gmail.com wrote:
CAUTION: This e-mail originated outside the University of Southampton.CAUTION: This e-mail originated outside the University of Southampton.Hello.
I have EPrints 3.4.6 on the latest AlmaLinux and Apache. I upgraded from EPrints 3.3.12 on a very old Ubuntu.
Everything seems to work fine but when running generate_views and generate_abstracts via daily cron it get the same message hundreds of times:
- In generate_views myid
CROND[108159]: (eprints) CMDOUT (missing parameter ‘url’ when making phrase ‘Update/Views:up_a_level’)
- In generate_abstracts myid
CROND[106480]: (eprints) CMDOUT (browse_link to view ‘divisions’ not found for field ‘divisions’)I'm looking for information about these errors but no luck so far.My site is in english and spanish.
I would appreciate any help or recommendations on how to resolve them.
Thanks and best regards.
Fernando Hdez.
*** Options: https://wiki.eprints.org/w/Eprints-tech_Mailing_List *** Archive: https://www.eprints.org/tech.php/ *** EPrints community wiki: https://wiki.eprints.org/
- Follow-Ups:
- Re: [EP-tech] Fwd: Errors running generate_views and generate_abstracts
- From: "kralizeck@gmail.com" <kralizeck@gmail.com>
- Re: [EP-tech] Fwd: Errors running generate_views and generate_abstracts
- References:
- [EP-tech] Fwd: Errors running generate_views and generate_abstracts
- From: "kralizeck@gmail.com" <kralizeck@gmail.com>
- [EP-tech] Fwd: Errors running generate_views and generate_abstracts
- Prev by Date: [EP-tech] "Search the Archive" doesn't work?
- Next by Date: Re: [EP-tech] Fwd: Errors running generate_views and generate_abstracts
- Previous by thread: [EP-tech] Fwd: Errors running generate_views and generate_abstracts
- Next by thread: Re: [EP-tech] Fwd: Errors running generate_views and generate_abstracts
- Index(es):