Merge lp:~maddevelopers/mg5amcnlo/launch_madevent into lp:~maddevelopers/mg5amcnlo/combine_070
Proposed by
Olivier Mattelaer
Status: | Merged |
---|---|
Merged at revision: | 91 |
Proposed branch: | lp:~maddevelopers/mg5amcnlo/launch_madevent |
Merge into: | lp:~maddevelopers/mg5amcnlo/combine_070 |
Diff against target: |
67 lines (+16/-1) (has conflicts) 3 files modified
madgraph/interface/cmd_interface.py (+6/-0) madgraph/interface/launch_ext_program.py (+7/-1) madgraph/iolibs/misc.py (+3/-0) Text conflict in madgraph/interface/cmd_interface.py |
To merge this branch: | bzr merge lp:~maddevelopers/mg5amcnlo/launch_madevent |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Johan Alwall (community) | Needs Fixing | ||
Review via email: mp+53434@code.launchpad.net |
Description of the change
add the launch command in order to run madevent/standalone from the mg5 command line interface.
To post a comment you must log in.
Hello Olivier,
At the moment, this doesn't seem to work at all:
mg5>launch PROC_sm_0 /bugs.launchpad .net/madgraph5 alwall/ MadGraph/ launch_ madevent/ madgraph/ interface/ extended_ cmd.py" , line 151, in onecmd onecmd( self, line) Library/ Frameworks/ Python. framework/ Versions/ 2.6/lib/ python2. 6/cmd.py" , line 219, in onecmd alwall/ MadGraph/ launch_ madevent/ madgraph/ interface/ cmd_interface. py", line 2215, in do_launch ext.MELauncher( args[1] , self.timeout, **options) alwall/ MadGraph/ launch_ madevent/ madgraph/ interface/ launch_ ext_program. py", line 177, in __init__ .__init_ _(self, running_dir, './Cards', timeout, **option) alwall/ MadGraph/ launch_ madevent/ madgraph/ interface/ launch_ ext_program. py", line 44, in __init__ found_editor( ) alwall/ MadGraph/ launch_ madevent/ madgraph/ interface/ launch_ ext_program. py", line 57, in found_editor 'EDITOR' ]: Library/ Frameworks/ Python. framework/ Versions/ 2.6/lib/ python2. 6/UserDict. py", line 22, in __getitem__
Command "launch PROC_sm_0" interrupted with error:
KeyError : 'EDITOR'
Please report this bug on https:/
Traceback (most recent call last):
File "/Users/
return cmd.Cmd.
File "/System/
return func(arg)
File "/Users/
ext_program = launch_
File "/Users/
ExtLauncher
File "/Users/
self.
File "/Users/
if os.environ[
File "/System/
raise KeyError(key)
KeyError: 'EDITOR'
Also, after this error, it's impossible to exit MG5 (except by pressing Ctrl-c)
Johan