Project

General

Profile

Support #754

Unable to run simulate_mice.py after merging with the trunk

Added by Belozertseva, Anastasia over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
High
Assignee:
Tunnell, Christopher
Category:
Build System
Target version:
Start date:
20 October 2011
Due date:
% Done:

100%

Estimated time:
Workflow:

Description

I merged with the trunk earlier today. After solving all the conflicts and such, I tried to run the new version of simulate_mice.py and got the following error:

failed to import InputCppDAQData
MatPlotLib not detected - matplotlib graphing functions will not be available
failed to import ReducePyHistogramTDCADCCounts
failed to import ReducePyMatplotlibHistogram
Welcome to MAUS:
Process ID (PID): 1606
Program Arguments: ['simulate_mice.py']
Version: MAUS development version 0.0.9
INPUT: Reading some input
TRANSFORM: Setting up transformer (this can take a while...)
Traceback (most recent call last):
File "/home/penguin/maus/build/beam.py", line 190, in birth_reference_particle
self.reference = xboa.Hit.Hit.new_from_maus_object('maus_primary',
AttributeError: type object 'Hit' has no attribute 'new_from_maus_object'
Traceback (most recent call last):
File "simulate_mice.py", line 46, in <module>
run()
File "simulate_mice.py", line 43, in run
MAUS.Go(my_input, my_map, MAUS.ReducePyDoNothing(), my_output, datacards)
File "/home/penguin/maus/src/common_py/Go.py", line 141, in __init

self.pipeline_single_thread()
File "/home/penguin/maus/src/common_py/Go.py", line 165, in pipeline_single_thread
assert(self.transformer.birth(self.json_config_document) == True)
AssertionError

Not sure what is going on over here? I want to note though that the old version of simulate_mice.py runs just fine..

#1

Updated by Rogers, Chris over 10 years ago

  • Target version set to Future MAUS release

Assuming you merged but have not yet committed the merge to bzr. Do something like

bzr status

where you see a line like

M third_party/bash/XXBlah.bash

you need to run that script like

bash third_party/bash/XXBlah.bash

Do it in numerical order. If you have a problem, let me know.

#2

Updated by Rogers, Chris over 10 years ago

  • Tracker changed from Bug to Support
#3

Updated by Belozertseva, Anastasia over 10 years ago

I actually ran into a problem when I tried to run the first bash, 01python.bash I get the following error:

INFO: Source archive doesn't exist. Downloading...
--2011-10-21 00:21:06-- http://www.python.org/ftp/python/2.7/Python-2.7.tgz
Resolving www.python.org... 82.94.164.162, 2001:888:2000:d::a2
Connecting to www.python.org|82.94.164.162|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14026384 (13M) [application/x-tar]
Saving to: `/home/penguin/maus/third_party/source/Python-2.7.tgz'

100%[===========================================================================================================================================>] 14,026,384 629K/s in 23s

2011-10-21 00:21:30 (584 KB/s) - `/home/penguin/maus/third_party/source/Python-2.7.tgz' saved [14026384/14026384]

INFO: Source archive exists.

INFO: Checking MD5 checksum (otherwise the file didn't
INFO: download properly):

md5sum: Python-2.7.tgz.md5: No such file or directory
FATAL: Failed to download:
FATAL: Python-2.7.tgz.
FATAL: MD5 checksum failed.
FATAL: Try rerunning this command to redownload, or check
FATAL: internet connection

My internet connection is perfectly fine though..

#4

Updated by Tunnell, Christopher over 10 years ago

We use MD5:http://en.wikipedia.org/wiki/MD5 to ensure that the file downloaded correctly.

The missing file is:

Python-2.7.tgz.md5

Do you see it in third_party/source/

#5

Updated by Rogers, Chris over 10 years ago

  • Assignee changed from Rogers, Chris to Tunnell, Christopher
#6

Updated by Rogers, Chris over 10 years ago

  • Category changed from Simulation to Build System
#7

Updated by Belozertseva, Anastasia over 10 years ago

No.. it's not in the source folder. How should I go about downloading just that specific file?

#8

Updated by Tunnell, Christopher over 10 years ago

When you run:

bzr stat

what do you get? You can download it from here:

http://micewww.pp.rl.ac.uk/projects/maus/repository

Is this a release? Do you want to call or swing by FNAL?

#9

Updated by Tunnell, Christopher over 10 years ago

Rather: what's your phone number?

#12

Updated by Belozertseva, Anastasia over 10 years ago

I actually got to my on-campus job at noon and I will be here till 5.. so I probably won't be able to swing by fermilab today, unfortunately. I will be at the software workshop though all days next week in the afternoon (I have got class in the morning). So in the event I can't fix this over the weekend, maybe someone could help me figure this out on Monday.. I do not have my computer with me, so I will check what bzr stat gives me once I get home. Just in case, my cell is 773.632.7071

#13

Updated by Tunnell, Christopher over 10 years ago

Well, you shouldn't work over the weekend, so we can settle it at the workshop :)

If you do work over the weekend, then I'm 512 994 6284. It's probably just some small silly thing that will take 10 minutes if you know what to look for.

#14

Updated by Belozertseva, Anastasia over 10 years ago

Thanks! I will probably have to call you at some point... But in any case, I will definitely see you Monday!

#15

Updated by Tunnell, Christopher over 10 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF