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

[EP-tech] Coversheet Plugin Help



Hi James,

So we are not cross purpose, please could you tell me which version of 
the coversheets plugin you are using.? Is it the one that can be 
currently downloaded from:

https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fbazaar.eprints.org%2F350%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2d107fa2ac71474cd3b008d988bb2cb1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637691159745928192%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=cylhJwFj5F2Ygc7UNlbSIITms6uyx7Upb1xG%2FscR6ZU%3D&reserved=0

If not please could you tell me where it is from.? Not having the 
cfg/static/coversheets / directory in your local archive will be a 
problem.? You will also need to copy the variously numbered 
sub-directories from you live repository.

There does seem to be some confusion on the correct location for the 
stitchPDF scripts should go according to the coversheets wiki page [1].? 
I think $c->{archiveroot} . "/bin/tools/stitchPDFs " is the more 
appropriate location.? So it is probably better to move the script that 
change the command.? I will update the wiki page to that effect.

If you reinstate the coversheets directory as describe above, 
coversheets should start being applied but also I would expect an error 
id they were not.? The other things to sort out are making sure 
OpenOffice is running.? It is possible that something may still be at 
issue that does not cause the indexer task to fail and it "succeeds" to 
quickly for you to see in the event queue.? I would look in 
EPRINTS_PATH/var/indexer.log to see if you can see anything going on?

Regards

David Newman

[1] https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2Fw%2FCoversheets&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2d107fa2ac71474cd3b008d988bb2cb1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637691159745928192%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=4u3MGDruduAz19tDVFqsDlOhRkdSvglvQRt9gyOGvqM%3D&reserved=0


On 06/10/2021 12:03, James Kerwin via Eprints-tech wrote:
> *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%7C2d107fa2ac71474cd3b008d988bb2cb1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637691159745928192%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=mHQoKGw2arfIh%2FnDdhRdZAlQvx4FE6A%2FooezpKj81po%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%7C2d107fa2ac71474cd3b008d988bb2cb1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637691159745928192%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=d3uxCPY78t1NHnSf7tJKlpeQi7ZGmCmJJRkdvfhJX1g%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
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2d107fa2ac71474cd3b008d988bb2cb1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637691159745928192%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=6Wwa%2FOzROZDwx1BKSC0iK0m2wz842KonwvlWMsCAkOU%3D&amp;reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C2d107fa2ac71474cd3b008d988bb2cb1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637691159745928192%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=YNFsuLUmQYCJV0THYPnCGd5NiqTCOqHm%2FM09pgNESPg%3D&amp;reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20211006/49f14f54/attachment-0001.html