Project

General

Profile

Bug #737

DAQChannelMap bug and unpacker loads MD5sum files then exists

Added by Kafka, Gene almost 10 years ago. Updated almost 9 years ago.

Status:
Rejected
Priority:
Normal
Category:
RealData
Target version:
Start date:
11 October 2011
Due date:
% Done:

0%

Estimated time:
Workflow:

Description

After trying to enable ckov spills, as directed by Yordan, and then attempting to analyze data (./bin/analyze_data_offline.py -daq_data_path 02711/ -daq_data_file 02711), I get this error:

MatPlotLib not detected - matplotlib graphing functions will not be available
Creating the equipment map ...
--- Equipment Map Dump ---
80 0x2142cda0 VLSB_C 0x2142cd10
102 0x1fbf04a0 V1290 0x21426cf0
111 0x2142b030 V830 0x2141c510
120 0x21416c30 V1724 0x21434160
121 0x214300c0 V1731 0x204e9cf0
141 0x214341e0 DBB 0x21449370
Equipment Map count : 1
Welcome to MAUS:
Process ID (PID): 29049
Program Arguments: ['./bin/analyze_data_offline.py', '-daq_data_path', '02711/', '-daq_data_file', '02711']
Version: MAUS development version 0.0.8
INPUT: Reading some input
Going to search for run 02711 data files in 02711/
Trying to add file 02711.000 from 02711/
File 02711.000 is added
Trying to add file 02711.001 from 02711/
File 02711.001 is added
Trying to add file 02711.002 from 02711/
File 02711.002 is added
Trying to add file 02711.003 from 02711/
File 02711.003 is added
Trying to add file 02711.004 from 02711/
File 02711.004 is added
Trying to add file 02711.005 from 02711/
File 02711.005 is added
Trying to add file 02711.md5 from 02711/
File size is not a multiple of 4. Fatal !
Error in DAQChannelMap::InitFromFile. Error during loading.
corrupted DAQ Channel Key
Traceback (most recent call last):
File "./bin/analyze_data_offline.py", line 33, in <module>
run()
File "./bin/analyze_data_offline.py", line 30, in run
MAUS.Go(my_input, my_map, MAUS.ReducePyDoNothing(), MAUS.OutputPyJSON())
File "/home/gkafka/maus/src/common_py/Go.py", line 93, in init
self.native_python_map_reduce()
File "/home/gkafka/maus/src/common_py/Go.py", line 117, in native_python_map_reduce
assert(self.input.birth(self.json_config_document) == True)
AssertionError


Files

DAQChannelMap.txt (18.5 KB) DAQChannelMap.txt Channel map file Karadzhov, Yordan, 12 October 2011 09:34
#1

Updated by Tunnell, Christopher almost 10 years ago

  • Category set to RealData
  • Assignee set to Karadzhov, Yordan
  • Target version set to Future MAUS release

Yordan: can you make it so the unpacker doesn't pick up .md5 files since these files are normally automatically added to the data when people download it?

Gene: do you get an error if there is no MD5 file?

#2

Updated by Kafka, Gene almost 10 years ago

Yes. I removed the .md5 file and now I get this:

MatPlotLib not detected - matplotlib graphing functions will not be available
Creating the equipment map ...
--- Equipment Map Dump ---
80 0x15be9d50 VLSB_C 0x15be9cc0
102 0x143ad4a0 V1290 0x15be3ca0
111 0x15be7fe0 V830 0x15bd94c0
120 0x15bd3be0 V1724 0x15bf1110
121 0x15bed070 V1731 0x14ca6cf0
141 0x15bf1190 DBB 0x15c06320
Equipment Map count : 1
Welcome to MAUS:
Process ID (PID): 16042
Program Arguments: ['./bin/analyze_data_offline.py', '-daq_data_path', '02711/', '-daq_data_file', '02711']
Version: MAUS development version 0.0.8
INPUT: Reading some input
Going to search for run 02711 data files in 02711/
Trying to add file 02711.000 from 02711/
File 02711.000 is added
Trying to add file 02711.001 from 02711/
File 02711.001 is added
Trying to add file 02711.002 from 02711/
File 02711.002 is added
Trying to add file 02711.003 from 02711/
File 02711.003 is added
Trying to add file 02711.004 from 02711/
File 02711.004 is added
Trying to add file 02711.005 from 02711/
File 02711.005 is added
Error in DAQChannelMap::InitFromFile. Error during loading.
corrupted DAQ Channel Key
Traceback (most recent call last):
File "./bin/analyze_data_offline.py", line 33, in <module>
run()
File "./bin/analyze_data_offline.py", line 30, in run
MAUS.Go(my_input, my_map, MAUS.ReducePyDoNothing(), MAUS.OutputPyJSON())
File "/home/gkafka/maus/src/common_py/Go.py", line 93, in init
self.native_python_map_reduce()
File "/home/gkafka/maus/src/common_py/Go.py", line 117, in native_python_map_reduce
assert(self.input.birth(self.json_config_document) == True)
AssertionError

#3

Updated by Tunnell, Christopher almost 10 years ago

Does it work for other files here?

http://www-pnp.physics.ox.ac.uk/~tunnell/ckov/

And ./run_tests.bash doesn't give you errors, right?

#4

Updated by Tunnell, Christopher almost 10 years ago

  • Subject changed from analyze_data_offline error to DAQChannelMap bug and unpacker loads MD5sum files then exists

I'm just trying to get information so Yordan can quickly diagnose the problem.

#5

Updated by Kafka, Gene almost 10 years ago

Yes. Still the same problem with run 02444.

#6

Updated by Karadzhov, Yordan almost 10 years ago

The error message is a bit ambiguous. I see two problems. First is that the unpacking is trying to add MD5sum file to the list of the data files, but this file is rejected. I definitely have to remove the word "Fatal!" from this error message.
The real problem comes in DAQChannelMap::InitFromFile when the channel map is loaded from the text file. I guess there is a typo in your version of the text file. My version of the cabling, which works fine on my laptop, is attached. Replace the file and try to run again.
Please report here the result.

#7

Updated by Kafka, Gene almost 10 years ago

Thanks Yordan. Looks like that worked.

#8

Updated by Tunnell, Christopher almost 10 years ago

To close this bug:

- Yordan: Can we make the unpacker not pick up .md5 files?
- Gene: can you put that file where it needs to be, commit it to your branch, then ask me to merge it?

#9

Updated by Rogers, Chris almost 9 years ago

  • Status changed from Open to Rejected

Also available in: Atom PDF