PDF format

Use this forum for HELP at Choral Public Domain Library as well as FEEDBACK
Locked
colladaniel
Posts: 2
Joined: 27 Feb 2010 14:19

PDF format

Post by colladaniel »

why when I press some PDF score formats ( for example: Sancte Paule Apostole by Palestrina)
the score does not open
instead a
HOST GATOR : Error 404: page not found
shows up

thank you
Daniele Colla
choralia
Site Admin
Posts: 3021
Joined: 05 Mar 2006 19:57
Location: Rome, Italy
Contact:

Re: PDF format

Post by choralia »

Thank you for notifying us about this problem.

The problem only affected few files added yesterday, that were not correctly copied from the contributor website (www.cpdl.org) to the visitor websites (www1.cpdl.org and www2.cpdl.org). Actually, only www2.cpdl.org was affected. This type of problem corrects automatically after one day, when files are copied again from the contributor website to the visitor websites. Anyway, I've re-run manually the script that alignes the websites, so the problem is now solved.

Please do not hesitate to inform us again in the case you find more files affected.

Max
carlos
Site Admin
Posts: 1899
Joined: 19 Aug 2008 15:26
Location: São Paulo, Brasil

Re: PDF format

Post by carlos »

Max, do you know if it's possible to implement, only for the /images directory, an incremental file copy to www1 and www2? This would save a lot of time and resources, besides minimizing this kind of problem reported by Daniel. But it would be worth trying it only if an out-of-the-box solution already exists (a script or program readily available).
choralia
Site Admin
Posts: 3021
Joined: 05 Mar 2006 19:57
Location: Rome, Italy
Contact:

Re: PDF format

Post by choralia »

Carlos, I prefer a full copy every day rather than an incremental copy because any problem encountered one day gets automatically fixed the day after. Instead, with incremental copies, a skipped incremental step remains skipped until the next full copy is done.

I'm rather considering the implementation of mechanism that checks what the main cloning script did, and automatically re-launches the cloning script if anything went wrong. This mechanism already exists for the back-up script (i.e., if a back-up fails, a new back-up is done one hour later), I should implement a similar mechanism for the cloning scripts too.

Max
carlos
Site Admin
Posts: 1899
Joined: 19 Aug 2008 15:26
Location: São Paulo, Brasil

Re: PDF format

Post by carlos »

OK. Perhaps you could check folder size in both source and destination directories and rerun the script if sizes are different by a certain percentage (don't know if it's doable in script language, though). Thanks for taking care of it.
Locked