Project

General

Profile

Bug #1170

maus-0.4.0 fails to run simulate_mice.py and analyze_data_offline.py when compiled from Tarfile.

Added by Taylor, Ian about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
common_py
Target version:
Start date:
14 November 2012
Due date:
% Done:

100%

Estimated time:
Workflow:
New Issue

Description

This has been tracked to file src/common_py/Go.py, which is looking for:

$MAUS_ROOT_DIR/.bzr/branch/branch.conf
and
$MAUS_ROOT_DIR/.bzr/branch/last-revision

It produces the following error when they are not found:

Traceback (most recent call last):
File "./bin/analyze_data_offline.py", line 41, in <module>
run()
File "./bin/analyze_data_offline.py", line 38, in run
MAUS.Go(my_input, my_map, MAUS.ReducePyDoNothing(), MAUS.OutputCppRoot())
File "/home/itaylor/MICE/MAUS/maus-0.4.0/src/common_py/Go.py", line 130, in init
executor.execute(self.get_job_header(json_config_dictionary),
File "/home/itaylor/MICE/MAUS/maus-0.4.0/src/common_py/Go.py", line 191, in get_job_header
bzr_conf_file = open(os.path.join(bzr_dir, 'branch.conf'))
IOError: [Errno 2] No such file or directory: '/home/itaylor/MICE/MAUS/maus-0.4.0/.bzr/branch/branch.conf'

I've assigned the bug to Chris Rogers, as my limited understanding of how to track down changes in launch-pad has suggested him as the most likely author of the new code.

Ian

#1

Updated by Rogers, Chris about 11 years ago

  • Category set to common_py
  • Target version set to Future MAUS release

Sorry my fault. I thought I checked for that, apparently not.

#2

Updated by Rogers, Chris about 11 years ago

Fixed in r852

Nb: I tested it on my laptop, we don't test this in Jenkins anywhere - so this will not be checked as a regression, which is unfortunate.

#3

Updated by Rogers, Chris about 11 years ago

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

Updated by Rogers, Chris about 11 years ago

  • Target version changed from Future MAUS release to MAUS-v0.4.1

Also available in: Atom PDF