Project

General

Profile

Bug #1581

geometry download from preproduction server

Added by Bayes, Ryan over 7 years ago. Updated about 7 years ago.

Status:
Open
Priority:
Normal
Category:
Server
Start date:
01 November 2014
Due date:
% Done:

0%

Estimated time:
2.00 h

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.

#1

Updated by Martyniak, Janusz about 7 years ago

Ryan,
Could you try to test this again, please ? I updated binary data encoding on preprod.

thanks, JM

#2

Updated by Martyniak, Janusz about 7 years ago

  • Estimated time set to 2.00 h
#3

Updated by Bayes, Ryan about 7 years ago

I tested it yesterday and it now works quite well.

Also available in: Atom PDF