Project

General

Profile

Bug #1230

example programme load_root_file.py fails to run in new release when not connected to the network

Added by Kyberd, Paul over 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
bin(aries)
Target version:
Start date:
28 February 2013
Due date:
% Done:

100%

Estimated time:
Workflow:
New Issue

Description

when running the load_root_file.py example the error messages below appear if the computer is not
connected to the network. The problem also occurs on the simulate_mice.py example even when the
geometry does not include the TOF. It also appears in the older version, although I am sure I have
run the older code on the train without this problem. Is this expected or is there a work round

PIPELINE: Get event, TRANSFORM, MERGE, OUTPUT, repeat
HINT: MAUS will process 1 event only at first...
WARNING : The first event is not a START_OF_RUN. Spill count and Event count not accurate.
MERGE: Setting up merger
TRANSFORM: Setting up transformer
Traceback (most recent call last):
File "/home/paul/research/maus/src/common_py/ErrorHandler.py", line 162, in HandleCppException
raise CppError(error_message)
ErrorHandler.CppError: Failed to parse argument TOF1 at GetCabling::get_cabling
Missing an end_of_run spill...
...creating one to flush the mergers!
Written 1 event(s) to file.
TRANSFORM: Shutting down transformer
MERGE: Shutting down merger
Written 1 event(s) to file.
INPUT: Shutting down inputer
Written 1 event(s) to file.
Written 1 event(s) to file.
OUTPUT: Shutting down outputer
Clearing Globals
Traceback (most recent call last):
File "/home/paul/research/maus/bin/analyze_data_offline.py", line 44, in <module>
run()
File "/home/paul/research/maus/bin/analyze_data_offline.py", line 41, in run
MAUS.Go(my_input, my_map, MAUS.ReducePyDoNothing(), MAUS.OutputCppRoot())
File "/home/paul/research/maus/src/common_py/Go.py", line 131, in init
self.get_job_footer())
File "/home/paul/research/maus/src/common_py/framework/single_thread.py", line 95, in execute
self.process_event(event)
File "/home/paul/research/maus/src/common_py/framework/single_thread.py", line 137, in process_event
self.start_of_run(current_run_number)
File "/home/paul/research/maus/src/common_py/framework/single_thread.py", line 158, in start_of_run
assert(birth True or birth None)
AssertionError
Loading ROOT file /home/paul/research/maus/tmp/example_load_root_file.root
Setting up data tree
Getting some data
Found spill number -1 in run number 0 DAQ event type physics_event
W

Also available in: Atom PDF