[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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  https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Frepo.com%2F1%2F1%2Fthesis.pdf%3Fa&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cd92cc651a8054d0d2d0b08d988bb2a85%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637691160601396149%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=ymQuwPRj2CkBFlK2Bs6Chh5m2xTmtC2wN9vC5njIa%2BM%3D&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 <eprints-tech-bounces at ecs.soton.ac.uk> on behalf of James Kerwin via Eprints-tech <eprints-tech at ecs.soton.ac.uk>
Sent: 06 October 2021 12:03
To: eprints-tech at ecs.soton.ac.uk <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%7Cd92cc651a8054d0d2d0b08d988bb2a85%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637691160601396149%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=BzEjz1sxeDNKxSUqCTF74N%2FABoXuJgWNlhrb0ZyMzdU%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%7Cd92cc651a8054d0d2d0b08d988bb2a85%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637691160601396149%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=6io0ALuQ%2BkDPgJyXwGS5IUmhEJw8YEowenrHbwfnvXs%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/1ef383cf/attachment-0001.html