EPrints Technical Mailing List Archive
Message: #08915
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] ask about undefined phrases and plugins not found
- To: <eprints-tech@ecs.soton.ac.uk>, Ajunk Pracetio <prazetyo@gmail.com>
- Subject: Re: [EP-tech] ask about undefined phrases and plugins not found
- From: David R Newman <drn@ecs.soton.ac.uk>
- Date: Thu, 31 Mar 2022 13:02:51 +0100
Hi Agung PW,
The missing phrase should not cause a major problem you might just see an "Undefined phrase" placeholder on some IRStats2 pages. Looking at the latest versions of the IRStats2 plugin in the Bazaar, I can see the phrase is missing and this is a minor bug in the code, which should be fixed. I can also see that the Stats::View::SetDesc is not present in any of the versions of IRStats2 on the Bazaar and I have checked the whole Git repository and this file has never been tracked in IRStats2. Looking through the old Subversion logs for IRStats2 (i.e. alpha development), I can see that the file:
cfg/plugins/EPrints/Plugin/Stats/View/SetDesc.pm
was removed in November 2012. It looks like the code that references it was not updated at the same time and this has never got spotted. However, I can see that some _javascript_ calls /cgi/stats/set_finder which apparently requires SetDesc. However, looking at the code for this CGI script I cannot immediately understand why. This will take more investigation. Is there a specific problem on the IRStats2 web pages you are trying to debug or did you just spot this error and wondered what was causing it. I don't really have much to do with IRStats2 development, so I cannot really give you any indication on when this might be fixed.
Regards
David Newman
CAUTION: This e-mail originated outside the University of Southampton.Hi,
I'd like to ask about an error warning at my var/log/apache2/error.log like below :
SQL IS 'SELECT `rendered_set_value` FROM `irstats2_cache_set_values` WHERE `set_name` = 'eprint' AND `set_value` = '2260''
SQL IS 'SELECT `rendered_set_value` FROM `irstats2_cache_set_values` WHERE `set_name` = 'eprint' AND `set_value` = '2260''
SQL IS 'SELECT SUM( `count` ) FROM `irstats2_cache_downloads` WHERE `eprintid` = 2260 ORDER BY SUM(`irstats2_cache_downloads`.`count`) DESC'
Undefined phrase: Plugin/Stats/View/KeyFigures:hits (en) at line 396 in /usr/share/eprints3/perl_lib/EPrints/Plugin.pm
SQL IS 'SELECT SUM( `count` ) FROM `irstats2_cache_views` WHERE `eprintid` = 2260 ORDER BY SUM(`irstats2_cache_views`.`count`) DESC'
SQL IS 'SELECT `rendered_set_value` FROM `irstats2_cache_set_values` WHERE `set_name` = 'eprint' AND `set_value` = '2677''
SQL IS 'SELECT `rendered_set_value` FROM `irstats2_cache_set_values` WHERE `set_name` = 'eprint' AND `set_value` = '2677''
Plugin 'Stats::View::SetDesc' not found.
Is there any step that I can clearn this error from my error.log? About plugins Stats::View::SetDesc. is it a clue to install it?
Thank you
Regards,Agung PW
*** 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/
- References:
- [EP-tech] ask about undefined phrases and plugins not found
- From: Ajunk Pracetio <prazetyo@gmail.com>
- [EP-tech] ask about undefined phrases and plugins not found
- Prev by Date: [EP-tech] Ask about undefined phrases and plugins not found
- Next by Date: [EP-tech] FW: Unable to Deposit to EPrints
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):