XENON1T / pax

The XENON1T raw data processor [deprecated]
BSD 3-Clause "New" or "Revised" License
16 stars 15 forks source link

missing pmt_afterpulses config sr1.ini #636

Closed XeBoris closed 7 years ago

XeBoris commented 7 years ago

Dear all,

I ran a TPC_WIMP simulation with this command:

python mc_process.py --flavor G4 --config TPC_WIMP --events 4000 --mc-version v1.0.1 --pax-version head --sciencerun 1

It results this error message in the logfiles of the simulation:

Activate: ROOT has been sourced. Environment settings are ready.
ROOTSYS=/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_head
/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_head/lib/python3.4/site-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-li$
  warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')
/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_head/lib/python3.4/site-packages/matplotlib/font_manager.py:273: UserWarning: Matplotlib is building the font cache using fc-li$
  warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')
Traceback (most recent call last):
  File "/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_head/bin/paxer", line 4, in <module>
    __import__('pkg_resources').run_script('pax==6.8.1', 'paxer')
  File "/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_head/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 744, in run_scr$
  File "/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_head/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 1499, in run_sc$
  File "/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_head/lib/python3.4/site-packages/pax-6.8.1-py3.4.egg/EGG-INFO/scripts/paxer", line 304, in <module>
    main()
  File "/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_head/lib/python3.4/site-packages/pax-6.8.1-py3.4.egg/EGG-INFO/scripts/paxer", line 124, in main
    parallel.maybe_multiprocess(args, **config_kwargs)
  File "/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_head/lib/python3.4/site-packages/pax-6.8.1-py3.4.egg/pax/parallel.py", line 163, in maybe_multiprocess
    pax_instance = Processor(**config_kwargs)
  File "/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_head/lib/python3.4/site-packages/pax-6.8.1-py3.4.egg/pax/core.py", line 57, in __init__
    self.config = load_configuration(config_names, config_paths, config_string, config_dict, maybe_call_mongo=True)
  File "/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_head/lib/python3.4/site-packages/pax-6.8.1-py3.4.egg/pax/configuration.py", line 104, in load_configuration
    _load_file_into_configparser(config_file_thing)
  File "/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_head/lib/python3.4/site-packages/pax-6.8.1-py3.4.egg/pax/configuration.py", line 96, in _load_file_into_confi$
    _load_file_into_configparser(pfp)
  File "/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_head/lib/python3.4/site-packages/pax-6.8.1-py3.4.egg/pax/configuration.py", line 96, in _load_file_into_confi$
    _load_file_into_configparser(pfp)
  File "/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_head/lib/python3.4/site-packages/pax-6.8.1-py3.4.egg/pax/configuration.py", line 54, in _load_file_into_confi$
    raise ValueError("Configuration file %s does not exist!" % config_file)
ValueError: Configuration file /cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_head/lib/python3.4/site-packages/pax-6.8.1-py3.4.egg/pax/config/pmt_afterpulses/sr1.ini does not$

Can someone check for the correct configuration files in PAX? Thank you.

pdeperio commented 7 years ago

Last deploy failed due to some issue with CVMFS last night. Retrying now...

pdeperio commented 7 years ago

Just deployed the above fix to CVMFS, so should propagate soon.

XeBoris commented 7 years ago

Hej, Thank you for deploying. But I still see a similar error when it comes to the config files:

  warnings.warn('Matplotlib is building the font cache using fc-list. This may take a moment.')
Traceback (most recent call last):
  File "/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_head/bin/paxer", line 4, in <module>
    __import__('pkg_resources').run_script('pax==6.8.1', 'paxer')
  File "/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_head/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 744, in run_scr$
  File "/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_head/lib/python3.4/site-packages/setuptools-27.2.0-py3.4.egg/pkg_resources/__init__.py", line 1499, in run_sc$
  File "/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_head/lib/python3.4/site-packages/pax-6.8.1-py3.4.egg/EGG-INFO/scripts/paxer", line 304, in <module>
    main()
  File "/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_head/lib/python3.4/site-packages/pax-6.8.1-py3.4.egg/EGG-INFO/scripts/paxer", line 124, in main
    parallel.maybe_multiprocess(args, **config_kwargs)
  File "/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_head/lib/python3.4/site-packages/pax-6.8.1-py3.4.egg/pax/parallel.py", line 163, in maybe_multiprocess
    pax_instance = Processor(**config_kwargs)
  File "/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_head/lib/python3.4/site-packages/pax-6.8.1-py3.4.egg/pax/core.py", line 57, in __init__
    self.config = load_configuration(config_names, config_paths, config_string, config_dict, maybe_call_mongo=True)
  File "/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_head/lib/python3.4/site-packages/pax-6.8.1-py3.4.egg/pax/configuration.py", line 104, in load_configuration
    _load_file_into_configparser(config_file_thing)
  File "/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_head/lib/python3.4/site-packages/pax-6.8.1-py3.4.egg/pax/configuration.py", line 96, in _load_file_into_confi$
    _load_file_into_configparser(pfp)
  File "/cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_head/lib/python3.4/site-packages/pax-6.8.1-py3.4.egg/pax/configuration.py", line 54, in _load_file_into_confi$
    raise ValueError("Configuration file %s does not exist!" % config_file)
ValueError: Configuration file /cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_head/lib/python3.4/site-packages/pax-6.8.1-py3.4.egg/pax/config/pmt_afterpulsing.ini does not ex$

Thank you,

pdeperio commented 7 years ago

Sorry, forgot to update processing scripts accordingly, git pull your processing dir to grab https://github.com/XENON1T/processing/pull/50 and try again

weiyuehuan commented 7 years ago

It still give error after this update (?) ValueError: Configuration file /cvmfs/xenon.opensciencegrid.org/releases/anaconda/2.4/envs/pax_v6.8.1/lib/python3.4/site-packages/pax-6.8.1-py3.4.egg/pax/config/pmt_afterpulses/sr1.ini does not exist

pdeperio commented 7 years ago

please use pax_head for now until next pax release

weiyuehuan commented 7 years ago

@pdeperio @XeBoris It works with pax_head! Thanks Patrick.