EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #02051
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: IRStats2 Beta
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: IRStats2 Beta
- From: Jose Martin <J.Martin@ulcc.ac.uk>
- Date: Tue, 25 Jun 2013 14:47:51 +0000
Hi Seb, 1- Yes, I did restart Apache 2- The <epc:pin ref="head"/> is in place. I am using a template inside a theme, but that should not interfere, I guess. 3- Yes, it is, but when loading the cgi/stats/report page a Dumper($pins) outputs: $VAR1 = { 'head' => bless( do{\(my $o = '47743427226608')}, 'XML::LibXML::DocumentFragment' ), 'page' => bless( do{\(my $o = '47743215127744')}, 'XML::LibXML::DocumentFragment' ), 'languages' => bless( do{\(my $o = '47743427226496')}, 'XML::LibXML::DocumentFragment' ), 'title' => bless( do{\(my $o = '47743215188816')}, 'XML::LibXML::DocumentFragment' ), 'login_status' => bless( do{\(my $o = '47743427161872')}, 'XML::LibXML::Element' ) }; so it seems to never get into the if block that writes the IRStats2 scripts. Any other useful debugging that might help? My pleasure testing IRStats 2... It looks great! Thanks, Jose -----Original Message----- From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Sebastien Francois Sent: 25 June 2013 15:33 To: eprints-tech@ecs.soton.ac.uk Subject: [EP-tech] Re: IRStats2 Beta Hi Jose, A few pointers: 1- did you restart Apache? this is necessary for the trigger to be loaded 2- in your template file(s) (usually under archives/<id>/cfg/lang/en/templates), do you have the following line: <epc:pin ref="head"/> in your <head> section? That "pin" was added in 3.3 but may be missing on some repositories upgraded from older EPrints version. 3- is the trigger called by EPrints? You could for instance add a "print STDERR" debug message inside the trigger to see if it's properly called. Thanks to everyone for testing IRStats2, I will be updating the code/writing a FAQ soon to tackle those issues. Kind regards, Seb. On 25/06/13 15:14, Jose Martin wrote: > Hi Seb, > > I have installed IRStats2 on a 3.3.10 and it does not show the Charts (keeps displaying the "Loading..." image). > > I used the irstats2-0.0.3.epm package and upgraded Prototype to 1.7.1 applying https://github.com/eprints/eprints/commit/f7a9088aae29b8732cb5d8edd83d17e94f069e63 > > The browser reports no network or console errors, although I have noticed that it does not request "jsapi" from Google as does http://files.eprints.org/cgi/stats/report. This looks like should be triggered in z_irstats2.pl, but does not seem to happen. Any ideas? > > BTW, irstats2-0.0.3.epm did not include the images/irstats2/datepicker folder. > > Thanks, > > Jose > > > -----Original Message----- > From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Sebastien Francois > Sent: 30 May 2013 16:18 > To: eprints-tech@ecs.soton.ac.uk > Subject: [EP-tech] IRStats2 Beta > > Hi all, > > I have added IRStats2 to the eprints GitHub so you may now download and use/test it. > > EPrints 3.3 users may use the bazaar package available from there: > https://github.com/eprints/irstats2/blob/master/epm/irstats2-0.0.2.epm > (note that it's not yet live on the Bazaar-store). Even so you can install the package easily this way, you still need to run a script to process the stats. That is not yet automated. > > EPrints 3.2 users will have to copy files by hand, it's pretty straight-forward and the INSTALL file contains some instructions. > > It's not quite the final/stable release yet but it has been thoroughly tested on a few "real" repositories and it's unlikely to break a repository anyway. > > I hope you'll enjoy, please contribute (ideas / comments / bugs etc) directly to me or to GitHub. > > Seb. > > PS: yes, it can run in parallel to IRStats1. > *** 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/ > > *** 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/ *** 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/
- Follow-Ups:
- [EP-tech] Re: IRStats2 Beta
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: IRStats2 Beta
- References:
- [EP-tech] IRStats2 Beta
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: IRStats2 Beta
- From: Jose Martin <J.Martin@ulcc.ac.uk>
- [EP-tech] Re: IRStats2 Beta
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] IRStats2 Beta
- Prev by Date: [EP-tech] Re: IRStats2 Beta
- Next by Date: [EP-tech] Re: IRStats2 Beta
- Previous by thread: [EP-tech] Re: IRStats2 Beta
- Next by thread: [EP-tech] Re: IRStats2 Beta
- Index(es):