Print

Print


Just an update in case this happens to someone else. Despite purging the Django cache with the Django-admin command the counts still did not update. Only after I went to the cache folder itself (specified in the settings.ini file) and deleted the files manually did things finally work again. Some of the files were lingering and didn’t purge for some odd reason. All good now. Hope this helps.
Mike

Mike Beccaria
Director of Library Services
Paul Smith’s College
7833 New York 30
Paul Smiths, NY 12970
518.327.6376
[log in to unmask]
www.paulsmiths.edu<http://www.paulsmiths.edu/>

From: Data, API, website, and code of the Chronicling America website [mailto:[log in to unmask]] On Behalf Of Chuck Henry
Sent: Monday, October 26, 2015 8:15 AM
To: [log in to unmask]
Subject: Re: Page Count Update?

We use the command: django-admin.py purge_django_cache and it updates the page count. I usually run it after every ingest.

Chuck Henry
Integrated Technologies Coordinator
Northern New York Library Network
[log in to unmask]<mailto:[log in to unmask]> :: www.nnyln.org<http://www.nnyln.org/>
Office: 315-265-1119

On Sun, Oct 25, 2015 at 10:23 PM, Michael Beccaria <[log in to unmask]<mailto:[log in to unmask]>> wrote:

I know I've tackled this before in the distant past but I can't remember how. I'm trying to update the "total_page_count" variable to reflect the most recent batch ingests on this site:

http://www.montananewspapers.org/



Can't seem to get it to work. Tried restarting apache and the server, setting the django cache to 1, apache cache to 1, tracing back the variable (index.page_count()), a few core commands, etc. It still says there are 13K pages when in fact there are 330K. What am I missing here?

Thanks,

Mike