[EP-tech] Coversheet Plugin Help

James Kerwin jkerwin2101 at gmail.com
Wed Oct 6 12:44:35 BST 2021


CAUTION: This e-mail originated outside the University of Southampton.
Cheers John, I am going to take the dog for a quick walk and go through all you've listed. The file location of the coversheeted version is especially good, I hadn't thought of that. The indexer logs too...

I'll let you know how I get on!

Thanks,
James

On Wed, Oct 6, 2021 at 12:19 PM John Salter <J.Salter at leeds.ac.uk<mailto:J.Salter at leeds.ac.uk>> wrote:
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  https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepo.com%2F1%2F1%2Fthesis.pdf%3Fa&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C84aa2787403747252be408d988beb42b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637691176744725612%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=EDno3YQTGC2Earw1m70uc9Ew8DQ6kSddO3gaayhhYgk%3D&amp;reserved=0 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 at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk> <eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk>> on behalf of James Kerwin via Eprints-tech <eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>>
Sent: 06 October 2021 12:03
To: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk> <eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at 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<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fz_coversheet.pl%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C84aa2787403747252be408d988beb42b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637691176744725612%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=k1pTOVRXqO0utJ2lRZCM6X273m9vWrLj3ruBVkUWYH4%3D&amp;reserved=0>:

$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
openoffice-local.pl<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fopenoffice-local.pl%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C84aa2787403747252be408d988beb42b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637691176744725612%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=PRfmh4o7YZ884dOqTcHakyFIjilh0IhLsYZ74IHfTC4%3D&amp;reserved=0>

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

Thanks,
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20211006/5b2b0100/attachment.html 


More information about the Eprints-tech mailing list