Problem 1849

Summary: Data files are not compressed
Product: Geant4 Reporter: Mojca Miklavec <mojca.miklavec.lists>
Component: cmakeAssignee: Gunter.Folger
Status: CLOSED FIXED    
Severity: trivial CC: guanfada
Priority: P5    
Version: 10.2   
Hardware: All   
OS: All   

Description Mojca Miklavec 2016-03-29 22:15:04 CEST
(I'm sorry, I picked the wrong component, but there is no good alternative.)

The following two files don't seem to be compressed:

http://geant4.cern.ch/support/source/G4RadioactiveDecay.4.3.1.tar.gz
http://geant4.cern.ch/support/source/G4ENSDFSTATE.1.2.1.tar.gz

Usually running "tar xvzf filename.tar.gz" runs just fine, but our package manager has problems:

/usr/bin/gzip -dc '/path/to/G4ENSDFSTATE.1.2.1.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - 
gzip: /path/to/G4ENSDFSTATE.1.2.1.tar.gz: not in gzip format
Comment 1 Gabriele Cosmo 2016-04-11 14:26:46 CEST
*** Problem 1854 has been marked as a duplicate of this problem. ***
Comment 2 Gunter.Folger 2016-04-12 12:57:56 CEST
Hello,

Correctly compressed files are available. These are:

http://geant4.cern.ch/support/source/G4RadioactiveDecay.4.4.tar.gz
http://geant4.cern.ch/support/source/G4ENSDFSTATE.1.2.2.tar.gz

Both files only differ in packing, not in content, except README or History files.

Gunter
Comment 3 Mojca Miklavec 2016-04-12 13:41:38 CEST
This is still causing me problems because the installer now expects G4ENSDFSTATE1.2.2. That folder is now missing and the installation fails.

(Just to make it clear: I'm packaging Geant4 for MacPorts, so in principle I have full control and can create a patch that will rename folder if really needed, but it is a bit annoying that one single data file out of so many needs a special treatment.)
Comment 4 Gunter.Folger 2016-04-12 13:58:29 CEST
Hello,

I could create yet another version, 1.2.3, which then also contains data in the correct directory?

The current file 1.2.2 was solving the problem for one LHC experiment here at CERN. 

Gunter
Comment 5 Fada Guan 2016-04-12 21:33:26 CEST
Hello!
Thanks for fixing the files. 
However, the issue is not completely solved.
now if I download the 
http://geant4.cern.ch/support/source/G4RadioactiveDecay.4.4.tar.gz
http://geant4.cern.ch/support/source/G4ENSDFSTATE.1.2.2.tar.gz

the unzipped folder name will be:
G4RadioactiveDecay4.4
and
G4ENSDFSTATE1.2.1

but the geant4 installer will require G4RadioactiveDecay4.3.1
I had to rename G4RadioactiveDecay4.4 to 4.3.1 to let installer find it correctly.

Can you update the geant4 download page and also update the installer so that both can work fine.

http://geant4.web.cern.ch/geant4/support/download.shtml

Thanks so much!

FG
Comment 6 Fada Guan 2016-05-27 20:20:21 CEST
These two files in Geant4 download page are still not updated and the problems exist for all users.

please help!

Thanks!

FG
Comment 7 Mojca Miklavec 2016-06-12 21:21:25 CEST
There is another problem. The version numbers 4.3.1 and 1.2.1 are apparently hardcoded in geant4make/geant4make.sh.
Comment 8 Gunter.Folger 2016-09-06 12:19:03 CEST
The Patch-02 for Geant4 10.2 has correct datafiles with correct version number in CMake.

Gunter