--- ImageArchive/ImageArchive.py 2004/11/12 10:59:26 1.33 +++ ImageArchive/ImageArchive.py 2004/11/12 12:34:59 1.34 @@ -208,8 +208,13 @@ class ImageCollection(Folder, Persistent if local: sourcePath="/mpiwg/online/"+self.ImageViewerPath+"/"+id[0] targetPath=tmpPath+"/"+filename - shutil.copyfile(sourcePath,targetPath) - + try: + shutil.copyfile(sourcePath,targetPath) + except: + if RESPONSE: + RESPONSE.write(str("

Error in File: %s (possible missing)
\n"%filename)) + else: + """nothing""" else: path="http://nausikaa2.rz-berlin.mpg.de/digitallibrary/servlet/Scaler/?fn="+self.ImageViewerPath+"/"+urllib.quote(id[0])+"&mo=rawfile,hires" @@ -242,7 +247,13 @@ class ImageCollection(Folder, Persistent if local: sourcePath="/mpiwg/online/"+self.ImageViewerPath+"/"+ids[nr+1] targetPath=tmpPath+"/"+filename - shutil.copyfile(sourcePath,targetPath) + try: + shutil.copyfile(sourcePath,targetPath) + except: + if RESPONSE: + RESPONSE.write(str("

Error in File: %s (missing?)
\n"%filename)) + else: + """nothing""" else: path="http://nausikaa2.rz-berlin.mpg.de/digitallibrary/servlet/Scaler/?fn="+self.ImageViewerPath+"/"+ids[nr+i]+"&mo=rawfile,hires"