EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #09289
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] IRstats2 "origin of downloads"
- To: David R Newman <drn@ecs.soton.ac.uk>, "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] IRstats2 "origin of downloads"
- From: Tomasz Neugebauer <Tomasz.Neugebauer@concordia.ca>
- Date: Fri, 21 Apr 2023 16:27:21 +0000
CAUTION: This e-mail originated outside the University of Southampton.
Hi David, Thank you. I can confirm that this was the source of the issue for our repository. The combination that I had was “open” but no local “lib” version of the GeoIP.dat
file, just a global one. That resulted in “open” 1, which failed during process_stats without throwing an error that I could catch. The code as is in the plugin now fails when there is a “lib” GeoIP.dat file, as it would try to do “new” with the lib path,
which fails. Your updated code below looks like it would actually work in all cases – would be a good idea to push that to the code. Now that I fixed it on our repo, and I can confirm that origin data is once again getting added to the tables, the inevitable question is: could I get process_stats
to reprocess just a portion of the dataset, for example, everything after January 1, 2022? Even better, could I get process_stats to reprocess everything after a certain date, but only modify the country of origin data? Or are the only two options 1) to
regenerate everything (in our case, more than 10 years worth of stats) 2) leave the missing country of origin data missing for 2022? Tomasz From: David R Newman <drn@ecs.soton.ac.uk>
Attention This email originates from outside the concordia.ca domain. // Ce courriel provient de l'extérieur du domaine de concordia.ca Hi Tomasz, On 20/04/2023 11:23 pm, David R Newman via Eprints-tech wrote:
|
- Follow-Ups:
- Re: [EP-tech] IRstats2 "origin of downloads"
- From: Tomasz Neugebauer <Tomasz.Neugebauer@concordia.ca>
- Re: [EP-tech] IRstats2 "origin of downloads"
- References:
- [EP-tech] IRstats2 "origin of downloads"
- From: Tomasz Neugebauer <Tomasz.Neugebauer@concordia.ca>
- Re: [EP-tech] IRstats2 "origin of downloads"
- From: Tomasz Neugebauer <Tomasz.Neugebauer@concordia.ca>
- Re: [EP-tech] IRstats2 "origin of downloads"
- From: Tomasz Neugebauer <Tomasz.Neugebauer@concordia.ca>
- Re: [EP-tech] IRstats2 "origin of downloads"
- From: David R Newman <drn@ecs.soton.ac.uk>
- Re: [EP-tech] IRstats2 "origin of downloads"
- From: Tomasz Neugebauer <Tomasz.Neugebauer@concordia.ca>
- [EP-tech] IRstats2 "origin of downloads"
- Prev by Date: Re: [EP-tech] IRstats2 "origin of downloads"
- Next by Date: Re: [EP-tech] Eprints SMPT configuration Error with Office 365
- Previous by thread: [EP-tech] EPrints/CRIS
- Next by thread: [EP-tech] DOI handling in orcid_support_advance
- Index(es):