Downloading Geometry from CDB error
24 June 2014
I am currently seeing an error when I try to download geometry from the CDB with the merge branch:
./bin/utilities/download_geometry.py --geometry_download_id 13 geometry.zip not a gdml or xml file - ignored FileList.txt not a gdml or xml file - ignored Step_IV.gdml Formatted Configuration File Formatted 1 of 406 Geometry Files Formatted 2 of 406 Geometry Files ... Formatted 405 of 406 Geometry Files Formatted 406 of 406 Geometry Files Format Complete Configuration File Converted Invalid expression compilation error: file /home/adobbs/maus/devel/src/common_py/geometry/xsltScripts/MMTranslation.xsl line 24 element when xsl:when : could not compile test expression ' or contains(structure/volume/materialref/@ref, 'BRASS')' Traceback (most recent call last): File "./bin/utilities/download_geometry.py", line 80, in <module> main() File "./bin/utilities/download_geometry.py", line 73, in main maus_modules.convert_to_maus(dl_dir) File "/home/adobbs/maus/devel/src/common_py/geometry/GDMLtoMAUSModule.py", line 141, in convert_to_maus step_file.parse_xslt() File "/home/adobbs/maus/devel/src/common_py/geometry/CADImport.py", line 123, in parse_xslt result = style.applyStylesheet(doc, None) AttributeError: 'NoneType' object has no attribute 'applyStylesheet'
Updated by Bayes, Ryan over 8 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
This is a known issue and I thought it had been dealt with.
The solution is to look in
src/common_py/geometry/xsltScripts/MMTranslation.xsl line 24
' or contains(structure/volume/materialref/@ref, 'BRASS')'
' contains(structure/volume/materialref/@ref, 'BRASS')'
This was raised previously in connection to
where I apologized profusely.