Bug #1581
geometry download from preproduction server
0%
Description
I uploaded a new geometry to CDB, but when I tried to download I received the following error.
Traceback (most recent call last):
File "/data/neutrino02/rbayes/MICE/geo-devel/bin/utilities/download_geometry.py", line 80, in <module>
main()
File "/data/neutrino02/rbayes/MICE/geo-devel/bin/utilities/download_geometry.py", line 67, in main
zipped_geom.unzip_file()
File "/data/neutrino02/rbayes/MICE/geo-devel/src/common_py/geometry/GDMLPacker.py", line 120, in unzip_file
zfile = zipfile.ZipFile(self.input_file)
File "/data/neutrino02/rbayes/MICE/geo-devel/third_party/install/lib/python2.7/zipfile.py", line 712, in init
self._GetContents()
File "/data/neutrino02/rbayes/MICE/geo-devel/third_party/install/lib/python2.7/zipfile.py", line 746, in _GetContents
self._RealGetContents()
File "/data/neutrino02/rbayes/MICE/geo-devel/third_party/install/lib/python2.7/zipfile.py", line 761, in _RealGetContents
raise BadZipfile, "File is not a zip file"
zipfile.BadZipfile: File is not a zip file
It is a mystery why this should happen for the preproduction server, but not the production server. To my understanding the only difference is the target URL. The scripts otherwise behave the same.
Updated by Martyniak, Janusz over 8 years ago
Ryan,
Could you try to test this again, please ? I updated binary data encoding on preprod.
thanks, JM