version 1.33, 2004/11/12 10:59:26
|
version 1.34, 2004/11/12 12:34:59
|
Line 208 class ImageCollection(Folder, Persistent
|
Line 208 class ImageCollection(Folder, Persistent
|
if local: |
if local: |
sourcePath="/mpiwg/online/"+self.ImageViewerPath+"/"+id[0] |
sourcePath="/mpiwg/online/"+self.ImageViewerPath+"/"+id[0] |
targetPath=tmpPath+"/"+filename |
targetPath=tmpPath+"/"+filename |
|
try: |
shutil.copyfile(sourcePath,targetPath) |
shutil.copyfile(sourcePath,targetPath) |
|
except: |
|
if RESPONSE: |
|
RESPONSE.write(str("<p>Error in File: %s (possible missing)<br>\n"%filename)) |
|
else: |
|
"""nothing""" |
else: |
else: |
|
|
path="http://nausikaa2.rz-berlin.mpg.de/digitallibrary/servlet/Scaler/?fn="+self.ImageViewerPath+"/"+urllib.quote(id[0])+"&mo=rawfile,hires" |
path="http://nausikaa2.rz-berlin.mpg.de/digitallibrary/servlet/Scaler/?fn="+self.ImageViewerPath+"/"+urllib.quote(id[0])+"&mo=rawfile,hires" |
Line 242 class ImageCollection(Folder, Persistent
|
Line 247 class ImageCollection(Folder, Persistent
|
if local: |
if local: |
sourcePath="/mpiwg/online/"+self.ImageViewerPath+"/"+ids[nr+1] |
sourcePath="/mpiwg/online/"+self.ImageViewerPath+"/"+ids[nr+1] |
targetPath=tmpPath+"/"+filename |
targetPath=tmpPath+"/"+filename |
|
try: |
shutil.copyfile(sourcePath,targetPath) |
shutil.copyfile(sourcePath,targetPath) |
|
except: |
|
if RESPONSE: |
|
RESPONSE.write(str("<p>Error in File: %s (missing?)<br>\n"%filename)) |
|
else: |
|
"""nothing""" |
else: |
else: |
path="http://nausikaa2.rz-berlin.mpg.de/digitallibrary/servlet/Scaler/?fn="+self.ImageViewerPath+"/"+ids[nr+i]+"&mo=rawfile,hires" |
path="http://nausikaa2.rz-berlin.mpg.de/digitallibrary/servlet/Scaler/?fn="+self.ImageViewerPath+"/"+ids[nr+i]+"&mo=rawfile,hires" |
|
|