Error synchronizing local site

Thorsten Kampe thorsten at thorstenkampe.de
Sun Jun 14 08:52:34 EDT 2009


I've encountered and reproduced a bug in sitecopy which makes the 
synchronization process completely unreliable. I've reproduced the bug 
with sitecopy 0.16.3 on Gentoo Linux via http and ftp and with 
sitecopy 0.16.6 on Cygwin via http. The Web server is lighttpd and the 
FTP server Filezilla.

The issue is that sitecopy obviously (see below) tries to create the 
deepest folders first (which fails of course because the parent 
directories have not been created yet) and only afterwards the parent 
directories. The result is that it takes four(!) synchronization 
attempts until the two sites are actually synchronized.

Please see below the shell output which documents the session:

thorsten at tkampe% sitecopy --fetch site
sitecopy: Fetching site `site' (on nietzsche in /path/)
Checksumming file.html: [.........] done.
[...]
File: file.html - size 961
sitecopy: Fetch completed successfully.

thorsten at tkampe% sitecopy --synchronize site
sitecopy: Synchronizing site `site' (on nietzsche in /path/)
Creating Images/thumbscreen/vmware/thumbs/: failed:
No such file or directory
Creating Images/thumbscreen/thumbs/: failed:
No such file or directory
Creating Images/thumbscreen/vmware/: failed:
No such file or directory
Creating Images/thumbscreen/: failed:
No such file or directory
Creating Files/: done.
Creating Images/: done.
sitecopy: Errors occurred while synchronizing the local site.

thorsten at tkampe% sitecopy --synchronize site
sitecopy: Synchronizing site `site' (on nietzsche in /path/)
Creating Images/thumbscreen/vmware/thumbs/: failed:
No such file or directory
Creating Images/thumbscreen/thumbs/: failed:
No such file or directory
Creating Images/thumbscreen/vmware/: failed:
No such file or directory
Creating Images/thumbscreen/: done.
sitecopy: Errors occurred while synchronizing the local site.

thorsten at tkampe% sitecopy --synchronize site
sitecopy: Synchronizing site `site' (on nietzsche in /path/)
Creating Images/thumbscreen/vmware/thumbs/: failed:
No such file or directory
Creating Images/thumbscreen/thumbs/: done.
Creating Images/thumbscreen/vmware/: done.
sitecopy: Errors occurred while synchronizing the local site.

thorsten at tkampe% sitecopy --synchronize site
sitecopy: Synchronizing site `site' (on nietzsche in /path/)
[...]
sitecopy: Fetch completed successfully.


Thorsten




More information about the sitecopy mailing list