Page 1 of 1

PDF format

Posted: 27 Feb 2010 14:26
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

Re: PDF format

Posted: 27 Feb 2010 14:59
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

Re: PDF format

Posted: 27 Feb 2010 16:58
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).

Re: PDF format

Posted: 27 Feb 2010 17:32
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

Re: PDF format

Posted: 27 Feb 2010 18:05
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.