EPrints Technical Mailing List Archive

Message: #08745


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] Coversheet Plugin Help


CAUTION: This e-mail originated outside the University of Southampton.
Hi James,
Here's my checklist:
  • have you restarted the indexer? (It has a copy of the EPrints config in memory, so might not be aware that it should be doing things...yet! A restart of the indexer should help).
  • are there any clues in ~/var/indexer.log?
  • what about ~/var/opennoffice.log?
  • is the OpenOffice service running?
  • Are there any AddCoversheet events in the event queue?
If I remember properly:
-items in the buffer don't normally have the coversheet applied.
-when an item is made live, the first download of the document will trigger an addition of the AddCoversheeet to the event queue
-your browser may be caching the downloaded document. Try appending a querystring  http://repo.com/1/1/thesis.pdf?a sort of thing.

You can also check the documents directories on the filesystem for thumbnails, and possibly a covered version that's not being served for some reason. The covered-sheeted version will have the same filename as the original, but be in a different 'pos' related subdirectory.

Any of that help?

Cheers,
John



From: eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of James Kerwin via Eprints-tech <eprints-tech@ecs.soton.ac.uk>
Sent: 06 October 2021 12:03
To: eprints-tech@ecs.soton.ac.uk <eprints-tech@ecs.soton.ac.uk>
Subject: [EP-tech] Coversheet Plugin Help
 
CAUTION: This e-mail originated outside the University of Southampton.
Hello everyone,

I hope we are all keeping well.

Can anybody help me with the coversheets plugin? I have installed it and the dependencies, uploaded a coversheet template, set it to active and deposited several items that should be suitable for a coversheet to be generated.

When I deposit an item (through Elements) to the repository it goes into the review and no coversheet tasks appear in the Indexer. I move it to the live archive and no coversheets appear. The item does not have a coversheet added to it.

Even if there is some way to troubleshoot this or logs I could look at to get a clue.

At the moment the sheet is set to be added to items of type "Thesis".

There were some things I noticed and have changed. First being the template couldn't be uploaded. There was no "coversheets" folder in cfg/static so I added one and it worked. Permissions fully open as it's on the test server and I'm narrowing down problems.

The next thing I changed was in z_coversheet.pl:

$c->{gs_pdf_stich_cmd} = $c->{archiveroot} . "/bin/tools/stitchPDFs ";

to:

$c->{gs_pdf_stich_cmd} = $c->{archiveroot} . "/bin/stitchPDFs ";

because that matches the actual location of  stitchPDFs.

Looking in bin I can see the following aren't set to be  allowed to be executed by any user or group:

DocumentConverter.py
remove_coversheets

I will open them up and have another attempt, but if anybody has any more guidance it will be massively appreciated.

Thanks,
James